Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117780 - etc-update should keep md5 sums of config files
Summary: etc-update should keep md5 sums of config files
Status: RESOLVED DUPLICATE of bug 11763
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 13:03 UTC by Brandon Peters
Modified: 2006-01-04 13:13 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 Brandon Peters 2006-01-04 13:03:25 UTC
etc-update should keep md5 sums of each file it updates. Then, when etc-update is run again, it can compare the md5 sum on the system, with the md5 sum of the current configuration file on the system. If they are the same, then etc-update doesn't have to ask the user about updating the current configuration file with the new configuration file. This is because the user has not changed that file from the last update. However, if the md5 sums differ, then etc-update can ask the user if they want to update the file. This way, the user is not bothered with updates that are not important to the user and the user only has to worry about the files they have changed. This could be implemented as a command line argument to etc-update, or a configuration option.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-04 13:13:32 UTC
This works just fine with dispatch-conf, so this request is kinda redundant...

/etc/dispatch-conf.conf

# 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


*** This bug has been marked as a duplicate of 11763 ***