Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@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: Mon, 07 Jan 2013 09:35:44
Message-Id: 1357551292.31840.5.camel@belkin4
In Reply to: Re: [gentoo-dev] About using a CONFIGURATION (or SETUP) file under /usr/share/doc for configuration information by Donnie Berkholz
1 El vie, 04-01-2013 a las 23:34 -0600, Donnie Berkholz escribió:
2 > On 10:26 Sat 22 Dec , Pacho Ramos 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 > Bikeshedding ... would go with README.gentoo, because people are already
25 > used to looking for README files. Every time we can eliminate
26 > Gentoo-specific weirdness, we should.
27 >
28
29 This will install a README.gentoo file
30
31 But there are still pending issues I don't know how to handle:
32 - Eclass was originally oriented to cover those kind of messages that
33 could be shown by elog first time the package is merged and, later, rely
34 on people reading that README.gentoo
35 - William asked for version checking support, in that case, what kind of
36 version checking should be covered?
37 - Should I rely on versionator.eclass or use ">/<"? I can see both forms
38 in the tree right now
39 - There are also a lot of "exotic" version checkings in the tree (please
40 grep looking for REPLACING_VERSIONS to see them) that I doubt we should
41 cover in eclass but, in that case, how to cover them also?
42 - A suggestion about looking for "${FILESDIR}/README.gentoo" has also
43 raised, in that case, should eclass look for either option (now
44 DOC_CONTENTS variable or "${FILESDIR}/README.gentoo")

Attachments

File name MIME type
configuration-doc.eclass text/plain
signature.asc application/pgp-signature

Replies