Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: comprehensive eclass checking in repoman
Date: Fri, 25 May 2012 03:39:52
Message-Id: 20120524214723.10ac1b93@gentoo.org
In Reply to: [gentoo-dev] comprehensive eclass checking in repoman by Mike Frysinger
1 On Thu, 24 May 2012 15:47:09 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > i implemented eclass checking for some of the most common ones in the tree,
5 > but Zac didn't particularly care for the maintaining of lists of functions
6 > used by eclasses directly in repoman (due to the concern of them getting out
7 > of sync).
8 >
9 > so the proposal is to utilize the existing eclass documentation markers to
10 > extract the complete list of functions provided by an eclass. the upside is
11 > the metadata stays current, and we can scale better to all eclasses w/out
12 > requiring manual intervention. the downside is that if people don't properly
13 > document their eclasses, repoman might throw false positives (warnings, not
14 > errors) about unused eclasses being inherited, and will miss throwing errors
15 > when functions are used but the respective eclasses aren't inherited.
16 >
17 > however, i think that's a good hammer to throw at eclass maintainers to keep
18 > their documentation up-to-date and accurate. any other opinions/feedback ?
19
20 Is there any sane way to handle sub-eclasses? eg. foo-base inherits
21 foo-functions.
22
23 I have some crazy ideas on how to do eclass versioning I may one day threaten
24 the world with if they ever let me out of my padded cell.
25
26
27 --
28 fonts, gcc-porting
29 toolchain, wxwidgets
30 @ gentoo.org

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies