a few non-code updates
allow xz decompression of source archives
report the working directory for failed commands
Add phase name to log files for phased recipes.
only prepare source once
A package that needs to prepare its sources should only do so once. Otherwise, patches may be applied multiple times, leading to problems.
improve env var handling in command lines
Sometimes, the value of an environment variable is a quoted string, in which case the stupid "break on spaces" logic fails. Regular expressions are more reliable.
Handle commands with leading environment vars
When running a command like 'CC=gcc ./configure blahblahblah', litbuild should work like bash and run the command './configure blahblahblah' with the environment variable CC set to 'gcc'.
Clean up obsolete stuff
use one log file for the entire stage
build-dir can now be phase-specific
For a package with phases, build-dir can be specified in the base directives section and any subset of the phase sections. When building a phase, the build-dir directive for that phase will be used if there is one; otherwise the base build-dir directive will...
fix patching and logfile
Log file names should include the recipe name (they should also include the phase name but don't do that yet). When preparing sources, Package should apply patches in the source directory rather than the build directory.
Unpack the tarball in the parent directory.
Package source directories are now handled differently. Instead of telling the Package where the source directory is (or should be), tell it what the parent of the source directory is. The package will assume its source directory should be packagename-version.
refactor parameters_used
Ensure that all necessary parameters are discovered at initialization time, for Package as well as for Recipe.
refactor should_prepare_source so it's only evaluated once
reorder constructor parameters
encapsulate logfile name policy
Depending on the way that a build is being done, the client may want to put logfiles in different places or name them different things. The location and name of logfiles can now be specified in a LogPolicy object.
The original naming policy is the PackageUserNamingPolicy, since...
add convenience file to load all source
Commands understands phases just like Package.
Commands now works, basically.
Lots of refactoring to pull the appropriate stuff into Recipe.
initial Commands files
convert specs to use Pathname
Rename BuildFile to Recipe
refactor Package: extract superclass
litbuild should be able to handle more than one type of build file. Package description files are the primary focus at the moment, but it will also be necessary to handle miscellaneous commands that don't fit into a package (like commands that create...
Improve documentation somewhat
Also add a note about what litbuild depends on, and remove the hard dependency on ruby-debug.
1 2 Next » (1-25/41) | Per page: 25, 50, 100
Also available in: Atom