Commit Graph

67 Commits

Author SHA1 Message Date
Richard Purdie
44a88198c1 bitbake: Make sure existing environment variables are properly exported
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-09 15:28:17 +01:00
Richard Purdie
bb98685a71 bitbake: fetch/init: Add 'HOME' to list of variables exported when runnig fetcher commands 2009-01-19 22:28:49 +00:00
Richard Purdie
3ec9a7de2a bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url 2009-01-06 19:56:02 +00:00
Richard Purdie
772ec7db08 bitbake-dev: Add BBCLASSEXTEND support 2009-01-03 16:33:11 +00:00
Richard Purdie
ade351e2f4 bitbake: Add in code to support the BBCLASSEXTEND variable. Virtual native/sdk recipes then become possible 2009-01-03 16:25:20 +00:00
Richard Purdie
28fd9dadbd bitbake/cache.py: Simplify logic 2009-01-03 00:10:10 +00:00
Richard Purdie
250b021154 bitbake/BBHandler.py: Move handler finalisation code into a separate function 2009-01-02 23:49:18 +00:00
Richard Purdie
7695704eab bitbake: Add bb.utils.prune_suffix() 2008-12-31 22:58:57 +00:00
Richard Purdie
ee1f065078 bitbake: Make sure the git remote head viewer preserves the username 2008-12-17 12:07:41 +00:00
Richard Purdie
ffdec425bf bitbake/bitbake-dev: Sync with upstream 2008-12-06 13:16:13 +00:00
Robert Bragg
c1a12b7d20 Adds username support to the git fetcher, and exports SSH_AGENT_PID + SSH_AUTH_SOCK
The SSH_AGENT_PID + SSH_AUTH_SOCK environment variables are needed if you
are using ssh-agent to hold passwords for your ssh keys.
2008-12-03 16:21:45 +00:00
Rob Bradford
199828c20e bitbake-dev: Add basics of "puccho" image builder UI 2008-12-01 20:50:34 +00:00
Rob Bradford
340b2b5612 bitbake-dev: Refactor goggle to pull out useful components.
Separate the GTK components and abstractions to a separate module where they
can be used by other user interfaces. This module includes the model, the view
and abstraction that populates the model.
2008-12-01 20:50:21 +00:00
Richard Purdie
6f92ab0d55 bitbake-dev: Ignore SkipPackage and FunFailed errors when looking for python task failures 2008-11-07 15:05:25 +00:00
Richard Purdie
4f5bb4683d bitbake-dev: Fix python function task execution failure handling 2008-11-07 14:45:55 +00:00
Richard Purdie
fc50fe5f2d bitbake-dev: Always include logs for now 2008-11-07 14:08:11 +00:00
Richard Purdie
ab3b4576ce bitbake-dev: Fix knotty fatal message handling and ignore configparsed events 2008-11-07 13:59:12 +00:00
Richard Purdie
5be6bb070b bitbake-dev: Handle fatal events correctly 2008-11-07 13:31:05 +00:00
Richard Purdie
e7e2009277 bitbake-dev: Fix exit code value handling 2008-11-07 09:42:16 +00:00
Richard Purdie
b6b37f065c bitbake: Improve error message for missing class files 2008-11-06 00:12:31 +00:00
Richard Purdie
610b53fcb9 bitbake: Optionally take username/password options from url parameters 2008-11-05 10:31:40 +00:00
Richard Purdie
510d5d7f4d bitbake wget.py: Fix problem with empty proxy variables 2008-11-04 21:11:58 +00:00
Richard Purdie
c2ef2d4f5a bitbake: Improve proxy handling got wget so urls can be excluded from the proxy 2008-11-04 19:13:03 +00:00
Richard Purdie
4c626238e7 base.bbclass: Set GIT_CONFIG correctly 2008-11-04 13:32:35 +00:00
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