View previous topic :: View next topic |
Author |
Message |
eddieparker Tux's lil' helper
Joined: 09 Sep 2004 Posts: 147
|
Posted: Wed Nov 28, 2007 1:16 am Post subject: Only reporting conf file changes that you're interested in |
|
|
Hello!
First off, apologies if this topic:
a) Has been discussed to death somewhere else
b) Doesn't belong here as it's up to some other tool to do (or currently does)
c) Is completely idiotic.
I merely am suggesting something that might be quite handy.
Now, onward:
I would like to request some opinions on an idea I was just struck with.
What would you think if dispatch-conf and/or etc-update only reported updated configuration files that have local modifications and/or you've (somehow) tagged as "please-notify-me-if-this-changes"?
I find that in my day to day, I trust the authors of the packages to update their respective /etc files in a sane way. There are but a small handful of files that I must monitor for changes, and I find I'm often "using new", barring those exceptions.
Would it be worthwhile to have a some mechanism of skipping configuration file changes that don't impact the admin? I'm interested in opinions, positive or negative.
Thanks,
-e-
P.S. Apologies if this doesn't belong in this forum. I was thinking of putting it in the Portage forum, however that seems to be more 'help' oriented, and less suggestion-oriented. Reprimand me lovingly, I tried! |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Nov 28, 2007 6:57 am Post subject: |
|
|
I really like the idea :-) |
|
Back to top |
|
|
Thargor Apprentice
Joined: 23 Dec 2005 Posts: 239 Location: Bamberg/Germany
|
Posted: Wed Nov 28, 2007 2:25 pm Post subject: |
|
|
Just use dispatch-conf.
/etc/dispatch-conf.conf:
Code: | # Automerge files comprising only CVS interpolations (e.g. Header or Id)
# (yes or no)
replace-cvs=yes
# Automerge files comprising only whitespace and/or comments
# (yes or no)
replace-wscomments=yes
# Automerge files that the user hasn't modified
# (yes or no)
replace-unmodified=yes
# Ignore a version that is identical to the previously merged version,
# even though it is different from the current user modified version
# (yes or no)
ignore-previously-merged=yes |
Then run dispatch-conf.
The first few files, everything will be like it is now, but with the config from above, dispatch-conf stores every file and does replace it automaticly if you have not changed it. _________________ Ideas are bulletproof |
|
Back to top |
|
|
eddieparker Tux's lil' helper
Joined: 09 Sep 2004 Posts: 147
|
Posted: Fri Nov 30, 2007 10:08 pm Post subject: |
|
|
Oh, fantastic! I'll give this a whirl. Thanks! |
|
Back to top |
|
|
|