A command line tool to fetch the sources for the given eggs and their dependencies, so that they can be installed by chicken-install without Internet access. This tool also generates a simple shell script install.sh that can be run to install the eggs in the proper order to satisfy the dependencies.
$ egg-pack-sources --help Usage: egg-pack-sources [ <options> ] <egg1>[:<version>] [ <egg2>[:<version>] ... ] egg-pack-sources --help | -help | -h egg-pack-sources --version <options>: --output-dir=<outdir> directory where to write egg sources (default: $PWD) --chicken-install=<path> path to chicken-install (default: get from $PATH) --chicken-install-args=<args> arguments for chicken-install (default: empty) --force-versions fetch versions specified on the command the line, even if they don't satisfy the requirements by other eggs. --installer-script=<filename> filename to write to installer script to (default: install.sh) --verbose show verbose messages --version show version and exit
Copyright (c) 2008-2011, Mario Domenech Goulart All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- Fix release-info for previous releases
- Add --installer-script command line option (suggested by John Cowan)
- Bug fix: avoid refetching eggs that are both dependencies and specified on the command line
- Respect egg versions specified on the command line
- New command line options: --version, --force-versions and --verbose
- Initial release