Gentoo Archives: gentoo-dev

From: George Shapovalov <george@g.o>
To: Evan Read <eread@×××××××××.org>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] [ANNOUNCE] bayesiam SPAM filter 'bogofilter' ebuild on bugzilla
Date: Sat, 09 Nov 2002 10:38:58
Message-Id: 200211090238.31836.george@gentoo.org
In Reply to: Re: [gentoo-dev] [ANNOUNCE] bayesiam SPAM filter 'bogofilter' ebuild on bugzilla by Evan Read
1 Hi
2
3 On Friday 08 November 2002 21:37, Evan Read wrote:
4 > On 2002.11.09 14:38 George Shapovalov wrote:
5 > My beef is the length of time things sit in bugzilla waiting for
6 > inclusion. Are there meant to be numerous comments on the bug talking
7 > of success before things will get into the tree?
8 Not really. The ebuiod gets committed as soon as core developer finishes
9 processing it. The difference is that the ebuild is masked at this stage.
10 Original system only had one way of masking - via package.mask. Now we have
11 KEYWORDS based masking that allows to handle "testing" profile.
12 However multiple success reports do help - upon collecting anough feedback
13 core developer will remove "~" from keywords against appropriate arch and the
14 ebuild will be considered stable at this point.
15 In order to be able to automatize this process further we need to have one
16 more layer of stability, to get the full "new -> user_approved/testing or
17 unstable (depending on user feedback) -> stable" logic. Most importantly we
18 need to have polished feedback collection mechanism implemented and tested.
19 After that this is a (relatively simple) matter of creating an automated
20 ebuild submission process. After that core developers will have their
21 responsibility in core/approved packages (stable profile). General developers
22 (or in other terminology "active users" such as yourself) will have their
23 playground with fast turnover of submitted/corrected ebuilds. And "normal
24 users" who actually want to just use the system will be able to pick the
25 profle that suits their idea of what they want.
26
27 >
28 > > the now-ultimate solution will involve streamlined ebuild
29 > > sbmission/processing that will allow fast turnover and wide-scale
30 > > testing
31 > > that you are proposing here. Comments are wellcome (specifically the
32 >
33 > How about this for a suggestion:
34 >
35 > I know that nobody wants to duplicate effort etc, but would it be
36 > possible to break the portage tree up (one tree, many dirs)?
37 Well, any breakage creates the duplication. This has been discussed numerous
38 times before. If you are interested in prior discussion please search
39 gentoo-dev for "unstable branch", "streamlined ebuild processing" and my
40 name, all whthin this year. So far I did not see better way proposed that
41 would help all the points raised. I think the most constructive way would be
42 to post or at least CC any new ideas to that bug (provided this was not
43 mentioned on the bug discussion before of course). This way we will have all
44 ideas "registered".
45
46
47 > Maybe I am thinking too much about the debian scenario, but what do
48 > people think of having something like:
49 >
50 > /usr/portage/stable
51 > /usr/portage/testing
52 > /usr/portage/unstable
53 >
54 > This would be a single tree, but a new option (which would remove
55 > keywords, I guess - sorry ;) in make.conf (or wherever) would be
56 > "DEFAULT_TREE=".
57 Well, thats just an alternative way of providing part of that functionality,
58 namely stability related aspects. KEYWORDS do that and in addition cover few
59 more important issues, such as various arch specific stuff and is in general
60 very basic and therefore very extensuble concept. Just try to go through this
61 concept once more ;), you'll see it covers this issue (one more level and a
62 bit of tuning is necessary, but I must admit this is much more extensible
63 than any specialised method).
64
65 >
66 > So one could track the stable, testing or unstable tree. To select a
67 > package outside your default tree would be something like:
68 >
69 > # emerge --unstable bogofilter
70 Yep, istead you just add ~arch and/or Xarch (when we have one more stability
71 level implemented) to your ALLOWED_KEYWORDS or we can provide equivalent
72 option to emerge.
73
74 BTW, one thing that will get eventually done is partial portage-tree checkout.
75 This point was raised few times, but no final decision was done yet (proposed
76 divisions being according to: profile (secure/stable/desktop...), arch or
77 what else?).
78
79 > Users could submit ebuilds (like my judy and bogofilter - and the
80 > folding@home one I am thinking of doing) that could be checked in by a
81 > core developer after they have verified it isn't majorly screwed. In
82 > otherwords, it hits the tree if it builds and installs (even if rough -
83 > price you pay for --unstable).
84 Yep. This is the idea behind the proposal in that bug: the ebuild gets
85 committed automatically if it passes certain requirements (i.e it is
86 *already* in the tree and thus is available, just has a special stability
87 status). If it gets sufficient amount of user test-reports it gets some kind
88 of "checked" status. At which point it can be considered more stable than
89 "new" or even be included in the core-developer list of ebuilds to be
90 processed. Alternatively core developers may be processing only the ebuilds
91 that accumulated sufficient amount of success reports *and* "wanted
92 requests".
93
94 > The idea isn't to change the way things are done, just provide a way to
95 > get stuff into the tree.
96 Totally.
97
98 > > In the mean time it is possible to announce new ebuilds here, how
99 > > this is
100 > > done now.
101 >
102 > Possible to auto mate the announcement of ebuilds from new bugs in
103 > buzilla under "ebuild" category? Subscribe to
104 > new-ebuild-announce@g.o?
105 Well, AFAIK bugzilla this is not so easy. We will get something better
106 somewhat later. AFAICT the [serious] work on new bug processing system will
107 start after we will get 1.4 install CDs out of the door. However I think we
108 will get automated ebuild processing system approx. within the same time
109 frame, so this point will probably be covered by then anyway.
110
111 > > Hereby I would like to ask anybody willing to do some testing (and not
112 > > afraid
113 > > of bad effects of course ;)), to try out new ebuilds which have "~"
114 > > for their
115 >
116 > So, enable: #ACCEPT_KEYWORDS="~arch"?
117 Yes.
118
119 > Perhaps the developers could publish a checklist of things that users
120 > could do?
121 In terms of creating ebuilds there are various docs. May be one thing to
122 add (or rahter reiterate) - *use lintool* !!!!!! (this is a separate package
123 now). This is the tool to check ebuilds for consistency and compliance with
124 present requirements. And it gets updated quite often.
125 In terms of ebuild testing thats harder - this is a moving goal, as this
126 area is in active development. But most importantly - user feedback is
127 eagerly needed, just as I outlined: please check whatever ebuilds that have
128 ~arch that you are interested in and report results to the developer who
129 committed it. When we will have automated report system working we will have
130 the corresponding doc.
131
132 > So in bugzilla, they could comment on each thing and say "works" or
133 > "fails". Things like successful install, removal etc to test the
134 > ebuild functions springs to mind. If rc scripts come with it, checks
135 > for stopping and starting successfully could also work.
136 Exactly.
137
138 > Also a suggestion to check for upstream bugs for anything release
139 > critical.
140 >
141 > Developers, teach us ;)
142 Yep. This is a very valid point. And we are working on the docs very hard. Its
143 just as usual - there is so much exciting stuff, so that it is hard to keep
144 the docs in sync. Though I should say this is amaising that the docs do not
145 lag behind too much with this distro (at least not as much as I was used to
146 :)). But of course any help to our doc team is wellcome :).
147
148 Ok, the last part would be the reiteration of what I just said, so I guess
149 I'll stop here. In short: the real solutions are in the works and will
150 require few more month. Right now you can use the last paragraph of my last
151 message as a "test results reporting guide during the transition period". In
152 general - important updates are announced on the web page, so please check it
153 periodically.
154 Also you can take a look at the app-admin/gentoo-stats. This collects various
155 info about gentoo installations (opt-in of course - you have to specifically
156 emerge it), among other things the list of installed packages. It can be used
157 to monitor success of package use to some extent... (as a last resort
158 substitute IMHO).
159
160 George
161
162 --
163 gentoo-dev@g.o mailing list