Openembedded Bitbake Development
 help / color / mirror / Atom feed
* docs on git fetcher don't match actual code
@ 2011-08-19 17:11 Robert P. J. Day
  2011-08-20 15:23 ` Holger Hans Peter Freyther
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert P. J. Day @ 2011-08-19 17:11 UTC (permalink / raw)
  To: BitBake developer list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1339 bytes --]


  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.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-21 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19 17:11 docs on git fetcher don't match actual code Robert P. J. Day
2011-08-20 15:23 ` Holger Hans Peter Freyther
2011-08-20 15:27 ` Holger Freyther
2011-08-21 17:40 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox