New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16329 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 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 (1.7 KB) - added by adambyrtek@… 5 years ago.
mp-config-handling2.patch (1.7 KB) - added by adambyrtek@… 5 years ago.
Spaces instead of tabs in ChangeLog

Change History

Changed 5 years ago by adambyrtek@…

Changed 5 years ago by adambyrtek@…

Spaces instead of tabs in ChangeLog

comment:1 Changed 5 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 5 years ago by raimue@…

  • Status changed from new to closed
  • Resolution set to fixed

Committed in r40712.

comment:3 Changed 5 years ago by blb@…

  • Milestone changed from MacPorts base enhancements to MacPorts 1.7.0

comment:4 Changed 4 years ago by jmr@…

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