Summary: | request: an option that creates .cfg_0000_* also for new files | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Benno Schulenberg <bensberg> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | anno, cancellettopugno, graham |
Priority: | High | Keywords: | NeedPatch |
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Benno Schulenberg
2007-05-07 21:30:06 UTC
I don't think such a feature is useful or desired by the majority of users. FYI, here's a reference to the discussion on gentoo-user that was the trigger for this request: http://thread.gmane.org/gmane.linux.gentoo.user/182695/focus=182701 (In reply to comment #1) > I don't think such a feature is useful or desired by the majority of users. If majority is a criterion, then it's time to get rid of options like -B, -d, and -F. Surely most users have no need or desire for those. (In reply to comment #3) > If majority is a criterion, then it's time to get rid of options like -B, -d, > and -F. Surely most users have no need or desire for those. Yes, but those features are already implemented and have been for a very long time. Why would the portage devs spend the time to implement what you're asking when it's not useful to them and very few users would ever use it? You're always welcome to whip up a patch(es) for this and attach it to this bug. (In reply to comment #4) > You're always welcome to whip up a patch(es) for this and attach it to this > bug. I've tried. But it is hell in there. (In portage.py around line 7708.) But even if I'd succeed, what are the chances of getting the patch accepted if the feature is not considered useful? (In reply to comment #5) > (In reply to comment #4) > > You're always welcome to whip up a patch(es) for this and attach it to this > > bug. > > I've tried. But it is hell in there. (In portage.py around line 7708.) Yeah, the vdb merge code isn't as nice as it could be. > But even if I'd succeed, what are the chances of getting the patch accepted if > the feature is not considered useful? Don't let yourself get discouraged by individual opinions. I see how such a feature could be considered useful (though I don't think I'd use it myself). One suggestion for this would be to make this configurable on a per directory base (e.g. by extending the CONFIG_PROTECT syntax somehow or using a new variable eventually) so it could be enabled for things like /etc/foo.d/ only instead of all of /etc. I don't think anyone in the portage team wants to work on this, but we'll look at and consider provided patches. |