meta-setup

  1. meta-setup
    1. Introduction
    2. Requirements
    3. Usage:
    4. Commands
      1. check
      2. reinstall
      3. upgrade
      4. dependencies
    5. Author
    6. License
    7. Version History

Introduction

This extension provides a command-line tool named chicken-meta-setup that provides some operations on extension repositories as a whole, like upgrading all installed eggs or re-installation of all eggs in the repository.

Requirements

http, tool, format-modular and topological-sort.

Usage:

usage: chicken-meta-setup [COMMAND [OPTION | ARGUMENT] ...]

Provides various operations on a local CHICKEN extension repository

Global options:

        -h --help       show this message
        --tree ARGUMENT read repository tree from file
        --host ARGUMENT specify alternative host for downloading
        --setup-program ARGUMENT        specify alternative setup program (default: "chicken-setup")
        --setup-options ARGUMENT        give additional options for `chicken-setup' program
        --repository ARGUMENT   specify local target repository
        -x --exclude ARGUMENT  exclude list of extensions (space or comma separated)
        -v --verbose    show executed commands
        -d --dry-run    show, but do not execute commands
        -q --quiet      do not show informational output
        -y --dont-ask   always continue, do not ask user

An internet connection must be available for this tool to work.

Commands

check

 chicken-meta-setup check

Lists extensions for which an upgrade is available.

reinstall

 chicken-meta-setup reinstall [EXTENSION ...]

Re-installs all currently installed eggs, or those which have been given as arguments (including their dependencies). A previously aborted reinstallation run can be continued by giving the --resume option.

upgrade

 chicken-meta-setup upgrade [EXTENSION ...]

Installs all extensions for which an upgrade is available, or those which have been given as arguments (including their dependencies). A previously aborted upgrade run can be continued by giving the --resume option.

dependencies

 chicken-meta-setup dependencies [EXTENSION ...]

Shows the dependency tree for all installed eggs, or those which have been given as arguments. The option --dump prints the dependency tree in S-expression format.

Author

felix winkelmann

License

Copyright (c) 2007, Felix L. Winkelmann
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

0.8
added awareness for repository release branches
0.7
reinstall didn't ignore meta-setup itself [Thanks to mario domenench goulart]
0.6
ignores re-installation of itself, other improvements [Thanks to Benedik Rosenau]
0.5
output from check command listed installed version twice
0.4
fixed bug in format string in dependencies command
0.3
fixed bug in pathname generation for host URL [thanks to Kon Lovett]
0.2
added --exclude option
0.1
initial release