Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35419 - portage auxiliary functions should be recursive
Summary: portage auxiliary functions should be recursive
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-12-08 23:59 UTC by Seemant Kulleen (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

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 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-08 23:59:09 UTC
common complaint is that dothml is recursive while dodoc is not
perhaps a -R flag to dodoc would be nice

whilst we're on the subject, fowners and fperms should behave identically to chown and chmod (recursive) and that they should check for _valid_ ownerships

additionally, keepdir should be inherently recursive so that if a package installs:

/var/lib/postfix/buncha/dirs/eachdir/has/a/buncha/leaves

then `keepdir /var/lib/postfix` in the ebuild should be sufficient information for keepdir to traverse that tree and install a .keep in the leaves (really that's the only dir that's necessary for a keep isn't it?)

Spider, did I miss something?
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-09 17:29:26 UTC
Ok. Eventhing is adjusted in current cvs.

All helpers except dodoc will die if they get invalid input.

dodoc and keepdir are recursive.
keepdir -R path1 path2 --- puts .keepdirs in all directories.
dodoc dir1 dir2/blah   --- recurses all given directories.

Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:12 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.