summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2009-11-03Post release version incrementRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2009-11-03Release 1.8.141.8.14Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2009-11-03build.py: Add bb and os to __builtins__ backporting from trunk since we'd ↵Richard Purdie
like to be able to depend on this behaviour in OE soon Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2009-11-03fetch/svk: Fix up breakage. Evidently nobody uses svkRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-18taskdata: fix a possible infinite loop when multiple eligible providers ↵Chris Larson
aren't buildable The code which removes providers which aren't buildable from the eligible list modifies the list while iterating it, resulting in skipping some entries. If the list contained two failed providers in sequence, it left the second behind in the eligible list. Fixed by replacing the block with a list comprehension that constructs a new eligible list without the failed entries. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-19Merge the BBCLASSEXTEND code from Poky. This allows once recipe to provide ↵Richard Purdie
mutliple targets (e.g. -native and -sdk) and has been discussed on the OE mailing list
2009-05-12providers.py: Fix + character escaping from PACKAGES_DYNAMIC (thanks Otavio ↵Richard Purdie
Salvador)
2009-05-11bitbake-1.8: Backport deprecated sets removal to remove warnings with python ↵Richard Purdie
2.6. Should be backwards compatible to python 2.4 and we don't support earlier versions
2009-05-11data.py: Make sure allowed variables inherited from the environment are ↵Richard Purdie
exported again (from Poky) shell.py: When running a stage task in bbshell, run populate_staging, not the stage task (from Poky)
2009-05-11fetch/__init__.py: Set HOME environmental variable when running fetcher ↵Richard Purdie
commands (from Poky)
2009-05-11fetch/git.py: Add username handling to git fetcher (from Poky)Richard Purdie
2009-05-11fetch/wget.py: Fix wget fetching of urls with parameters specified (from Poky)Richard Purdie
2009-05-11fetch/hg.py: Fix hg checkouts of specific revisions (from Poky)Richard Purdie
2009-05-11[bb] Fix the tests by setting a debug level at startHolger Hans Peter Freyther
In preparation for python3.0 make sure our test cases are working again.
2009-04-17Fix rdepends in graphviz graph generation.Chris Larson
Signed-off-by: Roman Khimov <roman@khimov.ru> Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-17bb.fetch.go: iterate over SRC_URI, not urldata.Chris Larson
urldata can contain urls other than just what's in SRC_URI. The urls of mirrors, premirrors, stashes, etc can end up in there as well, and we don't want bb.fetch.go to be fetching those things directly. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-17bb.fetch.git: make empty host pass a file uri to git.Chris Larson
Signed-off-by: Tom Rini <trini@embeddedalley.com> Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-17bb.fetch: make try_mirror go through the dispatcher rather than using wget ↵Chris Larson
directly. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-08Make the bbpath change for includes temporary rather than permanent.Chris Larson
We currently modify BBPATH so that an include/require looks in the current working directory before it looks elsewhere. Modifying it permanently doesn't gain anything, just polluting it with locations that don't need to stay there. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-08BBMASK: survive a non-existant path and don't keep the dir after globbing.Chris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-08BBPKGS: act as a default that can be overridden via the cmdline.Chris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-02-26Clean up by Otavio SalvadorHolger Hans Peter Freyther
2009-01-03cache.py: Fix whitespace damageRichard Purdie
2009-01-03cache.py: Simplfy logic (from Poky)Richard Purdie
2009-01-02BBHandler: Move handler finalisation code into a separate functionRichard Purdie
2009-01-02utils.py: Add bb.utils.prune_suffix functionRichard Purdie
2008-12-14Tag BitBake 1.8.12 (update versions, MANIFEST, ChangeLog)Holger Hans Peter Freyther
2008-12-06utils.py: Add empty_environment() function and call this from the cooker ↵Richard Purdie
instead of hiding in data.py (from Poky)
2008-12-06fetch/__init__.py: export more variables to the fetcher commands to allow ↵Richard Purdie
ssh checkouts and checkouts through proxies to work better. Also allow user and pswd options in urls globally and improve proxy handling when using mirrors (from Poky)
2008-12-06cooker.py: Update to improve handling of the trytaltconfigs option (from Poky)Richard Purdie
2008-12-06utils.py: Add clean_environment() function and call where appropriate (from ↵Richard Purdie
Poky)
2008-12-06BBHandler: Improve file not fuond error messageRichard Purdie
2008-12-06git.py: Add username handling to the git fetcher (Robert Bragg from Poky)Richard Purdie
2008-12-06utils.py: Improve lock file function error handling (from Poky)Richard Purdie
2008-12-06providers.py: Fix typos and add some further debug which can occassionaly be ↵Richard Purdie
useful for debugging problems
2008-12-06Add tryaltconfigs option to control whether bitbake trys using alternative ↵Richard Purdie
providers to fulfil failed dependencies. It defaults to off, changing the default since this behaviour confuses many users and isn't often useful (from Poky).
2008-12-06When SRCREV autorevisioning for a recipe is in use, don't cache the recipe ↵Richard Purdie
(from Poky)
2008-12-06Add osc fetcher (from Joshua Lock in Poky)Richard Purdie
2008-11-03[svn] Add @rev to svn checkout commandHolger Hans Peter Freyther
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.
2008-10-27taskdata: improved error message when BitBake is called with not existing targetMarcin Juszkiewicz
2008-10-27cache: not existing cache file is not out of dateMarcin Juszkiewicz
2008-10-26fetch/hg.py: Properly format the command if the user URI parameter is empty.Holger Hans Peter Freyther
2008-10-20runqueue.py: Fix nostamp flag handling (from Poky)Richard Purdie
2008-10-13[fetch] Always add PN to the _revision_key we get from the fetcherHolger Hans Peter Freyther
This is extending r1101 to always append something to the _revision_key of the fetcher. alphaone spotted that it was missing for the latest_revision case.
2008-10-12[git] Do not run git-rev-list everytime to increase the speedHolger Hans Peter Freyther
Cache the result of git-rev-list for a repo and hash. This speeds up do_package of the linux kernel tremendously.
2008-10-12[git] Optionally use git-rev-list to get a sortable revisionHolger Hans Peter Freyther
With setting BB_GIT_CLONE_FOR_SRCREV="1" you can get a sensible and global (per repository with only fast forwards) revision. The downsides are you will have to have a repository at parse time which means you will git-clone certain trees you don't even use. This is also the reason why this is optional. This also means you might need to download your git checkouts to get this feature working.
2008-10-12[git] Do not git-fetch if we already have the rev we wantHolger Hans Peter Freyther
When not having internet do not fail on a not needed git-fetch
2008-10-12[git] Disable downloading of checkouts.Holger Hans Peter Freyther
Instead of calling try_mirror check if we have a local checkout already. This code fetched a new checkout even if you had a local repository which is rather bad if you don't have internet but a full repository. And the overhead of a full checkout vs. repository is not too big anyway.
2008-10-12Allow to conditionally implement sortable revision in the fetcherHolger Hans Peter Freyther
2008-10-12Make the revision key unique by adding the PNHolger Hans Peter Freyther
If two different recipes (e.g. linux-openmoko and linux-openmoko-devel) use the same git repository but with different SRCREVs the count just incremented on each parsing. By adding PN to the key we keep the count on a per package level. Spotted by Graeme.