aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/__init__.py
AgeCommit message (Collapse)Author
2010-04-15Move the python version check into the python packageChris Larson
This ensures the check is run for anyone using the package, including setup.py, though it's sad that it's necessary, since all it really wants is __version__. Ideally, we'd avoid the version check entirely in favor of checking for functionality, but that's rather difficult with language constructs like context managers, so this'll do for now. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-15Bump version to 1.11.0Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Deprecate the usage of certain objects via certain modulesChris Larson
As an example, this displays a deprecation warning for the use of "bb.encodeurl" when you should be using "bb.fetch.encodeurl". It includes a convenience function for this purpose. It should be of use when moving objects between modules permanently, changing the API the user sees. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Drop __all__ usageChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Drop some unused classesChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Import fixupsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Drop doctest, as we aren't utilizing itChris Larson
We should add back in some proper unit testing. Doctest is rather limited, and we haven't actually made use of it since the original implementation of the datastore when the project started, as far as I'm aware. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-06Resurrect the old bb.vercmp as bb.utils.vercmp, and its depsChris Larson
This is just for compatibility. We may drop it in the future, or rewrite it, as it's not particularly pythonic. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-24Why is bb/__init__.py importing bb?Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-24bb.utils: remove old portage remnantsChris Larson
The following utility functions were removed. Note that in this particular case we're bypassing a proper deprecation process, as these functions are clearly not utilized, are obvious remnants of old ways of doing things, and some of which do not even function properly. - tokenize - evaluate - flatten - relparse - ververify - isjustname - isspecific - catpkgsplit - pkgsplit - pkgcmp - dep_parenreduce - dep_opconvert Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-19Kill unused projectdir in bb package.Chris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2010-02-19Move most utility functions from bb into bb.utils.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-02-19Move compat imports in the bb package to avoid circular dep issues.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-02-19Move encodeurl, decodeurl into bb.fetch.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-02-19Move MalformedUrl, VarExpandError into appropriate modules.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-01-21Fix bb.plain and bb.warn function, initial patch from Petri Lehtinen ↵Richard Purdie
<petri.lehtinen+bitbake-dev@inoi.fi> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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.
2008-02-26Remove digraph and switch to new stamp checking code.Richard Purdie
2007-10-30bb/__init__.py: Add bb.copyfile function similar to bb.movefile (and improve ↵Richard Purdie
movefile error reporting)
2007-08-19__init__.py: Fix a bug in decodeurl where http://some.where.com/somefile.tgz ↵Richard Purdie
decoded to host="" (#1530)
2007-08-18__init__.py: Add command moduleRichard Purdie
2007-08-17bb/__init.py: Sort digraph output to make builds more reproducibleRichard Purdie
2007-08-15msg.py: Fix plain message typeRichard Purdie
2007-08-13msg.py: Add plain message type, remove legacy logging codeRichard Purdie
2007-08-12bb/__init__.py: Improve which functionRichard Purdie
2007-03-04Update versionsRichard Purdie
2007-01-04drop shebangs from lib/bb scriptsMarcin Juszkiewicz
- 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'
2006-12-08Add proper GPLv2 headers to all BitBake filesHolger Hans Peter Freyther
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
2006-11-13Bump to version 1.7.4Richard Purdie
2006-11-01BitBake: Tag 1.6.2 and 1.7.2 of BitBakeHolger Hans Peter Freyther
2006-10-21bump 1.7 versionsRichard Purdie
2006-08-20bitbake/lib/bb/taskdata.py:Richard Purdie
bitbake/lib/bb/__init__.py: bitbake/lib/bb/shell.py: bitbake/lib/bb/runqueue.py: bitbake/lib/bb/msg.py: bitbake/MANIFEST: bitbake/bin/bitbake: Major rewrite and modularisation of the dependecy code. The code in bin/bitbake is replaced by the taskdata and runqueue modules. The code is designed to support multiple threads (although the initial threading algothirm is simplistic). The new code is aimed to be maintainable and debuggable (once msy.py is finished).
2006-08-15bitbake: Trunk is now at version 1.7.0Holger Hans Peter Freyther
2006-08-15bitbake: Assign release number 1.6.0 to the trunk and update the ChangeLogHolger Hans Peter Freyther
2006-07-08bitbake/lib/bb/__init__.py:Richard Purdie
bitbake/lib/bb/build.py: bitbake/lib/bb/utils.py: bitbake/lib/bb/shell.py: bitbake/lib/bb/providers.py: bitbake/lib/bb/msg.py: bitbake/bin/bitbake: bitbake/bin/bitdoc: bitbake/classes/base.bbclass: Start an overhaul of the message handling in bitbake: - Introduce a new msg module to replace the existing simple calls. - The msg module adds the conncept of message domains so ultimately we can select which kinds of debug messages we want to see (it uses an Enum class for this) - Add a warn logging level for things the user should really pay attention to as note is a little overloaded at present - Start converting to use the new fuctions
2006-07-08bitbake/lib/bb/providers.py:Richard Purdie
bitbake/lib/bb/__init__.py: bitbake/lib/bb/shell.py: bitbake/bin/bitbake: * Move providers functions into their own file. The arguments are horrible at present but we have to start somewhere with the cleanup and refactoring.
2006-04-19bitbake versions:Holger Hans Peter Freyther
-Make trunk 1.5.0 which will go to 1.6.0 -The stable branch is now 1.4.1 which will be 1.4.2 on release
2006-04-19bitbake/Holger Hans Peter Freyther
Merge -453 to HEAD into the trunk from the branch
2006-04-16bitbake/bin/bitbake:Holger Hans Peter Freyther
-Change version to 1.3.9 we will change it to 1.4.0 for the final release bitbake/lib/__init__.py: -Change the version as well
2006-04-15bitbake/lib/bb/data.py:Richard Purdie
bitbake/lib/bb/__init__.py: bitbake/lib/bb/data_smart.py: bitbake/lib/bb/cache.py: bitbake/lib/bb/shell.py: bitbake/bin/bitbake: * Major cache refactoring. Change the cache to store only the data bitbake needs for dependency calculations instead of all the metadata. * Separate the cache code into its own file. * Update the rest of the code to work with the cache changes. * Temporarily break the shell's poke command.
2006-03-23bitbake/method pool:Holger Hans Peter Freyther
Create a common implementation of the global method handling. It will be shared by the parsers and the cache. This commit breaks the cache again
2006-03-17bitbake/lib/bb:Holger Hans Peter Freyther
Bump the minor minor version again
2006-02-26bitbake/lib/bb/__init__.py:Holger Hans Peter Freyther
Remove the configuration reading class. We have two parsers already
2006-02-24lib/bb/__init__.py:Holger Hans Peter Freyther
bump the version
2006-02-21bitbake/lib/bb/utils.py:Richard Purdie
- Fix a RDEPENDS parsing bug in utils:explode_deps() (versions containing spaces didn't parse correctly) bitbake/lib/bb/fetch/git.py: - Update git fetcher behaviour to match git changes
2006-02-11bitbake/lib/bb:Holger Hans Peter Freyther
Bump the version to end up with 1.3.4.0
2006-02-09bitbake/lib/bb:1.3.3Holger Hans Peter Freyther
Use 1.3.3.0 instead - I felt like that..
2006-02-09bitbake/bin/bitbake:Holger Hans Peter Freyther
Bump the version to 1.3.3 lib/bb/__init__.py: Bump the version to 1.3.2.2
2005-09-08parser: add function to update the mtime for one file, courtesy Justin PatrinMichael 'Mickey' Lauer
parser: move import bb and import os out of the commands (import in a function that's called often has a performance penalty) lib: increase revision shell: add 'reparse' and 'fileReparse' commands, courtesy Justin Patrin
2005-07-30Update the lib version to 1.3.2 as wellHolger Hans Peter Freyther