2 vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
9 repo-add - package database maintenance utility
13 'repo-add' [options] <path-to-db> <package|delta> [<package|delta> ...]
15 'repo-remove' [options] <path-to-db> <packagename|delta> [<packagename|delta> ...]
20 'repo-add' and 'repo-remove' are two scripts to help build a package database for
21 packages built with linkman:makepkg[8] and installed with linkman:pacman[8].
22 They also handle package deltas produced by linkman:pkgdelta[8].
24 'repo-add' will update a package database by reading a built package or package
25 delta file. Multiple packages and/or deltas to add can be specified on the
28 'repo-remove' will update a package database by removing the package name or
29 delta specified on the command line. Multiple packages and/or delta to remove
30 can be specified on the command line.
32 A package database is a tar file, optionally compressed. Valid extensions are
33 ``.db'' or ``.files'' followed by an archive extension of ``.tar'',
34 ``.tar.gz'', ``.tar.bz2'', ``.tar.xz'', or ``.tar.Z''. The file does not need
35 to exist, but all parent directories must exist.
41 Force this program to keep quiet and run silent except for warning and
45 Generate a PGP signature file using GnuPG. This will execute `gpg
46 --detach-sign --use-agent` on the generated database to generate a detached
47 signature file, using the GPG agent if it is available. The signature file
48 will be the entire filename of the database with a ``.sig'' extension.
51 Specify a key to use when signing packages. Can also be specified using
52 the GPGKEY environmental variable. If not specified in either location, the
53 default key from the keyring will be used.
56 Verify the PGP signature of the database before updating the database.
57 If the signature is invalid, an error is produced and the update does not
63 Automatically generate and add a delta file between the old entry and the
64 new one, if the old package file is found next to the new one.
67 Tells repo-add also to create and include a list of the files in the
68 specified packages. This is useful for creating databases listing all files
69 in a given sync repository for tools that may use this information.
73 linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8]