chickadee » henrietta-cache-git

Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

henrietta-cache-git

Description

henrietta-cache-git is a command line tool to convert henrietta's cache (i.e., the cache created by henrietta-cache into a git repository.

Author

Mario Domenech Goulart

Repository

https://github.com/mario-goulart/henrietta-cache-git

Requirements

The external program git is required.

CHICKEN 4

None.

CHICKEN 5

Tools

This egg provides two command line tools: henrietta-cache-git and henrietta-cache-update-latest-versions.

henrietta-cache-git

henrietta-cache-git manages a git repository based on henrietta's cache.

 Usage: henrietta-cache-git <command> [--all-versions] <egg sources dir>
 
 Commands:
 
 initialize:
     Initialize a git repository in <egg sources dir>.  If --all-versions
     is provided, then all egg versions will be added to the git repository.
 
 update:
     Update a previously initialized git repository with the changes in
     <egg sources dir>, respecting --all-versions.  In other words, it
     handles the untracked files in <egg sources dir>.  If --all-versions
     is provided, the untracked files are added to the repository.  If
     --all-versions is not provided, the older versions are removed.

henrietta-cache-update-latest-versions

henrietta-cache-update-latest-versions copies the latest versions from a cache dir (built by henrietta-cache to a directory managed by henrietta-cache-git.

 Usage: henrietta-cache-update-latest-versions <henrietta-cache dir> <henrietta-cache git dir>

License

Copyright (c) 2019, 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 0.0.1