Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59902 - [Patch] Add epatch check to repoman
Summary: [Patch] Add epatch check to repoman
Status: RESOLVED WONTFIX
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: 60345
  Show dependency tree
 
Reported: 2004-08-09 14:56 UTC by Danny van Dyk (RETIRED)
Modified: 2007-01-10 06:42 UTC (History)
0 users

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


Attachments
Patch for repoman to check epatch lines (repoman-epatchcheck.diff,3.16 KB, patch)
2004-08-09 15:05 UTC, Danny van Dyk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danny van Dyk (RETIRED) gentoo-dev 2004-08-09 14:56:53 UTC
 
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-08-09 15:02:28 UTC
err... kugelfang?
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-08-09 15:05:05 UTC
Created attachment 37123 [details, diff]
Patch for repoman to check epatch lines

[Sorry, the keyboard has fallen down :-/, here goes the real "bug"]

Anyway: I already talked w/ jstubbs about this patch, it allows repoman to
check
all occurences of epatch in an ebuild. If it detects env. variables in the
argument to epatch,  it resolves them. (not all, up to now only FILESDIR, P,
PV,
PN) If the patchfile is not found in at its place, repoman fails with
"epatch.missing".  If there are variables in epatch which are unknown to
repoman, it still raises a warning (epatch.unknown).

I'd really like to have this function in portage, as ppl who do version bumps
sometimes just overlook arch dependent epatch lines :-/ This shouldn't happen
anymore with this patch in repoman.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2004-08-09 15:06:19 UTC
Brian: was an accident, i just had opened the form, and the keyboard fell down. Shit happens ;-)
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-08-14 15:36:34 UTC
Seems this patch needs some loving. (BUG #60345)

For example the line in comment #11 would be nice to be recognized.

Brian: do you have any idea how to accomplish that ?
Comment 5 Brian Harring (RETIRED) gentoo-dev 2005-02-28 00:52:26 UTC
Whatever happened with this check... and anyone up for trying to get it going again?
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-01-25 22:17:41 UTC
Personally I think this is kinda messy, although most of epatch's are standard vars (FILESDIR, P,PV), I would hope that the arch teams/AT's will find crap like this before it hits the stable tree.

Comment 7 Marius Mauch (RETIRED) gentoo-dev 2007-01-10 06:42:03 UTC
Too many false positives to be usable. Reopen in case you have a better version.