Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114713 - Adding a watch list to etc-update to simplify its usage
Summary: Adding a watch list to etc-update to simplify its usage
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 26807 (view as bug list)
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2005-12-07 02:44 UTC by Alessandro Di Marco
Modified: 2006-07-20 14:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (etc-update.patch,4.54 KB, patch)
2005-12-07 02:45 UTC, Alessandro Di Marco
Details | Diff
watch list file example (etc-update.watch,611 bytes, application/octet-stream)
2005-12-07 02:46 UTC, Alessandro Di Marco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Di Marco 2005-12-07 02:44:43 UTC
With this patch you can list configuration files that are important to you in a
special file called watch list. Upon execution, etc-update will now first check
wether the file to update is listed in the watch list and will behave
accordingly (highlights the corresponding filenames and let the user choose
wether to perform the update or not independently from other, not important, files.)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alessandro Di Marco 2005-12-07 02:45:58 UTC
Created attachment 74215 [details, diff]
patch
Comment 2 Alessandro Di Marco 2005-12-07 02:46:38 UTC
Created attachment 74216 [details]
watch list file example
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-07-19 04:18:38 UTC
*** Bug 26807 has been marked as a duplicate of this bug. ***
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2006-07-19 04:43:59 UTC
This patch was a bit too intrusive for me and also conflicted with a few other changes I made recently, but I've added something that should do more or less the same (not auto-processing any files that match a pattern in /etc/etc-update.special) in r3936.
Comment 5 Zac Medico gentoo-dev 2006-07-19 14:13:44 UTC
I've added one more patch in r3953 to make user_special() return 1 if none of the patterns in /etc/etc-update.special are matched.
Comment 6 Zac Medico gentoo-dev 2006-07-20 14:05:16 UTC
This has been released in 2.1.1_pre3-r2.