Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
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>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
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>
|
|
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
<petri.lehtinen+bitbake-dev@inoi.fi>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
In preparation for python3.0 make sure our test cases
are working again.
|
|
|
|
movefile error reporting)
|
|
decoded to host="" (#1530)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
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
|
|
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.
|
|
-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
|
|
Merge -453 to HEAD into the trunk from the branch
|
|
-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
|
|
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.
|
|
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
|
|
Bump the minor minor version again
|
|
Remove the configuration reading class. We have
two parsers already
|
|
bump the version
|
|
- 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
|
|
Bump the version to end up with 1.3.4.0
|
|
Use 1.3.3.0 instead - I felt like that..
|
|
Bump the version to 1.3.3
lib/bb/__init__.py:
Bump the version to 1.3.2.2
|
|
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
|
|
|