Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92077 - RFE: Emerge should have an option to re-emerge only the original config to restore a "fresh" installation
Summary: RFE: Emerge should have an option to re-emerge only the original config to re...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 23:15 UTC by Christian B.
Modified: 2005-05-10 04:45 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 Christian B. 2005-05-09 23:15:14 UTC
Emerge should have an option like "--config-only" to re-emerge/restore the original configuration of a program (i.e. the files in /etc). In combination with CONFIG_PROTECT this is a good option to test several configurations of a program without having to save the original configfiles. Additional in case of misconfiguration (imagine you use a new program where you don't know how to config it) you can easily restore config-files without re-emerging the whole bunch.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-05-10 04:45:30 UTC
This would take a lot of effort for something that is already available by alternative means. You can add "buildpkg" to your FEATURES to always have binary packages built which will allow for fast reinstallations. Doing it specifically for config files would mean an extension to ebuild functionality or a whole lot of hacking to installation support plus a new type of repository to keep these files in.