Allow request for unadvertised objects in our git repos?
For our CI in GStreamer we start by creating a manifest with hashes of the exact branches/commits we want, so that we can make reproducible builds, but currently if the user force pushes on the server, leading to a reference not beeing available in a branch/tag, we get the following issue when fetching:
git fetch https://gitlab.freedesktop.org/linussn/gst-plugins-base.git 5a2d3ba71f99dcaf9bfb2663fb6e1289499d7425
error: Server does not allow request for unadvertised object 5a2d3ba71f99dcaf9bfb2663fb6e1289499d7425
Example: https://gitlab.freedesktop.org/linussn/gst-plugins-good/-/jobs/43908
This will lead to random failure, and build not actually being reproducible, it would be nice if we could change the git config to allow fetching any ref, advertised or not.