bitbake.git
18 years agobk cp oefetch.py oe/fetch.py
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
bk cp oefetch.py oe/fetch.py

18 years agobk cp oedata.py oe/data.py
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
bk cp oedata.py oe/data.py

18 years agobk cp oe.py oe/__init__.py
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
bk cp oe.py oe/__init__.py

18 years ago(no commit message)
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]

18 years agoupdate TODO
Chris Larson [Sat, 14 Jun 2003 04:09:27 +0000 (04:09 +0000)]
update TODO

18 years agoMake oedata.emit_env expand the data prior to emitting.
Chris Larson [Sat, 14 Jun 2003 04:09:27 +0000 (04:09 +0000)]
Make oedata.emit_env expand the data prior to emitting.

18 years agoCatch the IOError exception so as not to fail out if hte file doesnt exist (just...
Chris Larson [Sat, 14 Jun 2003 04:09:27 +0000 (04:09 +0000)]
Catch the IOError exception so as not to fail out if hte file doesnt exist (just for testing).

18 years agoAdd emit_env to the oedata stuff.
Chris Larson [Sat, 14 Jun 2003 03:52:35 +0000 (03:52 +0000)]
Add emit_env to the oedata stuff.

18 years agoRemove depcrecated fetch interface
Chris Larson [Sat, 14 Jun 2003 03:01:15 +0000 (03:01 +0000)]
Remove depcrecated fetch interface

18 years agoAlter oebuild to use new fetch syntax
Chris Larson [Sat, 14 Jun 2003 02:54:35 +0000 (02:54 +0000)]
Alter oebuild to use new fetch syntax

18 years agoAdapt things to new fetch interface
Chris Larson [Sat, 14 Jun 2003 02:54:35 +0000 (02:54 +0000)]
Adapt things to new fetch interface

18 years agoUpdate the fetch implementation to no longer use a FetchUrls class.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Update the fetch implementation to no longer use a FetchUrls class.

18 years agoUpdate oemake implementations to test out the oeparse code.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Update oemake implementations to test out the oeparse code.

18 years agoMake oeread use the new oeparse code.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Make oeread use the new oeparse code.

18 years ago(no commit message)
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]

18 years agoDelete: bin/oeparser.py
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Delete: bin/oeparser.py

18 years agoAdd init and setData functions to oedata.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Add init and setData functions to oedata.

18 years agoUpdate TODO
Chris Larson [Thu, 12 Jun 2003 20:52:21 +0000 (20:52 +0000)]
Update TODO

18 years agoAdd firstnonzero method to digraph class.
Chris Larson [Thu, 12 Jun 2003 20:45:34 +0000 (20:45 +0000)]
Add firstnonzero method to digraph class.

18 years ago(no commit message)
Chris Larson [Thu, 12 Jun 2003 20:36:35 +0000 (20:36 +0000)]

18 years ago(no commit message)
Chris Larson [Thu, 12 Jun 2003 20:06:40 +0000 (20:06 +0000)]

18 years ago(no commit message)
Chris Larson [Wed, 11 Jun 2003 23:58:14 +0000 (23:58 +0000)]

18 years agoOutput a success message for the task the user supplied on the commandline
Chris Larson [Wed, 11 Jun 2003 22:15:52 +0000 (22:15 +0000)]
Output a success message for the task the user supplied on the commandline

18 years agoMake use of the new encodeurl function to strip off params in oefetch's wget method.
Chris Larson [Wed, 11 Jun 2003 22:15:52 +0000 (22:15 +0000)]
Make use of the new encodeurl function to strip off params in oefetch's wget method.

18 years agoAdd an encodeurl function, for rebuilding a url from a list as outputted by decodeurl...
Chris Larson [Wed, 11 Jun 2003 22:15:52 +0000 (22:15 +0000)]
Add an encodeurl function, for rebuilding a url from a list as outputted by decodeurl.. thereby permitting url manipulations based on the individual decoded parameters.

18 years agoRaise exception on failure in python patcher code
Chris Larson [Wed, 11 Jun 2003 21:24:24 +0000 (21:24 +0000)]
Raise exception on failure in python patcher code

18 years agoError handling fixes.. use exceptions to handle function execution failure states...
Chris Larson [Wed, 11 Jun 2003 21:24:24 +0000 (21:24 +0000)]
Error handling fixes.. use exceptions to handle function execution failure states, bugfix python function execution, and fix the stamp handling's dep checks.

18 years agoBugfix, remove the parms from the url prior to fetch
Chris Larson [Wed, 11 Jun 2003 21:24:24 +0000 (21:24 +0000)]
Bugfix, remove the parms from the url prior to fetch

18 years agoBUGFIXES: Dont expand all the per app missing vars immediately, expand at emit time...
Chris Larson [Wed, 11 Jun 2003 21:24:24 +0000 (21:24 +0000)]
BUGFIXES: Dont expand all the per app missing vars immediately, expand at emit time.  Make the movefile function actually work, and remove some unused vars from envflags.

18 years agoRemove inconsistencies in task vs func name, and fix EXPORT_FUNCTIONS for python...
Chris Larson [Wed, 11 Jun 2003 04:22:40 +0000 (04:22 +0000)]
Remove inconsistencies in task vs func name, and fix EXPORT_FUNCTIONS for python functions.

18 years agoFinishing up the python ver of the patch application func.
Chris Larson [Wed, 11 Jun 2003 04:22:40 +0000 (04:22 +0000)]
Finishing up the python ver of the patch application func.

18 years agoBUGFIX: Correct extraction paths for .gz, .Z, etc now that we set A properly.
Chris Larson [Wed, 11 Jun 2003 04:22:40 +0000 (04:22 +0000)]
BUGFIX: Correct extraction paths for .gz, .Z, etc now that we set A properly.

18 years agoBUGFIX: Dont emit a python function into the shell run code.
Chris Larson [Wed, 11 Jun 2003 02:47:08 +0000 (02:47 +0000)]
BUGFIX: Dont emit a python function into the shell run code.

18 years agoEnhance include function for dealing with relative paths.
Chris Larson [Tue, 10 Jun 2003 23:46:14 +0000 (23:46 +0000)]
Enhance include function for dealing with relative paths.

18 years agoExclude
Chris Larson [Tue, 10 Jun 2003 23:25:47 +0000 (23:25 +0000)]
Exclude

18 years agoFix for the unpacker wrt directories
Chris Larson [Tue, 10 Jun 2003 23:22:31 +0000 (23:22 +0000)]
Fix for the unpacker wrt directories

18 years ago(no commit message)
Chris Larson [Tue, 10 Jun 2003 22:39:06 +0000 (22:39 +0000)]

18 years agoNew addtask syntax
Chris Larson [Tue, 10 Jun 2003 21:39:02 +0000 (21:39 +0000)]
New addtask syntax

18 years agoIn the exception handling for the fetch, use the value passed up as the message,...
Chris Larson [Tue, 10 Jun 2003 21:28:24 +0000 (21:28 +0000)]
In the exception handling for the fetch, use the value passed up as the message, for more verbose output.

18 years agosimplified the support() functions
Holger Schurig [Tue, 10 Jun 2003 20:18:04 +0000 (20:18 +0000)]
simplified the support() functions
decodeurl() once, not up to n times
don't calulate self.urls if we're going to raise an exception anyway

18 years agoCheck the fetch stamp in do_fetch to prevent unnecessary redownloads (since the wget...
Chris Larson [Tue, 10 Jun 2003 18:16:16 +0000 (18:16 +0000)]
Check the fetch stamp in do_fetch to prevent unnecessary redownloads (since the wget method doesnt check for file completion yet.

18 years agoCorrect the logic of the new addtask syntax
Chris Larson [Tue, 10 Jun 2003 16:30:52 +0000 (16:30 +0000)]
Correct the logic of the new addtask syntax

18 years agoAdd bits for 'python' declaration for function format blocks
Chris Larson [Tue, 10 Jun 2003 14:41:04 +0000 (14:41 +0000)]
Add bits for 'python' declaration for function format blocks

18 years agoBUGFIX: in FetchUrls class that resulted in urls becoming a dict instead of an array...
Chris Larson [Tue, 10 Jun 2003 14:26:02 +0000 (14:26 +0000)]
BUGFIX: in FetchUrls class that resulted in urls becoming a dict instead of an array when called a second time.

18 years agoslight reorder
Chris Larson [Tue, 10 Jun 2003 05:37:31 +0000 (05:37 +0000)]
slight reorder

18 years agoAdd fetch back to unpack deps, and correct naming of the fetch stamp.
Chris Larson [Tue, 10 Jun 2003 05:37:31 +0000 (05:37 +0000)]
Add fetch back to unpack deps, and correct naming of the fetch stamp.

18 years agoUpdate patcher use to make use of the addtask function.. we now have a new 'patch...
Chris Larson [Tue, 10 Jun 2003 05:10:30 +0000 (05:10 +0000)]
Update patcher use to make use of the addtask function.. we now have a new 'patch' task that sits between compile and unpack :)

18 years agoAdding second and third opts to addtask command, to specify things the function depen...
Chris Larson [Tue, 10 Jun 2003 04:43:15 +0000 (04:43 +0000)]
Adding second and third opts to addtask command, to specify things the function depends on, and things that depend on the function.

18 years agoAdd an exec_python_task function, and also add support glue for an 'addtask' function...
Chris Larson [Tue, 10 Jun 2003 04:43:15 +0000 (04:43 +0000)]
Add an exec_python_task function, and also add support glue for an 'addtask' function, for adding functions to the task stack.

18 years agoMake the base class use patcher for patch application.
Chris Larson [Tue, 10 Jun 2003 00:39:05 +0000 (00:39 +0000)]
Make the base class use patcher for patch application.

18 years agoAllow passing data in the FileReader constructor
Chris Larson [Mon, 9 Jun 2003 22:48:34 +0000 (22:48 +0000)]
Allow passing data in the FileReader constructor

18 years agoCorrect the doc display for the usage information.. it shouldnt care that the functio...
Chris Larson [Mon, 9 Jun 2003 22:48:34 +0000 (22:48 +0000)]
Correct the doc display for the usage information.. it shouldnt care that the function name is do_ or not.

18 years agoChange note to fatal calls in the oebuild fetch exception handling, since the do_...
Chris Larson [Mon, 9 Jun 2003 20:25:50 +0000 (20:25 +0000)]
Change note to fatal calls in the oebuild fetch exception handling, since the do_* functions dont implement proper failout and cleanup.

18 years ago(no commit message)
Chris Larson [Mon, 9 Jun 2003 20:25:21 +0000 (20:25 +0000)]

18 years agoAdd a instance of ConfigReader as an oeconf object in oeparser.py, thereby giving...
Chris Larson [Mon, 9 Jun 2003 17:56:21 +0000 (17:56 +0000)]
Add a instance of ConfigReader as an oeconf object in oeparser.py, thereby giving us a sane default globally accessible config reader.

18 years agoDelete: bin/fetch
Chris Larson [Mon, 9 Jun 2003 16:45:04 +0000 (16:45 +0000)]
Delete: bin/fetch

18 years agos/+=/=/
Chris Larson [Mon, 9 Jun 2003 16:32:37 +0000 (16:32 +0000)]
s/+=/=/

18 years agoCall out mkdirhier to ensure DL_DIR exists.
Chris Larson [Mon, 9 Jun 2003 16:32:37 +0000 (16:32 +0000)]
Call out mkdirhier to ensure DL_DIR exists.

18 years agoUse os.chdir() rather than a cd within the system() call.
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]
Use os.chdir() rather than a cd within the system() call.

18 years agoPass .oe filename and follow OEPATH in parse test tool.
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]
Pass .oe filename and follow OEPATH in parse test tool.

18 years agoAlter oebuild to make use of oefetch so we can catch the corner bugs in its functiona...
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]
Alter oebuild to make use of oefetch so we can catch the corner bugs in its functionality.

18 years ago(no commit message)
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]

18 years agoCorrection to the inherit code so that classname gets set properly when we go more...
Chris Larson [Fri, 6 Jun 2003 14:52:10 +0000 (14:52 +0000)]
Correction to the inherit code so that classname gets set properly when we go more than one level deep in inheritance.

18 years agoAdd a few exceptions and remove the return and fatal calls
Chris Larson [Fri, 6 Jun 2003 14:52:10 +0000 (14:52 +0000)]
Add a few exceptions and remove the return and fatal calls

18 years agoUse localpath override from the user in the localpath methods as well.
Chris Larson [Fri, 6 Jun 2003 11:25:52 +0000 (11:25 +0000)]
Use localpath override from the user in the localpath methods as well.

18 years agoAdd an extremely basic go() implementation for the Cvs class.
Chris Larson [Fri, 6 Jun 2003 10:35:41 +0000 (10:35 +0000)]
Add an extremely basic go() implementation for the Cvs class.

18 years ago(no commit message)
Chris Larson [Fri, 6 Jun 2003 10:35:41 +0000 (10:35 +0000)]

18 years agoAlternate env dictionaries
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]
Alternate env dictionaries

18 years agoAdd localpath method for Local fetch class, and allow user override of 'localpath...
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]
Add localpath method for Local fetch class, and allow user override of 'localpath' for methods.

18 years agoAdd initial .oe format parser using classes, and use it in the parse test app
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]
Add initial .oe format parser using classes, and use it in the parse test app

18 years agoAdd 'package' task after install, and add no-op implementation to base.oeclass.
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]
Add 'package' task after install, and add no-op implementation to base.oeclass.

18 years ago(no commit message)
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]

18 years agouse the "tasks" dict rather than globals() to list available tasks in usage()
Chris Larson [Thu, 5 Jun 2003 13:47:25 +0000 (13:47 +0000)]
use the "tasks" dict rather than globals() to list available tasks in usage()

18 years ago(no commit message)
Chris Larson [Thu, 5 Jun 2003 13:47:25 +0000 (13:47 +0000)]

18 years agoConsistency in implementation.
Chris Larson [Thu, 5 Jun 2003 03:04:51 +0000 (03:04 +0000)]
Consistency in implementation.

18 years agoAdd support to the expand function to pass in an alternative 'env' dict for expansion.
Chris Larson [Thu, 5 Jun 2003 03:04:51 +0000 (03:04 +0000)]
Add support to the expand function to pass in an alternative 'env' dict for expansion.

18 years agoAdd test, showenv functions back in.
Chris Larson [Tue, 3 Jun 2003 00:58:47 +0000 (00:58 +0000)]
Add test, showenv functions back in.

18 years agoAdd support for := vs = in var=value statements. := evaluates the variable immediatel...
Chris Larson [Tue, 3 Jun 2003 00:58:47 +0000 (00:58 +0000)]
Add support for := vs = in var=value statements. := evaluates the variable immediately, same as gnu makefiles

18 years agoBUGFIX: dont freak if a var isnt in envflags (broke when i added the 'export' option...
Chris Larson [Tue, 3 Jun 2003 00:36:16 +0000 (00:36 +0000)]
BUGFIX: dont freak if a var isnt in envflags (broke when i added the 'export' option support)

18 years agoSome bugfixes after actually testing a seperate OEDIR vs build dir
Chris Larson [Tue, 3 Jun 2003 00:31:44 +0000 (00:31 +0000)]
Some bugfixes after actually testing a seperate OEDIR vs build dir

18 years ago(no commit message)
Chris Larson [Tue, 3 Jun 2003 00:31:44 +0000 (00:31 +0000)]

18 years agoremove debug output for inheritance
Chris Larson [Mon, 2 Jun 2003 20:54:21 +0000 (20:54 +0000)]
remove debug output for inheritance

18 years agoImplement task interdependencies, though we dont really have error handling atm....
Chris Larson [Mon, 2 Jun 2003 20:54:21 +0000 (20:54 +0000)]
Implement task interdependencies, though we dont really have error handling atm.  We should use function return code or exceptions so that we can sanely cleanup on task execution failure.

18 years agoSince oe.py defines a sane default for OEPATH, we can use it to locate the toplevel...
Chris Larson [Mon, 2 Jun 2003 19:39:36 +0000 (19:39 +0000)]
Since oe.py defines a sane default for OEPATH, we can use it to locate the toplevel oe.conf.  Also follow oepath in sourcing of oebuild.sh

18 years agoRename: bin/build/base.oeclass -> bin/classes/base.oeclass
Chris Larson [Mon, 2 Jun 2003 19:39:36 +0000 (19:39 +0000)]
Rename: bin/build/base.oeclass -> bin/classes/base.oeclass

18 years agoImplement the use of oepath. Split OEDIR and TOPDIR paths, to facilitate a global...
Chris Larson [Mon, 2 Jun 2003 19:39:36 +0000 (19:39 +0000)]
Implement the use of oepath.  Split OEDIR and TOPDIR paths, to facilitate a global /usr/share/oe vs the current build dir.

18 years agolog.[func].[pid] rather than log.fetch.[pid]
Chris Larson [Mon, 2 Jun 2003 16:08:24 +0000 (16:08 +0000)]
log.[func].[pid] rather than log.fetch.[pid]

18 years agoDont use an absolute path in a call to os.path.join, as an absolute path results...
Chris Larson [Mon, 2 Jun 2003 16:08:24 +0000 (16:08 +0000)]
Dont use an absolute path in a call to os.path.join, as an absolute path results in it throwing out all previous path components, according to the documentation.

18 years agoMisplaced plus
Chris Larson [Mon, 2 Jun 2003 15:27:54 +0000 (15:27 +0000)]
Misplaced plus

18 years agoFetch called with two args when it only has one.
Chris Larson [Mon, 2 Jun 2003 15:27:54 +0000 (15:27 +0000)]
Fetch called with two args when it only has one.

18 years agoAuto merged
Chris Larson [Mon, 2 Jun 2003 14:23:02 +0000 (14:23 +0000)]
Auto merged

18 years agomisc update
Holger Schurig [Mon, 2 Jun 2003 14:23:02 +0000 (14:23 +0000)]
misc update

18 years agoAdd support for 'export' declaration on var lines in conf and oe files, which sets...
Chris Larson [Fri, 30 May 2003 23:46:43 +0000 (23:46 +0000)]
Add support for 'export' declaration on var lines in conf and oe files, which sets the export flag for said env var.

18 years agoMove return statement so that fetch works for multiple sources
Chris Larson [Fri, 30 May 2003 22:25:40 +0000 (22:25 +0000)]
Move return statement so that fetch works for multiple sources

18 years agoExport MAKE var
Chris Larson [Fri, 30 May 2003 22:08:20 +0000 (22:08 +0000)]
Export MAKE var

18 years ago(no commit message)
Chris Larson [Fri, 30 May 2003 21:33:31 +0000 (21:33 +0000)]

18 years ago'inherit' functionality
Chris Larson [Fri, 30 May 2003 21:33:31 +0000 (21:33 +0000)]
'inherit' functionality

18 years agoAdd 'include' directive for .oe files
Chris Larson [Fri, 30 May 2003 16:44:02 +0000 (16:44 +0000)]
Add 'include' directive for .oe files

18 years agoStaging include dir fixes
Chris Larson [Thu, 29 May 2003 22:25:23 +0000 (22:25 +0000)]
Staging include dir fixes

18 years agoenv[] -> getenv at various places
Holger Schurig [Sat, 17 May 2003 21:59:51 +0000 (21:59 +0000)]
env[] -> getenv at various places