summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-07-02 23:16:58 +0200
committerAllan McRae <allan@archlinux.org>2013-09-04 01:51:20 +0200
commitc0ee713704d058bac560172544d6bdef5414fe4e (patch)
tree43bbdd3f2832a4350e13b94f68e0c840ba59e7e0 /doc
parent106d0fc541ad21306f5722e0178171eef6a222e9 (diff)
downloadpacman-c0ee713704d058bac560172544d6bdef5414fe4e.tar.gz
pacman-c0ee713704d058bac560172544d6bdef5414fe4e.tar.xz
pacman: add front end support for repo usage level
Add a "Usage" key to the repo section of the config which allows for the tokens "Search", "Install", "Upgrade", "All", which correspond to values in the alpm_db_usage_t enum. Users can specify "Usage" multiple times for a given repo, or multiple flags per "Usage" line and they will be OR'd together. If unspecified, the default is full usage of the repo. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/pacman.conf.5.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt
index 049faee2..8cd2d0ea 100644
--- a/doc/pacman.conf.5.txt
+++ b/doc/pacman.conf.5.txt
@@ -243,6 +243,27 @@ even be used for different architectures.
Set the signature verification level for this repository. For more
information, see <<SC,Package and Database Signature Checking>> below.
+*Usage =* ...::
+ Set the usage level for this repository. This option takes a list of tokens
+ which must be at least one of the following:
+ *Sync*;;
+ Enables refreshes for this repository.
+ *Search*;;
+ Enables searching for this repository.
+ *Install*;;
+ Enables installation of packages from this repository during a '\--sync'
+ operation.
+ *Upgrade*;;
+ Allows this repository to be a valid source of packages when performing
+ a '\--sysupgrade'.
+ *All*;;
+ Enables all of the above features for the repository. This is the default
+ if not specified.
++
+Note that an enabled repository can be operated on explicitly, regardless of the Usage
+level set.
+
+
Package and Database Signature Checking[[SC]]
---------------------------------------------
The 'SigLevel' directive is valid in both the `[options]` and repository