On 26/08/25 at 09:33 +0200, Simon Josefsson wrote:
> Are your scripts to do these mass-commits available somewhere?
> 
> I've often wanted to apply the same kind of fix to many packages at the
> same time, but I mentally queue them and apply them when updating a
> particular package once it is time to work on that package.  This can
> take months to complete, and probably leads to mistakes.

Yes

the main script to migrate a given project to DEP-14 is
https://salsa.debian.org/ruby-team/meta/-/blob/master/dep14-migrate?ref_type=heads

there's another script to add a branch rule to protect *master*:
https://salsa.debian.org/ruby-team/meta/-/blob/master/dep14-protect-branches?ref_type=heads

As the source for packages to process, I use UDD's Salsa dashboard:
https://udd.debian.org/salsa/
There's a JSON export so it's easy to process it and identify candidate
packages based on their default branch, other branches, debian/gbp.conf,
etc.

Other than the issue with Salsa CI load, everything went smoothly when
migrating around 1200 packages.

The mailing list discussion, for context:
https://lists.debian.org/debian-ruby/2025/08/msg00019.html

Both scripts should be largely applicable to other teams, and I can help
if needed.

Lucas

Reply via email to