On Mon, Mar 25, 2024 at 9:05 AM Daan De Meyer <daan.j.demeyer@gmail.com> wrote:
Looks like it propagated to code.opensuse.org though: https://code.opensuse.org/package/systemd/commits/master
The issue with code.opensuse.org is that it is backed by pagure which does not seem to support git's "advertised references" feature causing "git clone https://github.com/systemd/systemd.git --no-tags --depth 1 --recurse-submodules --shallow-submodules" to fail with the following error when the submodule does not track the latest commit on the systemd master branch on code.opensuse.org:
""" error: Server does not allow request for unadvertised object 37aca188c2ef606319217b30ff8b0c66df6c60f1 fatal: Fetched in submodule path 'pkg/opensuse', but it did not contain 37aca188c2ef606319217b30ff8b0c66df6c60f1. Direct fetching of that commit failed. """
We don't do anything special here, our repositories are exposed through pygit2, which is backed by libgit2. If there's some configuration we need to be doing for this, please tell us in an upstream pagure ticket: https://pagure.io/pagure -- 真実はいつも一つ!/ Always, there's only one truth!