Re: New GitLab-Salsa service and Debian-Science Team
Hi Sebastien,
thanks for an excellent tip! I have updated my migration-script
to create these pre-receive-hook.
I will then start to migrate projects now to escape mixing migration
state between salsa and alioth. This is non-invasive, so if somebody
is against of it - it can easily be reverted.
Best regards
Anton
2018-01-06 12:33 GMT+01:00 Sébastien Villemot <sebastien@debian.org>:
> On Fri, Jan 05, 2018 at 10:23:27PM +0100, Anton Gladky wrote:
>
>> it looks that the problem with the URL-redirect from the anonscm to salsa
>> is resolved [1]. I am going to start the bulk-migration of repos, placed in
>> the folder /git/debian-science/packages/ on git.debian.org (currently 985!)
>> soon. Of course the URL-redirection rules will be generated immediately.
>
> Thanks for doing this!
>
>> Also I propose to move the migrated repos into the folder
>> /git/debian-science/packages/MigratedToSalsa/ on alioth
>> to escape the confusing situation with two working repos.
>
> Instead of moving them, the right solution seems to lock them, using hooks,
> preventing any further push.
>
> See /git/pkg-postgresql/postgresql-common.git/hooks/pre-receive on alioth for
> an example of such a lock.
>
> --
> ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
> ⣾⠁⢠⠒⠀⣿⡁ Debian Developer
> ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name
> ⠈⠳⣄⠀⠀⠀⠀ http://www.debian.org
Reply to: