Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Only reporting conf file changes that you're interested in
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
eddieparker
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2004
Posts: 147

PostPosted: Wed Nov 28, 2007 1:16 am    Post subject: Only reporting conf file changes that you're interested in Reply with quote

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
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Nov 28, 2007 6:57 am    Post subject: Reply with quote

I really like the idea :-)
Back to top
View user's profile Send private message
Thargor
Apprentice
Apprentice


Joined: 23 Dec 2005
Posts: 239
Location: Bamberg/Germany

PostPosted: Wed Nov 28, 2007 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
eddieparker
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2004
Posts: 147

PostPosted: Fri Nov 30, 2007 10:08 pm    Post subject: Reply with quote

Oh, fantastic! I'll give this a whirl. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum