[bitbake-devel] docs on git fetcher don't match actual code

Richard Purdie richard.purdie at linuxfoundation.org
Sun Aug 21 17:40:45 UTC 2011


On Fri, 2011-08-19 at 13:11 -0400, Robert P. J. Day wrote:
> perusing the bitbake user manual earlier and the section on the git
> fetch module doesn't sync up with the code.  from the user manual:
> 
> "The parameters are tag, protocol and scmdata. tag is a Git tag, the
> default is ‘master’. protocol is the Git protocol to use and defaults
> to ‘rsync’."
> 
>   however, in fetch2/git.py, one reads:
> 
> - protocol
>    The method to use to access the repository. Common options are
>    "git", "http", "file" and "rsync". The default is "git"
> 
> 
>   and, finally, further down, there's the actual check for a valid
> protocol:
> 
>     if not ud.proto in ('git', 'file', 'ssh', 'http', 'https'):
>         raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
> 
> which says nothing about "rsync" but lists "https" as a valid protocol
> that's not mentioned higher up.  someone way higher up the food chain
> is welcome to decide what should be clarified here.

Thanks, I've pushed a couple of commits which should clarify the
situation.

Cheers,

Richard





More information about the bitbake-devel mailing list