Summary: | Allow absolute and relative-to-PORTDIR paths in "parent" files | ||
---|---|---|---|
Product: | Portage Development | Reporter: | TGL <tom.gl> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://article.gmane.org/gmane.linux.gentoo.portage.devel/648 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
2.0.51.17-portage.py-absolute_parent_paths_in_profiles.patch
20050313--absolute_parent_paths_in_profiles.patch |
Description
TGL
2005-02-28 15:43:24 UTC
Created attachment 52329 [details, diff]
2.0.51.17-portage.py-absolute_parent_paths_in_profiles.patch
Created attachment 53511 [details, diff]
20050313--absolute_parent_paths_in_profiles.patch
Same patch as above, but for HEAD. I still hope that's something that could go
in .51 tho :)
Putting a hold on feature requests for portage as they are drowning out the bugs. Most of these features should be available in the next major version of portage. But for the time being, they are just drowning out the major bugs and delaying the next version's progress. Any bugs that contain patches and any bugs for etc-update or dispatch-conf can be reopened. Sorry, I'm just not good enough with bugzilla. ;) Reopening since this one has its patch, and since i think it's something simple but very important (that really solves a blocking issue for distribution of customized gentoo profiles). Note that this patch is against an old HEAD tho, not Brian's rewrite (i've not had time to look at this version yet). Absolute paths are possible, not sure if I like the $PORTDIR idea or not. While I see the use for this I really don't like the special case this would implement regarding evaluation order (as in theory PORTDIR might very well depend on make.defaults variables, even if that's extremely unlikely to happen when this feature is used as well I'd rather not open that box in the first place), therefore I'm closing this. (In reply to comment #5) > Absolute paths are possible, not sure if I like the $PORTDIR idea or not. This is one of the cases where os.path.join() actually does what we want when given an absolute path as the second argument. Since we use this function to join the paths, it's okay to use absolute paths in the parent file. |