Please allow Merge Requests at https://salsa.debian.org/dpkg-team/dpkg
so that it is easier for others to contribute to the package.
These repos are just mirrors (I've updated the repo descriptions there
now), like the ones on Codeberg, where stuff gets «git push --mirror»'ed into them. So enabling MR could cause accidental diverging history which would be messy, and given how --mirror works and how I think GitLab
tracks MRs, my assumption has been that those MR branches would be
deleted on mirror push anyway.
It would also spread where to look for changes, currently already
the BTS and the mailing list.
So, thanks for the request, but I think I'm going to decline it.
Well dpkg already has multiple repos, and they are being kept in sync,
by having a main instance and then replicas! I think doing this
automatically without a merge-based workflow, for multiple pushers,
would either be racy, or not possible at all w/o making a mess of it.
Under no situation would a sync of the mirror overwrite the Merge
Requests. If I for example file a Merge Request at https://salsa.debian.org/dpkg-team/dpkg from a source branch in my own fork, there is no way for you to overwrite that merge request branch.
Your own fork should indeed be safe from overwrites, but that was not
my point :), AFAIUI GitLab based forges store MRs against that project
as refs under the refs/nerge-requests hierarchy, that's why you can
fetch them remotely by adding something like this in your local tree
under .git/config:
[remote "some-name"]
url = git@gitlab-url:repo/repo.git
fetch = +refs/heads/*:refs/remotes/some-name/*
fetch = +refs/merge-requests/*/head:refs/remotes/some-name/mr/*
Then when you fetch, you'll see the MRs as those branches for that
remote. A «git push --mirror» will forcibly add, update or delete
remote branches to match the local (on the git server) bare repo, and
my assumption has always been that this would remove those refs, but
perhaps GitLab protects them someway and does not let you remove them
even by force, or when mirroring. TBH have never bother to test that,
but I think that's a bit besides the point as I mentioned.
One of the concerns is that this spreads this information for the
project, so that others will have a harder time seeing where things
are happening, and stores that information in a place where it will
be harder to extract (once, not if) Salsa goes away. With git being
primary hosting site, and there that makes perfect sense. Although
GitLab or GitHub review capabilities are not very ideal compared to
either mail based workflows or even Gerrit. Salsa is also very slow,
which is quite frustrating.
But in any case, just to wrap up, this is not about not knowing how
these forges work, or their potential advantages, etc. I'm open to
reconsider this in general, and I've also been pondering for a while
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 147:05:47 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,724 |