* Yocto git repositories, shallow clone, uploadpack.allowReachableSHA1InWant
@ 2017-11-10 2:03 Craig McQueen
2017-11-10 3:56 ` Tim Orling
0 siblings, 1 reply; 2+ messages in thread
From: Craig McQueen @ 2017-11-10 2:03 UTC (permalink / raw)
To: yocto
I'm using git submodule to set up a Yocto build using the various layers required for my project. I see that recent git has the ability to specify that a submodule repository should be a "shallow" clone.
However, when I tried it with meta-mono, I got an error "server does not allow request for unadvertised object".
It appears that for such a shallow clone of a specified commit to work, the repository must enable uploadpack.allowReachableSHA1InWant.
Could this option be enabled for all Yocto git repositories? This would potentially save a lot of time and download bandwidth for everyone.
--
Craig McQueen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Yocto git repositories, shallow clone, uploadpack.allowReachableSHA1InWant
2017-11-10 2:03 Yocto git repositories, shallow clone, uploadpack.allowReachableSHA1InWant Craig McQueen
@ 2017-11-10 3:56 ` Tim Orling
0 siblings, 0 replies; 2+ messages in thread
From: Tim Orling @ 2017-11-10 3:56 UTC (permalink / raw)
To: Craig McQueen; +Cc: yocto
Adding Michael Halstead.
> On Nov 9, 2017, at 6:03 PM, Craig McQueen <craig.mcqueen@innerrange.com> wrote:
>
> I'm using git submodule to set up a Yocto build using the various layers required for my project. I see that recent git has the ability to specify that a submodule repository should be a "shallow" clone.
>
> However, when I tried it with meta-mono, I got an error "server does not allow request for unadvertised object".
>
> It appears that for such a shallow clone of a specified commit to work, the repository must enable uploadpack.allowReachableSHA1InWant.
>
> Could this option be enabled for all Yocto git repositories? This would potentially save a lot of time and download bandwidth for everyone.
>
> --
> Craig McQueen
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-10 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-10 2:03 Yocto git repositories, shallow clone, uploadpack.allowReachableSHA1InWant Craig McQueen
2017-11-10 3:56 ` Tim Orling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.