chickadee » egg-tarballs

egg-tarballs

Description

A command line tool to generate tarballs and their respective sha1 sums for eggs in henrietta cache.

Author

Mario Domenech Goulart

Repository

https://github.com/mario-goulart/egg-tarballs

Requirements

Eggs

External tools

Tools

This egg provides two command line tools: egg-tarballs and egg-tarballs-index.

egg-tarballs

egg-tarballs generates tarballs for egg sources from a cache directory generated by henrietta-cache.

 Usage: egg-tarballs [-verbose] [-version] <henrietta-cache-dir> <tarballs-dir>
 
 Create tarball files under <tarballs-dir>, using egg source files from
 <henrietta-cache-dir>.

<henrietta cache dir> is the path to the henrietta cache directory containing egg sources. <tarballs dir> is the directory where tarballs will be generated.

egg-tarballs-index

egg-tarballs-index generates index files for eggs. Index files summarize information about all eggs (see the next subsection for their format). egg-tarballs-index generates two index files: a small one (index-latest.scm), containing information about the latest egg versions only; and a bigger one (index.scm), containing information about all versions of all eggs.

 $ egg-tarballs-index -h
 Usage: egg-tarballs-index <optional-parameters> <required-parameters>
 
 Create index.scm and index-latest.scm files with metadata about eggs.
 
 <required-parameters>:
   -chicken-version <chicken version>
    CHICKEN major version to consider.
 
   -henrietta-cache-dir
    Path to the henrietta cache directory.
 
   -tarballs-dir
    Path to the tarballs directory.
 
 <optional-parameters>:
   -O|-out-dir <out dir>
     Output directory.  If not provided, files are written to the current
     directory.
 
   -version:
     Show the program version and exit.
 
 This program must be run _after_ egg-tarballs, since it needs
 information from tarballs and sum files.
Index file format
 (<egg> <version> <tarball size> <tarball SHA1 sum> <dependencies> <test dependencies>)

Notes

License

Copyright (c) 2011-2024, 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.

Version history

version 1.0.1 (2024-10-04)
version 1.0.0 (2024-10-04)
version 0.10.0 (2021-12-25)
version 0.9.0
version 0.8.1
version 0.8.0
version 0.7.2
version 0.7.1
version 0.7.0
version 0.6.0
version 0.5.0
version 0.4.1
version 0.4
version 0.3
version 0.2