Gentoo Archives: gentoo-dev

From: Henti Smith <bain@×××××××.za>
To: "Robin H.Johnson" <robbat2@g.o>
Cc: snikkt@×××××.com, gentoo-dev@g.o
Subject: Re: [gentoo-dev] Community driven meta distribution or only distribution (was Re: Several portage trees)
Date: Tue, 29 Apr 2003 18:39:07
Message-Id: 20030429202816.68d0fa19.bain@tcsn.co.za
In Reply to: Re: [gentoo-dev] Community driven meta distribution or only distribution (was Re: Several portage trees) by "Robin H.Johnson"
1 > Seeing this. I have a specific request to make. Could you please ensure
2 > that your ebuilds are tagged with the 'EBUILD' keyword, to make them
3 > easier to find firstly. Secondly, just as an idea, a developer that has
4 > some time to go thru submitted ebuilds and review them for style and
5 > correctness (as I did for the ebuild mentioned above in this thread).
6
7 I do this .. however I see your point.
8
9 > My comments were included below in my previous email. I have also
10 > attached them to the bug item now.
11
12 could this and others "requirements" for a ebuild to be accepted not be put into proper documentation
13 and added to the gentoo site.
14
15 > lintool/repoman do remind you that some of those are required, but for
16 > the most part they require a human to check. The original ebuild looked
17 > as if it was written using only the guide, and none of the existing
18 > ebuilds in portage, many of which server as excellent examples of ebuild
19 > style and how things are done.
20 > However you are partially correct that some of this should be added to
21 > [1].
22 > most importantly,
23 > - say required items SLOT/KEYWORDS/IUSE/HOMEPAGE
24 > - say that all documentation should be installed
25 > - recommend econf/emake/einstall instead of normal variants
26 > - patch+src_unpack is not efficent and maybe incorrect, use PATCHES="..."
27
28 I have used the guide/skel/ebuilds to write the ebuilds I have done. I however do not expect them to be
29 the best or maybe even acceptable since there is so many different "styles" of doing ebuilds.
30
31 which ebuilds can be used for referance? once again a guide would be a good thing at this point.
32 I'm by no means a linux developer, I'm but a user that can do scripting and figure things out given
33 enought information. providing the information to do things correcly can greatly relieve full time developers
34 from having to deal with broken ebuilds as active ebuilders can help fix problems they have experianced before.
35
36 > Some of the things I mentioned are also partially my personal
37 > preferences to make life easier on myself. People's code says a lot
38 > about them generally, and if your submitted ebuilds look sloppy and
39 > that lessens the chance that developers will even go thru them and
40 > say what is wrong, let along clean them up.
41
42 everybody has to start somewhere ;PP
43 some just take longer to learnt he correct way and need a little more attention .. but in the end the effort
44 can pay off and make everybodies lives easer.
45
46 > Attaching a simple text file with just your changelog entry would be
47 > sufficent if you are updating an existing package, or including a new
48 > changelog from the skeleton file for a new ebuild. (This is a personal
49 > preference again).
50
51 It's still a good pointer..
52
53 If need be I will start writing a "ebuild developers howto" to get all the information
54 together and get some base for new and existing ebuilders to work off. The way an ebuild is developed / coded / created
55 really should be on par and consistant with how portage works and features it supports. legacy support is a good thing, but left for to long
56 without havin proper guidelines will only agrivate the situation which I acuallt think it has judging by your comment regarding using only the ebuild guide.
57
58 People should be capabile of writing an ebuil dusing ONLY the ebuilde guide and not need to go throught 4000 ebuilds to find what the best and latest way of doing things are.
59
60 > Repoman replaced lintool. I don't unfortunetly know of a tool that users
61 > can use to check ebuilds themselves, as repoman requires a CVS checkout.
62 > I have said previously that lintool needs to come back myself, and I
63 > have submitted some fixes for it to bugzilla myself. That document [2]
64 > does appear to contradict itself.
65
66 Human eyes are always the best way... I habe mentioned before having an ebuild mailling list.
67 I do really think the ebuild situation is becomming like a software package on it's own with a core set of developers that can commit changes
68 and users on the mailling list offering support and helping each other get their stuff working without having the bug the developers all the time to
69 get things working ..
70
71 creating a tree of developers -> experianced ebuilders -> new ebuilders in a mailling list can help solve problems as it can be a central place to "promote" ebuild for
72 testing before going into bugzilla until a ebuilder has had the experiance and "well wishes" of he's peers that he's reached a point where he can manage on he's own. in turn he then start helping people with ebuild development problems and "training" new ebuilders. in the end the develop interaction is really only at the bugzilla stage where incorporating into the portage tree is needed. by then an ebuild has been looked at by other ebuilders and helped get into a shape that is correct and tought the ebuild creator new things about how to create a correct ebuild.
73
74 > I personally try to avoid packages that do not fill at least one of the
75 > following requirements:
76 > 1) is actively maintained
77 > 2) is widely used
78 > 3) not directly useful to myself
79 >
80 > the reasoning behind 1) is that unmaintained packages upstream of Gentoo
81 > do cause problems. media-plugins/avi-xmms is a recent example. It is
82 > presently masked in packages.mask while it dies down further, at which
83 > point if it is no maintained again, it will probably be trimmed from the
84 > tree.
85
86 If nobody is using the application then sure I understand drop the support and ebuild from the tree, but
87 as the mail shows there is somebody and he's more then willing to help and work at keeping something he wants.
88 IF he doesn't know how a guide and/or system must be in place to provide the user with the knowledge and means to
89 have he's contribution accepted into the tree.
90
91 > For 2) packages that aren't actively maintained, but are widely used
92 > usually have enough other support and people working with them that it
93 > is possible to support them ourselves. An active and responsive mailing
94 > list for a package fills this well, or if there are good pages written
95 > up about the package on the web. Several actively maintained packages that
96 > use the library as a requirement would also serve to show that it is
97 > still in general use.
98 >
99 > Item 3) is somewhat different than the other two. If there is a package
100 > that doesn't fit into the other two, and I have a personal everyday use
101 > for it, I'm willing to put some of my time to keeping it working.
102
103 If each user can be a developer in he's own mind and has access to the right tools and information
104 no package will fall into disuse as there will be somebody out there using it. Such is the way of choice :)
105
106 Hope this is taken as suggestions and user input and nothing more .. or less :)
107
108 Henti
109
110 --
111 gentoo-dev@g.o mailing list

Replies