Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 03:09:19 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        FreeBSD Ports <ports@FreeBSD.org>, Olli Hauer <ohauer@FreeBSD.org>, Ganael LAPLANCHE <martymac@FreeBSD.org>, Matthew Seaman <matthew@FreeBSD.org>, Michael Scheidell <scheidell@FreeBSD.org>
Subject:   Re: optionsng and tinderbox?
Message-ID:  <4FE595CF.5010001@FreeBSD.org>
In-Reply-To: <20120623081843.GC41054@ithaqua.etoilebsd.net>
References:  <4FE12F2D.9080302@FreeBSD.org> <20120620061136.GA79164@ithaqua.etoilebsd.net> <4FE1829D.6030109@FreeBSD.org> <20120620091321.GA83730@ithaqua.etoilebsd.net> <20120620094431.M12775@martymac.org> <20120620103412.GB83730@ithaqua.etoilebsd.net> <4FE1C1EA.8070901@FreeBSD.org> <20120621090226.M48537@FreeBSD.org> <4FE4AEFC.4070405@FreeBSD.org> <4FE51858.4010502@FreeBSD.org> <20120623081843.GC41054@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/23/2012 01:18, Baptiste Daroussin wrote:
> Well the priority ordering the logical was to give the end word to
> the last user action.
> 
> It goes from global to specific
> 
> 1/ the global options (infrastructures) are applied 2/ the
> maintainer option (ports are applied) 3/ the user global options
> are applied (OPTIONS_{,UN}SET) 4/ the user ports options are
> applied (${UNIQUENAME}_{,UN}SET) 5/ the dialog (make config)
> options are applied
> 
> If that it looks not good to anyone, please comment (we can still
> change it) and please provide arguments.

I'm not sure I explained myself well in the last message. I've already
discussed how make.conf should override the way the options are
presented to the user, which my understanding is that you've already
accomplished. That means that when 3 and 4 happen, the options
presented to the user will already reflect the global configuration
decisions made on the system level.

If at the point the options dialog is presented the user wants to
override the global choices for that particular port, fine. But the
global (make.conf, ports.conf, etc.) choices should always take
precedence absent this user twiddling, and when the options dialog is
first presented to the user it should *always* reflect the global
config choices by default, regardless of 1 and 2 in your list above.

Doug

- -- 

    This .signature sanitized for your protection


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBCAAGBQJP5ZXPAAoJEFzGhvEaGryEv4cIAIATkjsdw6gr3SluCuuvvQgE
EXavIVGsHVpp0IuvkhNZzryH2TdZ4QUadquKRmHAWeIwyptxug8QMzZ7c2IG3Luf
CuC9KaMIjKnV6ADYMYIApb4pc581ivH4hutR81PB50AWRlGtmeysMKO4/SX0yT8Q
Asl7vMuMgpSNur8neH/vFVTvVs/b1jnHueHNIyzOAQWvga2aFLyzGcSsSaY+qJJ5
3EnnIbkzXvcX4l2VoZN6BSokaT7uXyRG0Ev6Fx0i45NJuul3+HsTKp3i/RZVEqg+
RawuBPIR2zM+IQOIop+43+5EQhUToB6fYvALIvO34OIhKv77hhJoFwFilRFluH0=
=MkNT
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE595CF.5010001>