Age | Commit message (Collapse) | Author |
|
We use a custom Logger subclass for our loggers
This logger provides:
- 'debug' method which accepts a debug level
- 'plain' method which bypasses log formatting
- 'verbose' method which is more detail than info, but less than debug
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
This patch serves two purposes. Firstly it unifies the concept of mirrors into
PREMIRRORS and MIRRORS. PREMIRRORS are tried before the SRC_URI defined in the
recipe whereas MIRRORS are tried only if that fails.
The tarball stash was conceptually inline with a PREMIRROR only with special
handling within the wget fetcher and therefore only worked with certain
fetch types.
Secondly the patch removes the need for individual fetch implementations to
worry about mirror handling.
With this patch, the base fetch implementation will first try to use a
PREMIRROR to fetch the desired object, if this fails the native fetch method
for the object will be tried and if this fails will try to fetch a copy from
one of the MIRRORS.
(From Poky rev: 0737552c1de18c64db8a5a52248a3e7b217f30aa)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
We don't use the modules, no need to import them here.
|
|
Patch by borgcube@gmx.li
Svn tries to be smart about revisions. So, when you check out an older revision of a file it goes to the latest revision (HEAD) and tries to go back to the old file. In this case it was impossible, since the whole thing was moved outside of svn's scope, so svn can't find the file in the HEAD revision.
Svn treats this situation as an exception and provides the "peg-revision"-syntax for that. So where you would normally do
svn co -r1337 http://url/to/somewhere/module module
you would now have to do
svn co -r1337 http://url/to/somewhere/module@1337 module,
the @1337 telling svn to go start looking at revision 1337 instead of HEAD.
|
|
for bin/bitbake
|
|
|
|
|
|
|
|
clean up fetcher force options, finish sortable_revision implementation
|
|
|
|
distributions)
|
|
|
|
|
|
|
|
|
|
|
|
Subversion will still ask if self-signed SSL certificate will be used.
|
|
- those scripts are not called by hand by bitbake users
and most of package linting tools (lintian/Debian, rpmlint/Fedora)
complain about not executable scripts.
- if someone want to run them by hand then he will be able to do it
with calling 'python SCRIPT'
|
|
|
|
BitBake trunk is now GPLv2 only, no mix of
MIT,FreeBSD License is left.
Update GPL headers to point to the correct
address of the FSF
Update the list of authors. Uli Luckas,
Seb Frankengul and Tim Amsell contributed to
the sourcecode as well
|
|
times)
http://oe-devel.bkbits.net:8080/oe.deprecated/cset%401.780
|
|
account for PN 'overrides'
|
|
Move md5 code from wget.py into the fetchre core. Start generating md5 stamps for all downloads including scm tarballs. When a download is accessed, touch the md5 file to allow easy creation of source mirrors
|
|
download already exists. Refactor parameters to wget's fetch_uri and make md5 a global urldata option.
|
|
|
|
|
|
|
|
|
|
methods. Start to use this to remove duplicate code and duplicate function execution, simplifying the fetchers
|
|
for common md5/tarball stash code)
|
|
|
|
more similiar to the CVS fetcher
Patch courtsey Paul Sokolovsky to address #1367 to have a
permanent directory for subversion to ease updating of huge
repositories.
|
|
Patch courtsey Justin Patrin to teach BitBake SRCDATE="now" handling.
If SRCDATE is set to now we will not look at the temporary DL_DIR
for a saved tarball as we want to download a new version. OpenEmbedded
should consider stamping the do fetch phase.
Justin thanks for the patch and sorry for all the trouble
bitbake/doc/manual/usermanual.xml: Document the 'now' method for svn,svk and cvs
|
|
lib/bb/fetch/__init__.py:
lib/bb/fetch/svn.py:
- Move the DL_DIR check into try_mirror since every fetcher will do this.
(git fetcher already assumes this check is made)
|
|
-svn_rsh was used, but the code was unreachable leading to
runtime errors
-now if the proto is svn+ssh, honor rsh parameter of the
URL
|
|
Remove the CVS origin from the SVN fetcher. ext and pserver
are not used by subversion.
|
|
Add a try_mirror method responsible of trying the
SRC_TARBALL_STASH to get the source from
bitbake/lib/bb/{csv,git,svn}:
Use this new try_mirror method to get the
TARBALL_STASH method
bitbake/lib/bb/svk:
Add a skeleton (copy of svn) svk fetcher
|
|
Add a getSRCDate static method to the Fetcher Baseclass
to extract the SRCDATE with fallbacks to CVSDATE and DATE
Switch over users of CVSDATE to this new method.
|
|
Apply patch courtsey Richard for #554 to include
the path in the filename of the tar.gz snapshot
|
|
Apply patch courtsey Chris at openhand.com to make
the svn fetcher honor the CVSDATE/DATE when
fetching source.
|
|
Patch courtsey RP for #438. Move the fetchers
into a separate module to ease the writing of
new fetchers and to separate the individual
implementations.
bitbake/MANIFEST:
added the new files
bitbake/setup.py:
added the fetch module
|