New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16329 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

Changed 3 years ago by adambyrtek@…

Changed 3 years ago by adambyrtek@…

Spaces instead of tabs in ChangeLog

Changed 3 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

Changed 3 years ago by raimue@…

  • status changed from new to closed
  • resolution set to fixed

Committed in r40712.

Changed 3 years ago by blb@…

  • milestone changed from MacPorts base enhancements to MacPorts 1.7.0

Changed 3 years ago by jmr@…

  • component changed from ports to base
Note: See TracTickets for help on using tickets.