From d20112c869f3a3994e95e4f661863f6267dddc53 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 7 Jun 2009 06:50:54 +0000 Subject: Bug #272063 - Use elements inside elements. svn path=/main/trunk/; revision=13630 --- doc/config/sets.docbook | 172 ++++++++++++++++++++++++------------------------ 1 file changed, 87 insertions(+), 85 deletions(-) (limited to 'doc/config') diff --git a/doc/config/sets.docbook b/doc/config/sets.docbook index dc26b1a0c..3371c175b 100644 --- a/doc/config/sets.docbook +++ b/doc/config/sets.docbook @@ -50,19 +50,21 @@ handler might be changed in future versions.. That option defines which handler class should be used to create the set. Other universal options available for single sets are: + - name (which is usually not needed as the name + name (which is usually not needed as the name of the set is generated from the section name if name - is missing) - world-candidate, which determines if - given package should be added to the world set - extend to include the contents of other package sets + is missing) + world-candidate, which determines if + given package should be added to the world set + extend to include the contents of other package sets - remove to remove the contents of other package sets + remove to remove the contents of other package sets - intersect to only include packages that are also - included in one or more other package sets + intersect to only include packages that are also + included in one or more other package sets + Some handler classes might require additional options for their configuration, these will be covered later in this chapter. @@ -168,36 +170,36 @@ Single Set Configuration In a single set configuration this class supports the following options: + - filename: Required. Specifies the path to the file - that should be used for the package set. - greedy: Optional, defaults to false. + filename: Required. Specifies the path to the file + that should be used for the package set. + greedy: Optional, defaults to false. Determines if atoms in the package should include all installed slots (when set to true) or if no slot expansion is wanted (when set to false). This option only affects packages that have multiple - slots available (e.g. sys-kernel/gentoo-sources). + slots available (e.g. sys-kernel/gentoo-sources). - Multi Set Configuration In a multi set configuration this class supports the following options: + - directory: Optional, defaults to + directory: Optional, defaults to /etc/portage/sets. Specifies the path to a directory containing package set files. For each file (excluding metadata files) in - that location a separate package set is created. + that location a separate package set is created. - name_pattern: Optional, defaults to + name_pattern: Optional, defaults to $name. This describes the naming pattern to be used for creating the sets. It must contain either $name or ${name}, which - will be replaced by the filename (without any directory components). + will be replaced by the filename (without any directory components). - @@ -216,35 +218,35 @@ Single Set Configuration In a single set configuration this class supports the following options: + - filename: See - StaticFileSet + filename: See + StaticFileSet - Multi Set Configuration In a multi set configuration this class supports the following options: + - directory: Optional, defaults to + directory: Optional, defaults to /etc/portage. Specifies the path to a directory containing one or more of the following portage configuration files: package.use, package.keywords, package.mask or package.unmask. - No other files in that directory will be used. + No other files in that directory will be used. - name_pattern: Optional, defaults to + name_pattern: Optional, defaults to package_$suffix. This describes the naming pattern to be used for creating the sets. It must contain either $suffix or ${suffix}, which will be replaced by the file suffix (e.g. - use or mask). + use or mask). - @@ -296,18 +298,18 @@ Single Set Configuration In single set configurations this class supports the following options: + - use_emerge_resolver: Optional, defaults to + use_emerge_resolver: Optional, defaults to false. This option determines which resolver strategy should be used for the set atoms. When set to true, it will use the default emerge algorithm and use the highest visible version that matches the GLSA. If set to false it will use the default glsa-check algorithm and use the lowest version that matches the GLSA and is - higher than the currently installed version (least change policy). + higher than the currently installed version (least change policy). - @@ -323,8 +325,8 @@ In single set configurations this class supports the following options: - use_emerge_resolver: See - SecuritySet + use_emerge_resolver: See + SecuritySet @@ -344,12 +346,12 @@ Single Set Configuration In single set configurations this class supports the following options: + - use_emerge_resolver: See - SecuritySet + use_emerge_resolver: See + SecuritySet - @@ -365,12 +367,12 @@ Single Set Configuration In single set configurations this class supports the following options: + use_emerge_resolver: See SecuritySet - @@ -386,14 +388,14 @@ Single Set Configuration In single set configurations this class supports the following options: + - command: Required. Specifies the command + command: Required. Specifies the command that should be executed to generate the package set. It should output a newline separated list of simple and/or versioned atoms - on stdout. + on stdout. - @@ -408,18 +410,18 @@ Single Set Configuration In single set configurations this class supports the following options: + - age: Optional, defaults to 7. Specifies - the number of days passed since installation to use as cut-off point. + age: Optional, defaults to 7. Specifies + the number of days passed since installation to use as cut-off point. - mode: Optional, defaults to "older". Must + mode: Optional, defaults to "older". Must be either "older" or "newer" to select packages installed either before resp. after the cut-off-date given by age. E.g. the defaults will select all installed packages that have been - installed more than one week ago. + installed more than one week ago. - @@ -433,39 +435,39 @@ Single Set Configuration In single set configurations this class supports the following options: + - category: Required. The name of an existing ebuild - category which should be used to create the package set. + category: Required. The name of an existing ebuild + category which should be used to create the package set. - only_visible: Optional, defaults to true. + only_visible: Optional, defaults to true. When set to true the set will only include visible packages, when set to false it will also include masked packages. - It's currently only effective in combination with the porttree + It's currently only effective in combination with the porttree repository. - Multi Set Configuration In multi set configurations this class supports the following options: + - categories: Optional, defaults to all categories. + categories: Optional, defaults to all categories. If set it must be a space separated list of existing ebuild categories for - which package sets should be created. + which package sets should be created. - repository: See previous section. - only_visible: See previous section. - name_pattern: Optional, defaults to + repository: See previous section. + only_visible: See previous section. + name_pattern: Optional, defaults to $category/*. This describes the naming pattern to be used for creating the sets. It must contain either $category or ${category}, which - will be replaced by the category name. + will be replaced by the category name. - @@ -491,12 +493,12 @@ Package set which contains all packages that own one or more files. This class supports the following options: + - files: Required. A list of file paths - that should be used to create the package set. + files: Required. A list of file paths + that should be used to create the package set. - portage.sets.dbapi.VariableSet @@ -504,23 +506,23 @@ Package set which contains all packages that match specified values of specified variable. This class supports the following options: + - variable: The name of - the specified variable whose values are checked. + variable: The name of + the specified variable whose values are checked. - includes: A list of + includes: A list of values that must be contained within the specified - variable. + variable. - excludes: A list of + excludes: A list of values that must not be contained within the specified - variable. + variable. - metadata-source: Optional, defaults to + metadata-source: Optional, defaults to "vartree". Specifies the repository to use for getting the metadata - to check. + to check. - portage.sets.dbapi.UnavailableSet @@ -529,12 +531,12 @@ packages for which there are no visible ebuilds corresponding to the same $CATEGORY/$PN:$SLOT. This class supports the following options: + - metadata-source: Optional, defaults to + metadata-source: Optional, defaults to "porttree". Specifies the repository to use for getting the metadata - to check. + to check. - portage.sets.dbapi.DowngradeSet @@ -556,12 +558,12 @@ Single Set Configuration This class supports the following option: + - debug: Generate extra output useful to figure out why - certain packages are included in the set, as it's not always obvious. + debug: Generate extra output useful to figure out why + certain packages are included in the set, as it's not always obvious. - @@ -576,20 +578,20 @@ The default sets are: + - system: uses PackagesSystemSet - world: uses WorldSet - security: uses NewAffectedSet with default options - installed: uses EverythingSet - preserved-rebuild: uses PreservedLibraryConsumerSet - live-rebuild: uses VariableSet - module-rebuild: uses OwnerSet - downgrade: uses DowngradeSet - unavailable: uses UnavailableSet + system: uses PackagesSystemSet + world: uses WorldSet + security: uses NewAffectedSet with default options + installed: uses EverythingSet + preserved-rebuild: uses PreservedLibraryConsumerSet + live-rebuild: uses VariableSet + module-rebuild: uses OwnerSet + downgrade: uses DowngradeSet + unavailable: uses UnavailableSet - Additionally the default configuration includes a multi set section based on + Additionally the default configuration includes a multi set section based on the StaticFileSet defaults that creates a set for each - file in /etc/portage/sets for convenience. - + file in /etc/portage/sets for convenience. -- cgit v1.2.3-1-g7c22