Richard Purdie
b1046ef743
bitbake: Don't export the GIT_PROXY_COMMAND in the fetcher code since it means selective proxying isn't possible
2008-10-31 14:37:24 +00:00
Richard Purdie
b296ae263c
bitbake: Add tryaltconfigs option to disable the alternative configuration attempts and make the 'continue' more aggresive
2008-10-28 22:15:06 +00:00
Rob Bradford
3a73995e31
bitbake-dev: Renamed to match the UI name
...
The UI starter now dynamically searches for the UI module based on the
parameter given to -u. bitbake advertises the dependency explorer as "depexp"
therefore this module needs renaming.
2008-10-28 15:25:13 +00:00
Rob Bradford
526d996a02
bitbake-dev: Use the default task if 'None' asked for
...
Since the default task is not known/available until the configuration files
are parsed we may return None when the UI requests getCmdLine. We can enforce
the use of the default by querying it again after the configuration is
parsed/cache updated.
2008-10-28 12:06:05 +00:00
Rob Bradford
0b6fdfb14d
bitbake-dev: Refactor configuration file parsing
...
Separate the parsing of the configuration files / recipes into a separate
function to the parsing of the command line. This parsing of the configuration
files now happens when updateCache() is called.
Some functionality has been moved from parseConfiguration() to __init__.
2008-10-28 11:40:03 +00:00
Rob Bradford
0b9da42bb5
bitbake-dev: Save the cooker log into the working directory.
...
This is necessary since with later refactoring the TMPDIR variable will not be
available at this point in time.
2008-10-28 11:40:03 +00:00
Rob Bradford
f5c494bba5
bitbake-dev: Remove use of self.configuration.cmd as state from shell
...
The shell updated the self.configuration.cmd variable since commans relied on
this implicit state. Since those commands now have an explicit task parameter
such state manipulation is no longer necessary.
2008-10-27 10:19:55 +00:00
Rob Bradford
790ed68356
bitbake-dev: Remove implicit task from generateDepTree/generateDotGraphFiles
...
Remove the implicit (from configuration.cmd) command/task for these events and
instead use a parameter so that the task is given explicitly.
2008-10-27 10:19:54 +00:00
Rob Bradford
22a326547d
bitbake-dev: Make the "buildFile" command use the task parameter
...
The "buildFile" command has a task parameter use it place of
self.configuration.cmd when adding to the runqueue.
2008-10-27 10:19:54 +00:00
Rob Bradford
c790192322
bitbake-dev: Make the task a parameter of the "tryBuild" command
...
And switch the runqueue to use this rather than keeping it in the
self.configuration.cmd variable
2008-10-27 10:19:54 +00:00
Rob Bradford
2684070ac6
bitbake-dev: Include target/command (from -c) in "buildTargets" command
...
This allows a UI to read / control which task for the given targets is used.
This makes it more consistent with the "buildFile" command.
2008-10-27 10:19:54 +00:00
Richard Purdie
0f9a47af1e
bitbake: Fix the wget fetcher so parameter portions of uris are ignored
2008-10-24 14:57:02 +01:00
Rob Bradford
fbfc669583
bitbake-dev: add a setVariable command
...
This is synonymous with the getVariable command and allows you to set values
in the data dictionary.
2008-10-24 14:44:30 +01:00
Rob Bradford
87fe772b8a
bitbake-dev: rename readVariable to getVariable
...
Changing the name of this command makes it more consistent with other command
names.
2008-10-23 14:58:36 +01:00
Rob Bradford
c26d6cfda0
bitbake-dev: Change terminology online/offline to sync/async
...
Change the terminology from online/offline to sync/async when referring to
commands that return a result immediately versus those that produce changes
that are emitted as events over time.
2008-10-23 14:28:11 +01:00
Richard Purdie
f0b1d561c7
bitbake: Preserve http_proxy and ftp_proxy in fetcher command execution
2008-10-23 13:34:24 +01:00
Richard Purdie
4815f7bc53
bitbake: Remove bogus test code
2008-10-22 22:26:24 +01:00
Richard Purdie
ede20a3245
bitbake: Improve proxy variable handling in fetchers
2008-10-22 22:24:03 +01:00
Rob Bradford
06db259785
bitbake-dev: add goggle - an experimental GTK UI.
2008-10-22 11:52:18 +01:00
Rob Bradford
f51afdc7b6
bitbake-dev: Include the worker's PID in events
...
When the runqueue forks off we save the pid inside the event module for that
thread. When we next fire an event then that PID gets included in the events.
2008-10-21 15:51:32 +01:00
Rob Bradford
3e045793c7
bitbake-dev: Dynamically load the UI module.
...
Dynamically load the UI from a module based on the UI name given. We still
however maintain a fixed set in here with the set of suggested UIs.
2008-10-21 12:39:23 +01:00
Richard Purdie
c53608b220
bitbake utils.py: Merge prunedir symlink fix from bitbake upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5551 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 14:19:36 +00:00
Robert Bradford
f105cdc88a
bitbake-dev: Remove the Pkg{Started, Failed, Succeeded} events and their handling in the UI
...
These events are superfluous now that BB operates on a task level granularity.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5541 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 11:35:49 +00:00
Richard Purdie
7a4b36a7d1
bitbake: Add some sanity checks to the lockfile functions
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5534 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 11:04:26 +00:00
Robert Bradford
d636d1b1ef
bitbake-dev: Don't fallback if the UI fails to start; give an error message on UI exception
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 09:47:08 +00:00
Robert Bradford
bd63867cbe
bitbake-dev: Move the ncurses TTY check into the UI plugin itself.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5529 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 09:46:59 +00:00
Robert Bradford
9294b95174
bitbake-dev: Refactor the environment variable handling.
...
Do not clear the environment when saving the environment to the data store.
Instead clear this once the cooker has forked. This ensures that the UI
operates in a filtered (but not empty) environment.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5526 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 09:46:23 +00:00
Richard Purdie
228f25bb45
bitbake: cooker.py: Fix the point the configuration __depends is renamed
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5453 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 14:02:06 +00:00
Richard Purdie
4d2a3b6a3d
bitbake providers.py: Fix message typo and improve debug info
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5416 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-06 08:19:42 +00:00
Richard Purdie
f4337b9803
bitbake utils.py: Fix ocassional locking glitch with a better retrying mechanism
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5415 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-06 08:09:11 +00:00
Richard Purdie
1dc91f00fd
fetch/__init__.py: Add in hooks to make sure osc fetcher is seen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 22:15:38 +00:00
Richard Purdie
cd872118e7
bitbake: Fix nostamp flag handling bug
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5368 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 13:55:17 +00:00
Richard Purdie
3c7454cb38
bitbake/bitbake-dev: Bump cache version after AUTOREV DONT_CACHE changes
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5362 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 09:58:26 +00:00
Richard Purdie
979f987c44
bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:54:47 +00:00
Joshua Lock
e2d321075a
Add OEROOT to preserved_envvars_list.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5351 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:49:11 +00:00
Richard Purdie
efe3d75208
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5350 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:12:36 +00:00
Joshua Lock
419f18450d
Fix better_exec error message to actually report filename.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5349 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:07:13 +00:00
Richard Purdie
2e182847e4
bitbake/bitbake-dev: Allow much better control of which variable influence bitbake from the environment
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5347 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:57:18 +00:00
Richard Purdie
221ac2b25f
bitbake/bitbake-dev: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5346 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:46:17 +00:00
Marcin Juszkiewicz
f3937639b2
AUTHORS: update my email in BitBake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5344 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 19:54:49 +00:00
Joshua Lock
cbaab65ff4
Merge changes from Poky bitbake 1.8
...
Update bitbake-dev to have extra fixes from Poky's internal (1.8) version of bitbake.
Should be able to use bitbake-dev with Poky now.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5340 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 16:54:37 +00:00
Richard Purdie
d54280dd31
bitbake-dev: Update against bitbake trunk
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5339 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 15:22:44 +00:00
Richard Purdie
c30eddb243
Add bitbake-dev to allow ease of testing and development of bitbake trunk
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5337 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 15:08:33 +00:00