Chris Larson [Mon, 16 Jun 2003 21:11:09 +0000 (21:11 +0000)]
Update TODO
Chris Larson [Mon, 16 Jun 2003 21:11:09 +0000 (21:11 +0000)]
Chris Larson [Mon, 16 Jun 2003 18:03:33 +0000 (18:03 +0000)]
Update TODO
Chris Larson [Mon, 16 Jun 2003 18:03:33 +0000 (18:03 +0000)]
Adapt oemake to follow deps, and keep a cache of packages that we already attempted to build.
Chris Larson [Mon, 16 Jun 2003 18:03:33 +0000 (18:03 +0000)]
Chris Larson [Mon, 16 Jun 2003 17:39:37 +0000 (17:39 +0000)]
Make oemake follow dependencies, and handle provides, in its build of the items in OEFILES.
Chris Larson [Mon, 16 Jun 2003 17:39:37 +0000 (17:39 +0000)]
Fix fetch use
Chris Larson [Mon, 16 Jun 2003 02:41:27 +0000 (02:41 +0000)]
Better default values for the expandData() function. Now if you supply only a single data var, it'll use that var for both read & write.
Chris Larson [Mon, 16 Jun 2003 02:41:27 +0000 (02:41 +0000)]
BUGFIX: fetch call from patcher function
Chris Larson [Mon, 16 Jun 2003 02:41:27 +0000 (02:41 +0000)]
Add task events, and fire the events when appropriate.
Chris Larson [Mon, 16 Jun 2003 02:41:27 +0000 (02:41 +0000)]
Add pkg success and fail events to oemake impl.
Chris Larson [Mon, 16 Jun 2003 02:39:49 +0000 (02:39 +0000)]
Pull the init function from ConfHandler into OEHandler, since they share the same base init code for now.
Chris Larson [Mon, 16 Jun 2003 02:39:49 +0000 (02:39 +0000)]
Move OEPATH follow into handle functions of the parsers.
Chris Larson [Mon, 16 Jun 2003 02:39:16 +0000 (02:39 +0000)]
Update TODO
Chris Larson [Sun, 15 Jun 2003 21:00:08 +0000 (21:00 +0000)]
Update TODO
Chris Larson [Sun, 15 Jun 2003 20:42:02 +0000 (20:42 +0000)]
event
Chris Larson [Sun, 15 Jun 2003 20:42:02 +0000 (20:42 +0000)]
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
OE Package
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Further proof of concept in oemake
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Delete: bin/oeparse/__init__.py
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Delete: bin/oeparse/OEHandler.py
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Delete: bin/oeparse/ConfHandler.py
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Delete: bin/oefetch.py
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Delete: bin/oedata.py
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Delete: bin/oe.py
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
BUGFIX: Handle the case where a variable is None in our data store in the emit_env function
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Adding recent .oe parser enhancements back into the new package.
Chris Larson [Sat, 14 Jun 2003 17:29:02 +0000 (17:29 +0000)]
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
bk cp oefetch.py oe/fetch.py
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
bk cp oedata.py oe/data.py
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
bk cp oe.py oe/__init__.py
Chris Larson [Sat, 14 Jun 2003 04:37:29 +0000 (04:37 +0000)]
Chris Larson [Sat, 14 Jun 2003 04:09:27 +0000 (04:09 +0000)]
update TODO
Chris Larson [Sat, 14 Jun 2003 04:09:27 +0000 (04:09 +0000)]
Make oedata.emit_env expand the data prior to emitting.
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).
Chris Larson [Sat, 14 Jun 2003 03:52:35 +0000 (03:52 +0000)]
Add emit_env to the oedata stuff.
Chris Larson [Sat, 14 Jun 2003 03:01:15 +0000 (03:01 +0000)]
Remove depcrecated fetch interface
Chris Larson [Sat, 14 Jun 2003 02:54:35 +0000 (02:54 +0000)]
Alter oebuild to use new fetch syntax
Chris Larson [Sat, 14 Jun 2003 02:54:35 +0000 (02:54 +0000)]
Adapt things to new fetch interface
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Update the fetch implementation to no longer use a FetchUrls class.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Update oemake implementations to test out the oeparse code.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Make oeread use the new oeparse code.
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Delete: bin/oeparser.py
Chris Larson [Sat, 14 Jun 2003 02:44:20 +0000 (02:44 +0000)]
Add init and setData functions to oedata.
Chris Larson [Thu, 12 Jun 2003 20:52:21 +0000 (20:52 +0000)]
Update TODO
Chris Larson [Thu, 12 Jun 2003 20:45:34 +0000 (20:45 +0000)]
Add firstnonzero method to digraph class.
Chris Larson [Thu, 12 Jun 2003 20:36:35 +0000 (20:36 +0000)]
Chris Larson [Thu, 12 Jun 2003 20:06:40 +0000 (20:06 +0000)]
Chris Larson [Wed, 11 Jun 2003 23:58:14 +0000 (23:58 +0000)]
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
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.
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.
Chris Larson [Wed, 11 Jun 2003 21:24:24 +0000 (21:24 +0000)]
Raise exception on failure in python patcher code
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.
Chris Larson [Wed, 11 Jun 2003 21:24:24 +0000 (21:24 +0000)]
Bugfix, remove the parms from the url prior to fetch
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.
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.
Chris Larson [Wed, 11 Jun 2003 04:22:40 +0000 (04:22 +0000)]
Finishing up the python ver of the patch application func.
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.
Chris Larson [Wed, 11 Jun 2003 02:47:08 +0000 (02:47 +0000)]
BUGFIX: Dont emit a python function into the shell run code.
Chris Larson [Tue, 10 Jun 2003 23:46:14 +0000 (23:46 +0000)]
Enhance include function for dealing with relative paths.
Chris Larson [Tue, 10 Jun 2003 23:25:47 +0000 (23:25 +0000)]
Exclude
Chris Larson [Tue, 10 Jun 2003 23:22:31 +0000 (23:22 +0000)]
Fix for the unpacker wrt directories
Chris Larson [Tue, 10 Jun 2003 22:39:06 +0000 (22:39 +0000)]
Chris Larson [Tue, 10 Jun 2003 21:39:02 +0000 (21:39 +0000)]
New addtask syntax
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.
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
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.
Chris Larson [Tue, 10 Jun 2003 16:30:52 +0000 (16:30 +0000)]
Correct the logic of the new addtask syntax
Chris Larson [Tue, 10 Jun 2003 14:41:04 +0000 (14:41 +0000)]
Add bits for 'python' declaration for function format blocks
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.
Chris Larson [Tue, 10 Jun 2003 05:37:31 +0000 (05:37 +0000)]
slight reorder
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.
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 :)
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.
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.
Chris Larson [Tue, 10 Jun 2003 00:39:05 +0000 (00:39 +0000)]
Make the base class use patcher for patch application.
Chris Larson [Mon, 9 Jun 2003 22:48:34 +0000 (22:48 +0000)]
Allow passing data in the FileReader constructor
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.
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.
Chris Larson [Mon, 9 Jun 2003 20:25:21 +0000 (20:25 +0000)]
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.
Chris Larson [Mon, 9 Jun 2003 16:45:04 +0000 (16:45 +0000)]
Delete: bin/fetch
Chris Larson [Mon, 9 Jun 2003 16:32:37 +0000 (16:32 +0000)]
s/+=/=/
Chris Larson [Mon, 9 Jun 2003 16:32:37 +0000 (16:32 +0000)]
Call out mkdirhier to ensure DL_DIR exists.
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]
Use os.chdir() rather than a cd within the system() call.
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]
Pass .oe filename and follow OEPATH in parse test tool.
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.
Chris Larson [Mon, 9 Jun 2003 16:24:32 +0000 (16:24 +0000)]
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.
Chris Larson [Fri, 6 Jun 2003 14:52:10 +0000 (14:52 +0000)]
Add a few exceptions and remove the return and fatal calls
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.
Chris Larson [Fri, 6 Jun 2003 10:35:41 +0000 (10:35 +0000)]
Add an extremely basic go() implementation for the Cvs class.
Chris Larson [Fri, 6 Jun 2003 10:35:41 +0000 (10:35 +0000)]
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]
Alternate env dictionaries
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.
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
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.
Chris Larson [Thu, 5 Jun 2003 22:47:34 +0000 (22:47 +0000)]