Subject: Re: CVS commit: src/distrib/sets
To: None <,>
From: David Young <>
List: tech-userlevel
Date: 11/11/2004 11:09:15
On Thu, Nov 11, 2004 at 11:51:20AM -0500, Jim Wise wrote:
> Hash: SHA1
> On Thu, 11 Nov 2004, Chris Pinnock wrote:
> >On Thu, Nov 11, 2004 at 03:59:28PM +0000, Alistair Crooks wrote:
> >> It may be that a new switch is necessary, although I doubt this.  Does
> >> -X switch PKG_DBDIRs, does it override PKG_DBDIR in the environment,
> >> should we look at SYSPKG_DBDIR instead, should we provide syspkg_*
> >> commands, should we provide syspkg_* aliases in our standard shells,
> >> loads of questions.
> >
> >For benefit of the user experience, however we install system packages
> >it should feel nice and natural. Having a flag for it doesn't feel
> >nature to me.
> This sounds like an argument in favor of sharing a PKG_DBDIR between 
> syspkg and pkgsrc.
> What do people think of such a solution?
> Would people be happier with it if there were a flag to pkg_info to only 
> show syspkgs or only show pkgsrc pkgs (with a default to show both)?

I would like for the default to be "show pkgsrc pkgs."  Let flags set
the mode to "show syspkgs, also" or "show syspkgs, only."

I don't mind if syspkg and pkgsrc share a db dir.

I am opposed to an invisible mode (i.e., an environment variable) that
changes the behavior of the pkg utils.  We all know invisible modes
cause user errors---right?


David Young             OJC Technologies      Urbana, IL * (217) 278-3933