2007-07-09 14:22:01 -04:00
|
|
|
/////
|
2011-06-22 12:06:34 -04:00
|
|
|
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
|
2007-07-09 14:22:01 -04:00
|
|
|
/////
|
|
|
|
repo-add(8)
|
|
|
|
==========
|
|
|
|
|
|
|
|
Name
|
|
|
|
----
|
2009-04-03 11:44:22 -04:00
|
|
|
repo-add - package database maintenance utility
|
2007-07-09 14:22:01 -04:00
|
|
|
|
|
|
|
Synopsis
|
|
|
|
--------
|
2011-04-24 07:03:21 -04:00
|
|
|
'repo-add' [options] <path-to-db> <package|delta> [<package|delta> ...]
|
2007-07-09 14:22:01 -04:00
|
|
|
|
2011-04-24 07:03:21 -04:00
|
|
|
'repo-remove' [options] <path-to-db> <packagename|delta> [<packagename|delta> ...]
|
2007-07-09 14:22:01 -04:00
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
2011-03-27 22:27:15 -04:00
|
|
|
'repo-add' and 'repo-remove' are two scripts to help build a package database for
|
2007-12-29 01:24:15 -05:00
|
|
|
packages built with linkman:makepkg[8] and installed with linkman:pacman[8].
|
2011-03-25 20:26:07 -04:00
|
|
|
They also handle package deltas produced by linkman:pkgdelta[8].
|
2007-07-09 14:22:01 -04:00
|
|
|
|
2011-03-27 22:27:15 -04:00
|
|
|
'repo-add' will update a package database by reading a built package or package
|
2011-03-25 20:26:07 -04:00
|
|
|
delta file. Multiple packages and/or deltas to add can be specified on the
|
|
|
|
command line.
|
2007-07-09 14:22:01 -04:00
|
|
|
|
2013-08-07 13:04:52 -04:00
|
|
|
If a matching ``.sig'' file is found alongside a package file, the signature
|
|
|
|
will automatically be embedded into the database.
|
|
|
|
|
2011-03-27 22:27:15 -04:00
|
|
|
'repo-remove' will update a package database by removing the package name or
|
2011-03-25 20:26:07 -04:00
|
|
|
delta specified on the command line. Multiple packages and/or delta to remove
|
|
|
|
can be specified on the command line.
|
2007-07-09 14:22:01 -04:00
|
|
|
|
2011-06-20 10:22:12 -04:00
|
|
|
A package database is a tar file, optionally compressed. Valid extensions are
|
|
|
|
``.db'' or ``.files'' followed by an archive extension of ``.tar'',
|
2011-07-14 15:58:46 -04:00
|
|
|
``.tar.gz'', ``.tar.bz2'', ``.tar.xz'', or ``.tar.Z''. The file does not need
|
|
|
|
to exist, but all parent directories must exist.
|
2011-06-20 10:22:12 -04:00
|
|
|
|
2007-07-09 14:22:01 -04:00
|
|
|
|
2011-03-25 20:26:07 -04:00
|
|
|
Common Options
|
|
|
|
--------------
|
2008-05-09 20:26:57 -04:00
|
|
|
*-q, \--quiet*::
|
|
|
|
Force this program to keep quiet and run silent except for warning and
|
|
|
|
error messages.
|
|
|
|
|
2009-08-24 14:23:44 -04:00
|
|
|
*-s, \--sign*::
|
|
|
|
Generate a PGP signature file using GnuPG. This will execute `gpg
|
|
|
|
--detach-sign --use-agent` on the generated database to generate a detached
|
|
|
|
signature file, using the GPG agent if it is available. The signature file
|
|
|
|
will be the entire filename of the database with a ``.sig'' extension.
|
|
|
|
|
2011-04-24 07:03:21 -04:00
|
|
|
*-k, \--key* <key>::
|
|
|
|
Specify a key to use when signing packages. Can also be specified using
|
|
|
|
the GPGKEY environmental variable. If not specified in either location, the
|
|
|
|
default key from the keyring will be used.
|
|
|
|
|
2011-03-25 20:26:07 -04:00
|
|
|
*-v, \--verify*::
|
|
|
|
Verify the PGP signature of the database before updating the database.
|
|
|
|
If the signature is invalid, an error is produced and the update does not
|
|
|
|
proceed.
|
|
|
|
|
2013-03-04 03:33:42 -05:00
|
|
|
*\--nocolor*::
|
|
|
|
Remove color from repo-add and repo-remove output.
|
|
|
|
|
2011-03-25 20:26:07 -04:00
|
|
|
repo-add Options
|
|
|
|
----------------
|
|
|
|
*-d, \--delta*::
|
|
|
|
Automatically generate and add a delta file between the old entry and the
|
|
|
|
new one, if the old package file is found next to the new one.
|
|
|
|
|
|
|
|
*-f, \--files*::
|
|
|
|
Tells repo-add also to create and include a list of the files in the
|
|
|
|
specified packages. This is useful for creating databases listing all files
|
|
|
|
in a given sync repository for tools that may use this information.
|
2009-08-24 14:23:44 -04:00
|
|
|
|
2012-12-13 09:53:37 -05:00
|
|
|
*-n, \--new*::
|
|
|
|
Only add packages that are not already in the database. Warnings will be
|
|
|
|
printed upon detection of existing packages, but they will not be re-added.
|
|
|
|
|
2013-06-03 01:05:10 -04:00
|
|
|
*-R, \--remove*::
|
|
|
|
Remove old package files from the disk when updating their entry in the
|
|
|
|
database.
|
|
|
|
|
2007-07-09 14:22:01 -04:00
|
|
|
See Also
|
|
|
|
--------
|
2011-03-25 20:26:07 -04:00
|
|
|
linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8]
|
2007-07-09 14:22:01 -04:00
|
|
|
|
|
|
|
include::footer.txt[]
|