Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16329 closed enhancement (fixed)

Inheritance of macports.conf configuration files

Reported by: adambyrtek@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.7.0
Component: base Version: 1.6.0
Keywords: configuration patch Cc: adambyrtek@…
Port:

Description

There are two possible locations of MacPorts configuration file:
$prefix/etc/macports.conf
$home/.macports/macports.conf

Currently user defined file if present *substitutes* the global file completely. The attached patch allows user to override only a few configuration options, keeping the global file as a default for other options. This is more in line with other Unix tools and more convenient, as often user only wants to tweak a few options keeping the rest in place.

Attachments (2)

mp-config-handling.patch (1.7 KB) - added by adambyrtek@… 16 years ago.
mp-config-handling2.patch (1.7 KB) - added by adambyrtek@… 16 years ago.
Spaces instead of tabs in ChangeLog

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by adambyrtek@…

Attachment: mp-config-handling.patch added

Changed 16 years ago by adambyrtek@…

Attachment: mp-config-handling2.patch added

Spaces instead of tabs in ChangeLog

comment:1 Changed 16 years ago by adambyrtek@…

Quite trivial yet very useful change. Discussed recently on macports-users and more than a year ago at macports-dev:
http://lists.macosforge.org/pipermail/macports-dev/2007-April/001373.html

comment:2 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Committed in r40712.

comment:3 Changed 16 years ago by blb@…

Milestone: MacPorts base enhancementsMacPorts 1.7.0

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Component: portsbase
Note: See TracTickets for help on using tickets.