Hi!

> > - because it is not easy and fast to migrate and if you do it you have to
> > redo the local repository, if you are alone working on the repository it is
> > not a big problem while if you are many it can create inconveniences
>
> IMO this is the real hurdle.
> Migrating thousands (in the case of pkg-perl) repos both remote/on
> salsa and locally (for dozens of team members) is not trivial, and
> AFAIK noone so far has come up with working tooling.

I wrote and rewrote this script a couple of times in past two months:
https://salsa.debian.org/debian/devscripts/-/blob/main/scripts/dep-14-convert-git-branch-names.sh

It's not exactly ideal yet, but it does the job. The name is a bit
stupid, and it only outputs the commands it recommends users to run,
it does not actually execute them (yet). In hindsight it became a bit
more complex than what makes sense for a shell script. Simon also
pointed out that the way the `salsa` script (that this uses) stores
API keys in plain-text isn't exactly ideal for security.

Jeremy: You mentioned Debian team is migrating branches. Perhaps you
can test this and collaborate on polishing it?

In general, if anybody wants to take a stab to improve it, feel free
to add me as reviewer in MRs targeting this script.

- Otto

PS. Props to Johannes SMR for reviewing and testing the script in past months!

Reply via email to