Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131398 - .cfg_ files extremely difficult to work with.
Summary: .cfg_ files extremely difficult to work with.
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 19:35 UTC by Brad Allen
Modified: 2006-05-05 13:32 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 Brad Allen 2006-04-26 19:35:51 UTC
When attempting to work with new configuration files that currently have a prefix of ._cfg####_, I have a serious amount of difficulty since when I attempt to find the new configuration file for a particular file, I cannot use autocompletion since the numbers get in the way.  If the cfg prefix were turned into a suffix, it would be acceptable.  A good, perhaps even better compromise would be putting the numbers in the suffix and the .cfg_ in the prefix.

Is there a quick code patch that would do that just for my system?

Thanks.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-04-26 19:50:45 UTC
Uhh, are you trying to manage them by hand? There's a tool included with portage called 'etc-update' for doing that. Portage tells you about it at the end of every emerge when there are config files to be updated.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-27 00:30:26 UTC
ZOMG... Use etc-update or dispatch-conf.
Comment 3 Zac Medico gentoo-dev 2006-04-28 15:20:24 UTC
The naming convention for the files should be irrelevant if you use an appropriate tool.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=4
Comment 4 Brad Allen 2006-05-05 10:43:12 UTC
(In reply to comment #3)
> The naming convention for the files should be irrelevant if you use an
> appropriate tool.
> 
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=4

So, you're saying that Unix shell commands are not an appropriate tool for administering a Unix system?  You Gentoo people are continually being very clueless.  I put up with it, but this is another perfect example.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-05-05 13:32:41 UTC
(In reply to comment #4)
> So, you're saying that Unix shell commands are not an appropriate tool for
> administering a Unix system?  You Gentoo people are continually being very
> clueless.  I put up with it, but this is another perfect example.

Let's say etc-update and dispatch-conf are more appropriate. Any way, you should use these tools, they will save you a lot of work.

Oh, and please don't insult people next time. Thanks.