public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in mail-filter/dspam: ChangeLog dspam-3.8.0-r7.ebuild
Date: Mon, 1 Oct 2007 01:04:23 -0700	[thread overview]
Message-ID: <20071001080423.GV28813@supernova> (raw)
In-Reply-To: <4700A53A.3050503@gentoo.org>

On 10:43 Mon 01 Oct     , Alin Năstac wrote:
> Donnie Berkholz wrote:
> > It's better to do something smart than to force interactivity. In this 
> > case, you as the maintainer would decide whether this USE combo meant 
> > the user wanted virtual-users (if so, forcibly enable one of mysql or 
> > postgres), or whether the user definitely did not want to pull in a 
> > database (if so, force off virtual-users).
> >   
> I cannot force mysql or postgres dependency just because user enabled
> virtual-users flag.
> IMO this case would definitely qualify for a pkg_setup die because
> virtual-users is a local useflag. By selecting virtual-users without
> enabling mysql or postgres storage backend, the user proved to be
> clueless and ebuild should provide the much needed clue.

One way to proceed is to not have both mysql and postgres as USE flags. 
Have one as a flag, and have negation of that flag mean to use the 
other. Does that make sense for this package, or can they both 
reasonably be used at the same time?

I strongly discourage dying here; do something smart and log a warning 
to the user about it.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2007-10-01  8:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Ibx0a-00013X-7e@stork.gentoo.org>
2007-09-30 20:59 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in mail-filter/dspam: ChangeLog dspam-3.8.0-r7.ebuild Donnie Berkholz
2007-10-01  5:58   ` Alin Năstac
2007-10-01  6:23     ` Mike Frysinger
2007-10-01  6:26     ` Donnie Berkholz
2007-10-01  7:11       ` Alin Năstac
2007-10-01  7:22         ` Donnie Berkholz
2007-10-01  7:43           ` Alin Năstac
2007-10-01  8:04             ` Donnie Berkholz [this message]
2007-10-01  8:27               ` Alin Năstac
2007-10-01  8:41                 ` Donnie Berkholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071001080423.GV28813@supernova \
    --to=dberkholz@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox