Re: How to switch to DEP14 automatically for > 1000 existing repositories
On Fri, 11 Sep 2020, Andreas Tille wrote:
> My guess is that the Salsa API provides means to script everything. Is
> there any existing script that supports this or is there any volunteer
> to write it. I would start migrating Debian Med, Debian Science and
> R packaging team repositories once gbp also switched to DEP14.
The "salsa" command line tool can help. In pkg-security we have script
to apply our defaut configuration and it can rename a branch and update
HEAD.
See bin/update-repos and salsa-pkg-security.conf in
https://salsa.debian.org/pkg-security-team/pkg-security-team
Changing upstream to upstream/latest is likely not doable in a single
step however you have to go trough some intermediary branch.
(We have not followed DEP-14 in that regard yet)
Cheers,
--
⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hertzog@debian.org>
⣾⠁⢠⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS
Reply to: