Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH] man/portage.5: document sets.conf (bug 541188)
Date: Tue, 24 Feb 2015 00:15:19
Message-Id: 1424736890-17693-1-git-send-email-zmedico@gentoo.org
1 This documents /etc/portage/sets.conf, /usr/portage/sets.conf, and
2 /usr/share/portage/config/sets. It refers to "Package Set Configuration"
3 section of the html documentation for more information.
4
5 X-Gentoo-Bug: 541188
6 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=541188
7 ---
8 man/portage.5 | 47 +++++++++++++++++++++++++++++++++++++++++++++++
9 1 file changed, 47 insertions(+)
10
11 diff --git a/man/portage.5 b/man/portage.5
12 index ed5140d..c3a50a4 100644
13 --- a/man/portage.5
14 +++ b/man/portage.5
15 @@ -65,6 +65,7 @@ package.use
16 postsync.d
17 repo.postsync.d
18 repos.conf
19 +sets.conf
20 .fi
21 .TP
22 .BR /etc/portage/env/
23 @@ -76,6 +77,11 @@ site-specific overrides of \fB/etc/portage/make.profile/\fR
24 .BR /etc/portage/sets/
25 user\-defined package sets
26 .TP
27 +.BR /usr/portage/
28 +.nf
29 +sets.conf
30 +.fi
31 +.TP
32 .BR /usr/portage/metadata/
33 .nf
34 layout.conf
35 @@ -112,6 +118,7 @@ use.stable.force
36 .nf
37 make.globals
38 repos.conf
39 +sets
40 .fi
41 .TP
42 .BR /var/cache/edb/
43 @@ -1066,6 +1073,30 @@ sync\-uri = git://git.overlays.gentoo.org/proj/voip.git
44 auto\-sync = yes
45 .fi
46 .RE
47 +.TP
48 +.BR sets.conf
49 +A package set configuration file. Settings here override settings from
50 +\fB/usr/portage/sets.conf\fR and \fB/usr/share/portage/config/sets\fR.
51 +The format is described extensively in the
52 +\fIPackage Set Configuration\fR section of the html documentation which
53 +is installed with portage when the "doc" USE flag is enabled.
54 +
55 +.I Example:
56 +.nf
57 +[world]
58 +class = portage.sets.base.DummyPackageSet
59 +packages = @profile @selected @system
60 +
61 +[usersets]
62 +class = portage.sets.files.StaticFileSet
63 +multiset = true
64 +directory = %(PORTAGE_CONFIGROOT)setc/portage/sets
65 +world-candidate = True
66 +
67 +[module-rebuild]
68 +class = portage.sets.dbapi.OwnerSet
69 +files = /lib/modules
70 +.fi
71 .RE
72 .TP
73 .BR /etc/portage/env/
74 @@ -1106,6 +1137,15 @@ Also see \fB/var/lib/portage/world_sets\fR and the \fBemerge\fR(1)
75 \fB\-\-list\-sets\fR option.
76 .RE
77 .TP
78 +.BR /usr/portage/
79 +.RS
80 +.TP
81 +.BR sets.conf
82 +A package set configuration file. Also see \fB/etc/portage/sets.conf\fR
83 +which overrides these settings, and
84 +\fB/usr/share/portage/config/sets\fR which contains default settings.
85 +.RE
86 +.TP
87 .BR /usr/portage/metadata/
88 .RS
89 .TP
90 @@ -1472,6 +1512,13 @@ override values set here. The format is described extensively in section
91 for \fB/etc/portage/repos.conf\fR.
92 .RE
93 .TP
94 +.BR sets
95 +A directory containing package set configuration files. Also see
96 +\fB/etc/portage/sets.conf\fR and \fB/usr/portage/sets.conf\fR, both of
97 +which override values set here. Default set configurations are installed
98 +in \fB/usr/share/portage/config/sets/portage.conf\fR.
99 +.RE
100 +.TP
101 .BR /var/cache/edb/
102 .RS
103 This directory is used to store internal portage cache files. The names and
104 --
105 2.0.5

Replies