Gentoo Archives: gentoo-portage-dev

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