aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake/TODO:Holger Hans Peter Freyther2005-05-231-4/+6
| | | | | | -Not much is done yet but at least fake that we've done something
* Slight OO refactoring of BitBake command line utility in order toMichael 'Mickey' Lauer2005-05-231-584/+611
| | | | | | | | | | | | | | | | | | | prepare for the BitBake shell which will need to have instance based variables as opposed to module global ones. Sorry, this diff is larger than it should be, but I had to reorder methods and change indenting all over the place. What I basically did is: 1.) Add a class managing the statistics values: BBStatistics 2.) Add a class managing the build process: BBCooker 3.) Refactor all unbound methods into the BBCooker class 4.) Refactor all module global values into the BBCooker class 5.) Adjust function calls and accesses of the module global values accordingly The shell module itself is under construction and will be uploaded asap.
* bitbake/bin/bitbake:Holger Hans Peter Freyther2005-05-221-115/+128
| | | | | | | | | | | | | | -Drastically increase the amount of needed RAM to the unbelievable amount of 12MB when parsing ~2320 bb files. -Start creating the provider hash and other lists/dictionaries from the progressCallback. A BBStatusProgress struct was added to accumulate the data to be used in the buildPackage, showVersions and similiar methods. This makes it possible to kill the long delay and also building the provider hash completely. Only for building and checking if a package was built (has stamps) it is necessary to get the data instace from make.pkgdata.
* bitbake/ChangeLog:Holger Hans Peter Freyther2005-05-221-0/+14
| | | | | -Mention changes in bitbake since the 1.2.1 release
* bitbake/lib/bb/make.py:Holger Hans Peter Freyther2005-05-222-2/+4
| | | | | | | | | | | | | Pass more data to the parsing progressCallBack. We will soon use this data to eliminate the long delay before building. bitbake/bin/bitbake: Just change the signature of the callback method for now. We will soon keep the 'parsing status' in a instance we will fill while parsing and only evaluate in build_depgraph
* bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther2005-05-211-18/+17
| | | | | | | | | | | | -Do a deepcopy of the parent for the persistent data storage constructor. -Store the dict as _data member and not the instance -Operate on the dict in the methods instead of the DataSmart instances... Happy deletion of the cache
* bitbake/lib/bb/fetch.py:Holger Hans Peter Freyther2005-05-201-3/+1
| | | | | | -be less anoying and only print debug messages when d is none
* bitbake/lib/bb/fetch.py:Holger Hans Peter Freyther2005-05-202-1/+7
| | | | | | | | | | -Warn when init is called without a data instance, we're not able to reorder them as it would break bitbake <= 1.2.1 and OpenEmbedded bitbake/lib/bb/parse/BBHandler.py: -Do not call fetch.init without a data instance. This changes the AtiCore problem the OE folks are seeing a bit...
* bitbake/lib/bb/data.py:Holger Hans Peter Freyther2005-05-201-0/+1
| | | | | | -Don't be too keen finding a bug in expand when there is None... Fix the testcase to delete {TARGET_MOO} first.
* bitbake/lib/bb/data.py:Holger Hans Peter Freyther2005-05-201-0/+3
| | | | | -Write an expand test case that actually shows a bug I need to fix
* bitbake/lib/bb/data.py:Holger Hans Peter Freyther2005-05-201-0/+8
| | | | | | | -Add two test cases to the expand method. The behaviour was not tested before.
* bitbake/lib/bb/data.py:Holger Hans Peter Freyther2005-05-201-45/+56
| | | | | | | | -We've killed the default arguments in the methods now the tests were updatet to initialize a data instance to work again.
* bitbake/lib/bb/data_dict.py:Holger Hans Peter Freyther2005-05-201-2/+2
| | | | | | -Fix one bug in the unused data_dict.py. There is still one left... again cookies for the one finding it
* bitbake/TODO:Holger Hans Peter Freyther2005-05-201-0/+18
| | | | | Add basics tasks I want to see finished
* bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther2005-05-202-2/+2
| | | | | | | | | Return only the mtime from the os.stat syscall bitbake/lib/bb/data_dict.py: Return only the mtime from the os.stat syscall
* tbake/lib/bb/fetch.py:Holger Hans Peter Freyther2005-05-181-0/+7
| | | | | | | | | Stop sf.net from bull?#*... us. We will fail when we wanted to download a file and got something with a different name. This should solve sf.net related problems as we go immediately to the next mirror and it should work for all other packages as well.
* bitbake/lib/bb/fetch.pyHolger Hans Peter Freyther2005-05-181-66/+66
| | | | | | | Try to partially apply http://wiki.python.org/moin/PythonSpeed/PerformanceTips?highlight=%28performance%29#dots avoid finding data in bb
* Change the bb.__version__ to 1.2.1, and adjust setup.py to actually import ↵Chris Larson2005-05-182-5/+6
| | | | the bb module to obtain the version it uses.
* bitbake/bin/bitbake:Holger Hans Peter Freyther2005-05-181-1/+1
| | | | | Update the version to 1.2.1 (now a string)
* add missing copyright and fix __ignored_dependencies scoping problemMichael 'Mickey' Lauer2005-05-181-2/+3
|
* lib/bb/data.py:Holger Hans Peter Freyther2005-05-172-3/+332
| | | | | | | | | | | | | | | | Use the new data_smart dictionary lib/bb/data_smart.py: The old COW Implementation, made persistent and pass the test suite. I commit it because the persistent mode in data_dict.py seems broken and I don't want to leave you with a broken bitbake. Todo: -do a deepcopy on the parent. When we pickle we use sharing anyway and it is pretty obvious we will pickle as we're the persistent implementation.
* lib/bb/data.py:Holger Hans Peter Freyther2005-05-172-24/+22
| | | | | | | | | | -Remove default arguments from the data methods. They cast errors. (we need to update the test case though) lib/bb/parse/ConfHandler.py: -Use the right dictionary
* bin/bitbake:Holger Hans Peter Freyther2005-05-171-8/+9
| | | | | | | -Access pkgdata[] less. This means unpickling the data less often. This results in a faster initial parsing. We still access each file three times though
* lib/bb/data.py:Holger Hans Peter Freyther2005-05-172-9/+52
| | | | | | | | | | | | | | | -Provide a special 'collection/dict' for the collected bb-files. If we use a persistent storage (CACHE) we will not hold any data instance in memory but load it from disk on demand. This reduces bitbakes memory usage to roughly 40MB. The initial parsing currently takes roughly thirty seconds more. lib/bb/make.py: -Use the new data implementation for pkgdata. -Do not access pkgdata[f] if we've the data already in our hands
* add authors fileMichael 'Mickey' Lauer2005-05-172-0/+7
|
* lib/bb/data.py:Holger Hans Peter Freyther2005-05-173-27/+81
| | | | | | | | | | | | | | | · -Add a method to get the modify time of named bb.data instance · -Add a method to create a named bb.data instance. These instances · inherit the global configuration. lib/bb/data_dict.py: · -Add persistents to the data_dict implementation, on the commit method we will now pickle the internal dict lib/bb/make.py: -Use the new persistent/named bb.data methods.
* lib/bb/build.py:Holger Hans Peter Freyther2005-05-171-2/+3
| | | | | | | Do not assume we hold a reference to the variable we got with a bb.data.getVar*. Always set changes back to the variable.
* Add a ChangeLog to lay out the 'API' changes of bitbakeHolger Hans Peter Freyther2005-05-171-0/+10
|
* lib/bb/fetch.py:Holger Hans Peter Freyther2005-05-171-10/+11
| | | | | | | | | | | * Remove default params from the fetcher methods to avoid problems with scoping. The meaning of 'd' is quite overloaded and we try to undo it one by one. This change is a bit more invasive than I had hoped for but it is needed. -- Holger Hans Peter Freyther <freyther@handhelds.org>
* Add data_dict.py to the MANIFESTHolger Hans Peter Freyther2005-05-171-0/+1
|
* createCopy:Holger Hans Peter Freyther2005-05-177-16/+26
| | | | | | | -Move a createCopy method into data.py -Make code creating deepcopies of the data instance use this new createCopy
* bitbake data module abstraction:Holger Hans Peter Freyther2005-05-175-86/+235
| | | | | | | | | -bb.data is now a delegate to hookable Data implementation. -bb.data.init() is the 'factory' method to create a instance of a concrete implementation. -Kill assumptions that bb.data.init() returns a {} (python dict) -Add the old Dictionary Based Implementation as data_dict.py
* Adjust the version in setup.py.Chris Larson2005-03-111-3/+4
|
* Evaluate dependencies in try_build(), even if stamp file is up to date for ↵Phil Blundell2005-01-231-4/+4
| | | | the current package.
* bin/bitbake:Chris Larson2005-01-221-7/+16
| | | | | | | | | | | | * check if a package's task is already complete _before_ calling the functions to try to build it. * don't bother trying to build a package's deps if the package has already been built. * cache the information about the 'perhaps you should define PREFERRED_PROVIDER_blah' messages so that the user only sees one for each provider.
* Add -nochunks makefile targets for documentation generation (user's manual).1.1Chris Larson2005-01-171-3/+10
|
* Unbork our event classes a bit. Added a 'data' property to the Build events ↵Chris Larson2005-01-172-26/+24
| | | | to be more consistent with the other events.
* As recommended by pb_ and RP, prepend the task name with 'task_' when ↵Chris Larson2005-01-171-1/+2
| | | | mangling OVERRIDES in bb.data.exec_task().
* add current task name to OVERRIDES during executionPhil Blundell2005-01-161-3/+8
|
* Test trigger alterations.Chris Larson2005-01-061-0/+0
|
* Test trigger alterations.Chris Larson2005-01-061-0/+0
|
* correct transposed protocol/revision parameters to svn checkout;Phil Blundell2005-01-021-1/+1
| | | | | | patch courtesy Paul Eggleton
* emit_var(): if showing all vars, emit even those with invalid names1.0Phil Blundell2004-12-271-1/+1
|
* bbread: wrap the call to bb.data.emit_env() in a try: except block.Chris Larson2004-12-261-1/+6
|
* Remove references to 'BBMAKE' from the debug messages in the bitbake command.Chris Larson2004-12-261-7/+7
|
* Re-raise bb.build.FuncFailed if it's encountered in emit_var. This ensures ↵Chris Larson2004-12-261-3/+7
| | | | that builds of packages that attempt to read the kernel-version file (like kernel modules) fail as they should.
* Update the user manual -- add example usage of the bitbake command. add ↵Chris Larson2004-12-241-9/+34
| | | | example usage of bbfile collections.
* Add information on the bitbake command to the User Manual.Chris Larson2004-12-241-19/+77
|
* Handle the parse only cmdline option when using --buildfile.Chris Larson2004-12-221-0/+4
|
* Apply patch from Richard Purdie to fix the --force support in the bitbake ↵Chris Larson2004-12-221-0/+2
| | | | script.