arriero(1) | arriero | arriero(1) |
arriero - simplifies management of several Debian packages
arriero [--config FILE] [--verbose] [--quiet] command [options] [package names]
Arriero is a tool that allows simplifying the management of Debian packages, particularly useful when having to make new upstream releases, builds and uploads of similar packages. It relies heavily in the use of git-buildpackage and general git practices, so it's only useful for packages currently maintained through git.
If not specified, the default config file ~/.config/arriero.conf is read.
The main action that arriero will perform is determined by the command it receives. Each command may have its own specific options, that modify its behavior.
Build each package in a pbuilder. This will call git-pbuilder which will read local configurations from /etc/pbuilderrc and ~/.pbuilderrc.
Obtain the repository for each package. This command can either receive a list of package names or a git URL to clone from. When specifying a URL, it will create a new entry in the configuration file; if specifying a package name, it needs to already be present in the configuration.
When performing a clone from a URL, if the branches are not manually specified, arriero will try to guess their names, and store the guessed names in the configuration file.
Execute one or more scripts for each package. The scripts invoked will receive the properties of the packages as environment variables, and will be executed inside the package directory.
Fetch the current upstream tarball for each package.
List packages matching some criteria, with a specific format. This command allows specifying the desired format with which each package is going to be displayed.
Combine upstream and debian branches into either the original debian branch, or a new branch. This command is intended to be used when the debian branch doesn't include the upstream code and the user needs to have them together in order to work on the package (for example, to create a quilt package). Important: this command does not handle cleaning up the branch after the work is done. This has to be done manually by the user.
Obtain any new changes from the packages' repositories.
Push local changes to the packages' repositories.
Change the distribution in the changelog, committing the change to the local git. This command only has effect if the distribution in the changelog is either UNRELEASED or different than the one passed here.
If this option is not passed, but the version in the changelog was already a pre-release (i.e. it contained a ~), the it's modified to be a final release (without ~)
Show the status of each package. This command checks both the repository state (by using git to query any local/remote changes) and the upstream state (by using uscan)
Get the new upstream release for each package. This command not only downloads the new upstream tarball, but also updates the debian/changelog with a new entry for the new release, with distribution set to UNRELEASED.
Upload each package. This command uses the upload-command set in the config file to upload each built package (packages that have not been built are ignored).
Maximiliano Curia <maxy@debian.org>, Margarita Manterola <marga@debian.org>
2014 Mar 11 | Debian |