[MacPorts] #17705: MacPorts needs a general config file update mechanism

MacPorts noreply at macports.org
Thu Dec 18 14:44:40 PST 2008


#17705: MacPorts needs a general config file update mechanism
----------------------------------+-----------------------------------------
 Reporter:  blb@…                 |       Owner:  macports-tickets@…                   
     Type:  enhancement           |      Status:  new                                  
 Priority:  Normal                |   Milestone:  MacPorts Future                      
Component:  base                  |     Version:  1.7.0                                
 Keywords:  update configuration  |        Port:                                       
----------------------------------+-----------------------------------------
 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., [browser:trunk/base/src/upgrade_sources_conf_default.tcl
 upgrade_sources_conf_default.tcl]) which in the long term will become
 messy and difficult to maintain.

-- 
Ticket URL: <http://trac.macports.org/ticket/17705>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list