at the moment, i've checked out the git repo for bitbake and, in an
attempt to finally understand how all this bitbake/OE stuff works
(while learning python at the same time), i'm perusing the code, and
i'm wondering if there's value in my submitting patches to clean
things up, mostly regarding documentation.

  as a start, chapter 3 (File Download support) of the user manual
doesn't seem to mention a number of download possibilities, such as
ssh, mercurial, bzr, wget, etc, that are clearly defined in
lib/bb/fetch/.

  in other cases, comments look a bit off and the code might be off a
bit.  for instance, here in lib/bb/fetch/local.py,

class Local(Fetch):
    def supports(self, url, urldata, d):
        """
        Check to see if a given url can be fetched with cvs.
        """
        return urldata.type in ['file','patch']


  i'm assuming that the comment referring to "cvs" is a copy-and-paste
booboo, while (and i might be misreading this) a local fetch is
defined by a urldata.type of either 'file' or 'patch'.  why 'patch'?
i thought the urldata.type is based on the protocol in the URN.  but
patches are still defined by "file:///", are they not?  or am i just
misunderstanding this?  thanks.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to