On 03/10/2021 09:27, Achim Gratz wrote:
Jon Turney writes:
I think it's a scallywag bug that it doesn't currently checkout
packaging repository submodules, so let me try to fix that.

Doesn't seem to work:

--8<---------------cut here---------------start------------->8---
Submodule 'fedora' (https://src.fedoraproject.org/rpms/ca-certificates.git) 
registered for path 'fedora'
Cloning into '/cygdrive/c/projects/ca-certificates/fedora'...
error: Server does not allow request for unadvertised object 
00da4d0e2ad60757fe0901ae01a4423a31140bed
fatal: Fetched in submodule path 'fedora', but it did not contain 
00da4d0e2ad60757fe0901ae01a4423a31140bed. Direct fetching of that commit failed.
scallywag: something went wrong cloning the package repo
--8<---------------cut here---------------end--------------->8---


Yeah, I did say 'try' because shallow cloning submodules is somewhat fraught, but I think I have it right now...

I notice in passing that commit is a couple of years old and belongs to an EOL'ed Fedora version, so you might want to see if there are later commits which are more suitable?

Reply via email to