Hi,

> > > While I'd love to see all packages on Salsa
> >
> > I think that being able to host the primary git repository of packages
> > elsewhere is a freedom worth maintaining for many reasons.
>
> No, I don't think this is a good idea, and at my first thought, I
> personally don't see any practical reasons.
>
> You can always keep _another_ copy on another git repository, either by
> client-side push to both salsa and your server, or by making salsa push
> automatically to your server - your choice. But having the main
> repository on Salsa for all packages gives tremendous advantages.

Yes, exactly: The fact that Debian wants to have your packages on
salsa.debian.org is a huge enabler for collaboration. At the same time
it does not really remove anything from you.

Thanks to how git works as a distributed version control system, you
can still host your code in parallel elsewhere.

For an example of this check out
https://salsa.debian.org/debian/debcraft with mirrors at
https://gitlab.com/ottok/debcraft and
https://github.com/ottok/debcraft. Salsa is the "authorative" place
referenced by the package Vcs-Git field, but there are mirrors on
GitLab and GitHub, and I have recieved Merge Requests and Pull
Requests on all three platforms. It is almost no extra work for having
this. I get an email for MR/PR posted anywhere, so there is just one
inbox for me to monitor.

Once I merge a contribution somewhere I just pull it to my laptop and
the next git push will sync it to all other repos without me having to
do any extra work. As you can see all of them have the same git HEAD
at 7bd51c1d.

For reference, my local checkout has this config:

± git remote -v
origin g...@salsa.debian.org:debian/debcraft.git (fetch)
origin g...@salsa.debian.org:debian/debcraft.git (push)
origin g...@gitlab.com:ottok/debcraft.git (push)
origin g...@github.com:ottok/debcraft.git (push)
otto g...@salsa.debian.org:otto/debcraft.git (fetch)
otto g...@salsa.debian.org:otto/debcraft.git (push)
otto g...@gitlab.com:ottok/debcraft.git (push)
otto g...@github.com:ottok/debcraft.git (push)
otto g...@git.sr.ht:~ottok/debcraft (push)

Reply via email to