Ticket #17705 (new enhancement)
MacPorts needs a general config file update mechanism
| Reported by: | blb@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts Future |
| Component: | base | Version: | 1.7.0 |
| Keywords: | update configuration | Cc: | |
| Port: |
Description
When a MacPorts install is upgraded, the config files are not overwritten to avoid stomping on local changes. This has the disadvantage that new features which can be configured via *.conf aren't added to the current configuration.
The best method to handle this would be with a general method to update configuration files by simply adding the new feature-specific items to the currently-existing files. Otherwise we end up with scripts for specific purposes (e.g., upgrade_sources_conf_default.tcl) which in the long term will become messy and difficult to maintain.
Change History
Note: See
TracTickets for help on using
tickets.

