NAME

youri-upload - package upload agent

VERSION

Version 2.0

SYNOPSIS

youri-upload [options] <target> <files>

Options:

    --config <file>        use file <file> as config file
    --skip-check <check>   skip check <check>
    --skip-action <action> skip action <action>
    --define <key>=<value> pass additional values
    --verbose              verbose run
    --test                 test run
    --help                 print this help message

DESCRIPTION

youri-upload allows to upload packages in a repository.

All packages given on command lines are passed to a list of check plugins, depending on given upload target. If none of them fails, all packages are passed to a list of action plugins, depending also on given upload target.

OPTIONS

--config file

Use given file as configuration, instead of normal one.

--skip-check id

Skip check plugin with given identity.

--skip-action id

Skip action plugin with given identity.

--define <key>=<value>

Define additional parameters, to be used by plugins.

--verbose

Produce more verbose output (can be used more than once)

--test

Don't perform any modification.

--help

Print a brief help message and exits.

CONFIGURATION

Configuration is read from the first file found among:

All additional configuration files specified by includes directive are then processed. Then command line options. Any directive overrides prior definition.

includes files

Uses space-separated list files as a list of additional configuration files.

repository id

Declares a repository object with identity id.

targets ids

Declares a list of upload target objects with identity taken in space-separated list ids.

Each object declared in configuration must be fully defined later, using a configuration section, starting with bracketed object identity, followed by at least a class directive, then any number of additional object-specific directives.

Example:

        objects = foo
        
        [foo]
        class = Foo::Bar
        key1  = value1
        key2  = value2

SEE ALSO

Youri::Config, for configuration file format.

Each used plugin man page, for available options.

COPYRIGHT AND LICENSE

Copyright (C) 2002-2006, YOURI project

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.