Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About using a CONFIGURATION (or SETUP) file under /usr/share/doc for configuration information
Date: Sat, 22 Dec 2012 21:54:10
Message-Id: 50D62BCE.8080009@gentoo.org
In Reply to: Re: [gentoo-dev] About using a CONFIGURATION (or SETUP) file under /usr/share/doc for configuration information by Markos Chandras
1 On 12/22/2012 01:46 PM, Markos Chandras wrote:
2 > On 22 December 2012 09:26, Pacho Ramos <pacho@g.o> wrote:
3 >> Hello
4 >>
5 >> After seeing:
6 >> https://bugs.gentoo.org/show_bug.cgi?id=440214
7 >>
8 >> Looking to a lot of its blockers shows that we are using "elog" messages
9 >> for informing people about configuration (like pointing people to
10 >> external links to get proper way of configuring things, tell them to add
11 >> to some system groups...). I thought that maybe this kind of information
12 >> could be simply included in a canonical file under /usr/share/doc/
13 >> package dir called, for example, CONFIGURATION or SETUP. We would them
14 >> point people (now with a news item, for the long term provably a note to
15 >> handbook to newcomers would be nice) to that file to configure their
16 >> setups. The main advantages I see:
17 >> - We will flood less summary.log ;)
18 >> - The information to configure the package is always present while
19 >> package is installed, now, if we remove merge produced logs, people will
20 >> need to reemerge the package or read directly the ebuild
21 >>
22 >> What do you think?
23 >
24 > Correct me if I am wrong but are you suggesting we drop the elog
25 > messages altogether? I still believe that having the elog messages
26 > at the end of an 'emerge -uDN world' is more convenient. Maybe it
27 > makes sense to have both, as in print the elog messages and
28 > create those CONFIGURATION or SETUP files at the same time.
29
30 As a compromise, you could have the ebuild trigger the elog message only
31 when there is not a previous version of the package installed.
32 --
33 Thanks,
34 Zac

Replies