Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37401 - Ebuild HOWTO could use a link to the "common ebuild mistakes"
Summary: Ebuild HOWTO could use a link to the "common ebuild mistakes"
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Contributing ebuilds (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-06 09:38 UTC by Tony Vroon (RETIRED)
Modified: 2004-02-12 00:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild-mistakes.xml document (ebuild-mistakes.xml,10.78 KB, text/xml)
2004-02-10 07:02 UTC, Sven Vermeulen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Vroon (RETIRED) gentoo-dev 2004-01-06 09:38:59 UTC
The ebuild howto is a quite usable primer, from which most people try to write their first ebuild. As did I. However, when I attached it on bugzilla, I was given a link to the "common ebuild mistakes" document at http://dev.gentoo.org/~liquidx/ebuildmistakes.html

Which had some quite useful information (and yes, I violated quite a few of those rules, changing my ebuild was about 5 to 10 minutes of work).
The document was new to me. It's not linked from the ebuild HOWTO, or mentioned as an official document.

To improve the quality of (first-time) user-submitted ebuilds, it would in my eyes be very helpful to at least link to the common ebuild mistakes from the HOWTO document itself (and perhaps include it as an official document, or even merge the common mistakes with the ebuild HOWTO).
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-09 07:31:09 UTC
I've asked Alastair if we could migrate his document to GuideXML, place it under doc/en and link it from the guide.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-01-09 07:40:43 UTC
Why not add a chapter in gentoo-howto.xml? It's not much more than cut'n'paste.

I have to review the French translation (next on my list after HB translation which is almost done) very soon and I could very well integrate it before taking care of the French version.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-09 08:40:51 UTC
If liquidx doesn't mind and it doesn't make it less readable, sure, why not?
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-09 10:51:33 UTC
Okay liquidx doesn't mind (he actually was planning on doing this but never found the time :)
Comment 5 SpanKY gentoo-dev 2004-01-09 16:35:11 UTC
i'd prefer a sep document, called common ebuild mistakes just like it is

i think it would be cleaner that way, and when we refer people to it, it doesnt look like we're sending them to a HOWTO and telling them to RTFM

howtos are diff from FAQs and this is kinda like a FAQ :)
Comment 6 Xavier Neys (RETIRED) gentoo-dev 2004-01-16 09:58:11 UTC
What's to be done on this one?
Personally, I'd rather have a single doc as this information should be read by anyone who reads the gentoo-howto and plans on submitting ebuilds.

People who have made mistakes can be directed straight to the added chapter with a link like http://www.gentoo.org/doc/en/gentoo-howto.xml#doc_chap6 
Comment 7 SpanKY gentoo-dev 2004-01-16 16:30:33 UTC
well i might point out that some browsers dont handle links like that (#name) too well ...

but i still think it'd be better with a sep document for my previous reasons
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-17 01:59:47 UTC
I'd say "make it a separate document". It isn't a lot of work to join them (or separate them) and some people might want to print out one document but not the other.

And if we at any point feel that it is better to join them, we'll join them :)
Comment 9 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-09 12:36:54 UTC
I'll convert the doc to GuideXML tomorrow during classes :p
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-10 07:02:31 UTC
Created attachment 25341 [details]
ebuild-mistakes.xml document

This is a GuideXML'ed version of Alastair Tse's document. I'll commit it to CVS
later...
Comment 11 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-10 12:06:59 UTC
The guide is committed as http://www.gentoo.org/doc/en/ebuild-mistakes.xml. 
Comment 12 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-12 00:58:50 UTC
I've linked to this document from the gentoo-howto, which makes this bug fixed :)