[bitbake-devel] [PATCH] fetch2: do not try to checksum a socket

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jun 22 08:09:36 UTC 2012


On Thu, 2012-06-21 at 15:57 +0200, Bernhard Reutner-Fischer wrote:
> >
> > FWIW, the url you want is git:///mydir;protocol=file which should work.
> 
> Oh, that's rather surprising!
> The format suggested to me that, iff specified, with "protocol=" i can
> select the fetcher, regardless of the actual path-spec.
> Shouldn't protocol have precedence over any eventual path-implied fetcher?
> file:///mydir;protocol=rsync
>   rsync -a /mydir S
> file:///mydir;protocol=git
>   git clone -s file:///mydir S

No, things work the opposite way around, they always have done and
trying to change that now would be hard. It makes most sense when you
think about it that anything starting with "git://" gets passed to the
git fetcher code, anything "file://" to the local fetcher and so on.

Cheers,

Richard





More information about the bitbake-devel mailing list