Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79337 - make repoman complain if DEPEND and RDEPEND are not set.
Summary: make repoman complain if DEPEND and RDEPEND are not set.
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 07:34 UTC by solar (RETIRED)
Modified: 2007-02-17 08:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2005-01-24 07:34:34 UTC
As per our discussion on #gentoo-portage I would like to basically request that repoman warn when an DEPEND & RDEPEND are not both set into an ebuild. 
The aim here is to remove the explicit behavior of RDEPEND=$DEPEND when no RDEPEND= is given. We also want to perhaps promote that RDEPEND=$DEPEND not be used in ebuilds when repoman warns.

This is needed when merging into ROOT= and seems to be more the case when a virtual/* is used. 
Our embedded team makes heavy use of of RDEPEND= and for quality control the implicit behavior of assuming RDEPEND=$DEPEND kicks my butt.

If your able to make this change I'd also like it if you could point me at the cvs commit/cset, as I'd like to learn the basics of adding a new check to repoman in the future.
(So I can attach suggested patches like I do on most bugs)
Comment 1 SpanKY gentoo-dev 2005-01-24 15:40:36 UTC
perhaps this thread should be brought up on the gentoo-dev mailing list ... especially since this behavior is the exact opposite of what we've been yelling at developers for doing in the past

i think the implicit setting of RDEPEND to DEPEND is much more common than implicitly setting RDEPEND to ""
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-05-28 22:48:12 UTC
I mailed -dev about this tonight, so hopefully something will come of it.  Can 
we put "Discussion" as a blocker? :)
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-11-05 20:46:02 UTC
Please upgrade the Dev Guide @
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1#doc_chap5

You will see it tells people that RDEPEND=${DEPEND} is automatic.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-02-17 08:47:07 UTC
Closing this until there is an authorative decision if this really is desirable.