Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2012 08:25:37 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Doug Barton <dougb@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:  <20120625062537.GE41054@ithaqua.etoilebsd.net>
In-Reply-To: <4FE595CF.5010001@FreeBSD.org>
References:  <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> <4FE595CF.5010001@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--jTMWTj4UTAEmbWeb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 23, 2012 at 03:09:19AM -0700, Doug Barton wrote:
> 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.
> >=20
> > It goes from global to specific
> >=20
> > 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
> >=20
> > If that it looks not good to anyone, please comment (we can still
> > change it) and please provide arguments.
>=20
> 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.

This part I understood it well in your last message
>=20
> 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.
>=20

Do you mean here, that each time I run make config in a port directory I sh=
ould
always have the same preset options? (given that make.conf hasn't changed?)=
 if
yes, I didn't do that for one reason I often rerun make config to be sure o=
f the
chosen one. I don't know how I'll be able to check them otherwise? should m=
ake
showconfig be also adapted?

Why not just add a tag ? (simple character) to the UI to mark the default
overwritten by make.conf?

regards,
Bapt

--jTMWTj4UTAEmbWeb
Content-Type: application/pgp-signature

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

iEYEARECAAYFAk/oBGAACgkQ8kTtMUmk6ExjCQCgjDH0UwjgMAVWHIM8nORDYpgO
hokAnAv9H6eYfQf/Arrc8zzeqppV3OZv
=27S/
-----END PGP SIGNATURE-----

--jTMWTj4UTAEmbWeb--



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