Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55717

Summary: Etc-update should update $Header automatically
Product: Portage Development Reporter: charlax <ca.dein>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description charlax 2004-06-30 14:11:45 UTC
I'm french and it's my first bug report, so ...

When you don't want to update a file called "foo.conf", you can simply press "2" when you run etc-update, and the file ".foo.conf_cfg0001" will be removed.

BUT the first line which contains the header too !

So I think the script "etc-update" should update automatically the first line, if if contains header.
It's minime, easy to repair, and very useful in fact.



Reproducible: Always
Steps to Reproduce:
1. Run etc-update
2. Choose a file
3. When you want to do not update a file :
 - you press "2" and the update file will be removed
 - you press "3" and only update the first line which begin with "$Header ..."
Comment 1 SpanKY gentoo-dev 2004-08-02 19:34:55 UTC
isnt this the point of 'replace-cvs' in dispatch-conf ?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-08-03 11:15:24 UTC
in /etc/etc-update.conf:

# Whether trivial/comment changes should be automerged
eu_automerge="yes"