Subject: Re: CVS commit: src/distrib/sets
To: Alistair Crooks <agc@wasabisystems.com>
From: Jim Wise <jwise@draga.com>
List: source-changes
Date: 06/12/2003 22:28:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 13 Jun 2003, Alistair Crooks wrote:

>On Thu, Jun 12, 2003 at 08:54:55PM -0400, Jim Wise wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Here's the revision I propose.  Barring substantial objections, I'll
>> commit this, plus the accompanying src/distrib/sets/versions file
>> (enclosed).
>
>No, please don't commit this version.  There is no rush, and I prefer
>the date-based scheme which we have used to good effect in pkgsrc up
>until now.

Since the version posted restores the status quo in the existing syspkg
code, I'm going to go ahead and commit it.  Since, as you point out,
there's no rush, if we want to _change_ the existing behavior (and feel
that the loss of functionality attending that change is acceptable), we
can always go back and do so after reaching consensus on the appropriate
lists.


>> Another aspect of the switch to `regpkg' is it moves to registering
>> syspkgs in the same pkg DB as pkgsrc packages.  I have no problem with
>> this change, though at the time syspkg was proposed, there were many
>> objections.
>
>Actually, that's not true. If SYSPKG_DBDIR is set in the environment, it
>will override PKG_DBDIR.

Well understood.


>> It may well be that these objections aren't still around, since it has
>> been some time since a `normal' pkgsrc-using system had so few packages
>> installed that it made sense to read the output of pkg_info with no args
>> by hand.
>
>I'm ambivalent myself, which was why I implemented it the way I did.
>Having said that, I did find that I kept forgetting to set the right
>environment variable when the two were disparate.

Makes sense.  I'm not sure what's better either.

- -- 
				Jim Wise
				jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE+6TbVlGcH240chEIRAqAEAJ4xbFQAnfyESHQGyfNIxkwWRWzyEwCgxsqI
gUIZD85ERYKfOncldefM7wI=
=BcPn
-----END PGP SIGNATURE-----