youri-submit

Langue: en

Version: 2008-03-10 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

youri-submit - package submission tool

VERSION

Version 2.0

SYNOPSIS

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

youri-submit --list <category> [target]

youri-submit --help [category] [item]

Options:

     --config <file>        use file <file> as config file
     --skip-test <test>   skip test <test>
     --skip-action <action> skip action <action>
     --define <key>=<value> pass additional values
     --clean                delete package after success
     --verbose              verbose run
     --test                 test run
     --list <category>      list items from given category
     --help [category]      display contextual help
 
 

DESCRIPTION

youri-submit allows to submit packages to a repository.

All packages given on command lines are passed to a list of test 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-test id
Skip test plugin with given identity.
--skip-action id
Skip action plugin with given identity.
--define <key>=<value>
Define additional parameters, to be used by plugins.
--clean
Delete submited packages upon successfull submission.
--verbose
Produce more verbose output (can be used more than once)
--test
Don't perform any modification.
--list category
List available items from given category and exits. Category must be either targets, actions or tests. A target is needed for the two last ones.
--help category
Display help for given category and exits. Category must be either repository, action or test. An item is needed for the two last ones. If no category given, display standard help.

CONFIGURATION

Configuration is read from the first file found among:
the one specified by --config option on command-line
$HOME/.youri/submit.conf
/etc/youri/submit.conf

The configuration file should be a YAML-format files, with the following mandatory top-level directives:

repository
The definition of repository plugin to be used.
targets
The list of available submission targets, each one being composed from the following keys:
tests
The list of test plugins to use for this target.
actions
The list of action plugins to use for this target.
tests
The list of test plugin definitions, indexed by their identity.
actions
The list of action plugin definitions, indexed by their identity.

SEE ALSO

Youri::Config, for additional details about configuration file format.

Each used plugin man page, for available options.

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.