aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/shell.py
AgeCommit message (Collapse)Author
2008-02-26shell.py: Update to use cooker.buildFile()Richard Purdie
2008-01-06shell.py: Fix shell data updating problems (#1880)Richard Purdie
2008-01-06Fix shell showdata command (#3259)Richard Purdie
2007-03-05shell.py: Fix syntax warning reported by pH5Richard Purdie
2007-03-04runqueue.py: Improve initialization instead of repeating parametersRichard Purdie
2007-03-04shell.py: Remove build_cache_fail references since this no longer works as ↵Richard Purdie
intended
2007-01-07shell.py: Fix up force flag handling for directly named filesRichard Purdie
2007-01-07runqueue.py: Pass cooker to prepare_runqueue (for now)Richard 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-30shell.py: Fix typo (thanks to pH5 for spotting)Richard Purdie
2006-11-18runqueue.py: Change failed tasks handling so all failed tasks are reported, ↵Richard Purdie
not just the first. Also add signal handling so Ctrl+C only interrupts the main tasks upon the first keypress, the second keypress sends SIGTERM to all children
2006-11-12taskdata.py: Improve abort flag handling, fixing several bugsRichard Purdie
2006-11-04shell.py: Add support for the abort flagRichard Purdie
2006-10-03cache.py: Stop passing cooker around as its no longer neededRichard Purdie
2006-09-11* shell: fix 'which' commandMichael 'Mickey' Lauer
* shell: use 'rebuild' task for implementing rebuild
2006-09-11bitbake/lib/bb/shell.py:Richard Purdie
bitbake/bin/bitbake: Split collect_bbfiles into collect_bbfiles and parse_bbfiles Allow -b option to accept an expression which uniquely identifies a .bb file instead of requiring a full path Disable BBFILES support within .bb files (it was already non-functional)
2006-09-10lib/bb/shell.py - Use taskData and runQueue directlyRichard Purdie
lib/bb/runqueue.py - Add fn to TaskFailure bin/bitbake - Remove now uneeded buildProvider
2006-09-09Turn BBParsingStatus into CacheData and move to cache.pyRichard 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-07-11switch pastebin provider to http://rafb.net/pasteMichael 'Mickey' Lauer
patch courtesy Zwelch
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-05-27 bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
-Rename last trace of pastebin.com to oe.pastebin.com (which was in a comment any way)
2006-05-06bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
No need to use imp on bin/bitbake
2006-05-03bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
-Make it work, mickeyl please remove old code ;)
2006-04-21shell: reparsing no longer checks whether it came from cache or notMichael 'Mickey' Lauer
shell: use our private pastebin: oe.pastebin.com
2006-04-16bitbake/lib/bb/cache.py:Richard Purdie
bitbake/lib/bb/shell.py: bitbake/bin/bitbake: * Remove a useless return value from loadDataFull bitbake/ChangeLog: * Update the changelog with recent changes
2006-04-16lib/bb/shell.py:Holger Hans Peter Freyther
-Make it work...
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-01-12bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
-Patch by ph5 to call the build method with the right amount of parameters.
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-07Shell:Michael 'Mickey' Lauer
- remove '...' in output for "SHELL: Building <a number of providees>" - don't continue if building a number of providees and one fails
2005-07-06Shell:Michael 'Mickey' Lauer
- experimental support for glob expression (wildcards) in command 'build' - add new command 'match <providers|files> <globexpr>' to see what matches against the expression
2005-07-06Shell:Michael 'Mickey' Lauer
- use shlex to parse command lines as a special service to hrw: Now you can say 'setvar FOO "this is a test"' :) - use a command queue in the main loop to unify offline (from startup file) and online processing - add some changes for 1.3.2. Could anyone fill in changes for 1.3.1 ?
2005-07-06Shell: grab a deepcopy from the initial cooker data to reuseMichael 'Mickey' Lauer
it in file**** commands. Otherwise we would pollute cooker.configuration.data (i.e. do_configure_append() appending multiple times). This fixes BitBake bug #133
2005-07-05This (large) patch reintegrates the bb.make module into the bitbake executable.Michael 'Mickey' Lauer
Said make module has been factorered out back in the old days when we had two concurrent oemake implementations which were in need of code sharing. Nowadays, there's no more use of a seperated make module and in fact the split has always been a bit artificial. A brief overview of the changes: * create utils.py which contains three unbound functions for comparing versions * create a class BBConfiguration that holds variables which were formerly living in make module scope * make functions use the BBConfiguration instance that lives in BBCooker instance * move functions into the BBCooker class, adapt them to work as class methods * integrate the function of the bbread executable into BitBake; use it with option '-e' and (optionally) -b * remove make.py * remove bbread * adapt the shell module which has been using the make module directly
2005-06-21bitbake Poke Changes:Holger Hans Peter Freyther
make.pkgdata is when used with a CACHE just a holder of a list of filenames + the path to the cache. Now when poking at files the changes will be lost immediately, we now offer a mean to mark a data instance as dirty and we will not throw it away in this case... setDirty is not meant to be public API
2005-06-21- fix _findProvider() for 'PN-PV'Michael 'Mickey' Lauer
- add columnize helper function - outcomment poke function and add warning
2005-06-17- add 'alias' command to allow shortcuts for commandsMichael 'Mickey' Lauer
- bbshell now processes ~/.bbsh_startup, if existing All commands valid inside the shell are valid in the startup file. Don't use | in startup files.
2005-06-17- add 'peek' command: Example Usage: peek nano SRC_URIMichael 'Mickey' Lauer
- add 'poke' command, outcommented because d.setVar seems not to be persistent
2005-06-17make edit command more consistent:Michael 'Mickey' Lauer
- 'edit' now accepts a providee - 'fileedit' now calls $EDITOR on a bbfile
2005-06-16- fix pasteLog and pasteBin failure codepaths. Thanks to keturn for spotting.Michael 'Mickey' Lauer
2005-06-16- add 'showdata' commandMichael 'Mickey' Lauer
- fix readline in python expert mode - add some more IDEAS
2005-06-16- add 'getvar' to print out a variable from the outer environmentMichael 'Mickey' Lauer
- 'print' now serves a different purpose, it lists either all bbfiles or all providers - add '|' to allow the output of commands be piped into grep, sort, and friends: Hint try: parse; print files | grep opie - internal: add debugOut()
2005-06-14- add 'fetch', 'unpack', 'patch', 'configure', 'compile', 'stage'Michael 'Mickey' Lauer
which reflect the execution of the respective tasks on providees - add 'force' to toggle make.options.force - switch to a more sane context sensitive completion method inspecting the 'usage' attribute
2005-06-10OO overhaul:Michael 'Mickey' Lauer
- Introduce classes for commands and the command processor - Autoregister available commands - Fix 'shell' command to work with unlimited number of parameters - Remove 'exec' command
2005-06-10- capture bb.parse exception in 'filebuild'Michael 'Mickey' Lauer
- restore sys.stdout during raw_input, this repairs tab completion which I broke two revisions ago
2005-06-09add 'shell <command>' which hands a command over to the shell and dumps the ↵Michael 'Mickey' Lauer
output NOTE: Due to a limitation in the bbshell command processor, 'shell' and 'exec' are currently broken when using more than one parameter. This will be sorted out asap.
2005-06-09Use socket.gethostname() instead of os.environ["HOST"]. That should work on ↵Michael 'Mickey' Lauer
all systems.