From c0ee713704d058bac560172544d6bdef5414fe4e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 2 Jul 2012 17:16:58 -0400 Subject: 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 Signed-off-by: Allan McRae --- doc/pacman.conf.5.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc') 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 <> 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 -- cgit v1.2.3-54-g00ecf