From: Thomas Beierlein <tomjbe@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog
Date: Fri, 23 Jul 2010 13:30:02 +0200 [thread overview]
Message-ID: <20100723133002.7912f158@test> (raw)
In-Reply-To: <1279877490.16887.2.camel@neuromancer.dev-zero.ch>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 23 Jul 2010 11:31:30 +0200
Tiziano Müller <dev-zero@gentoo.org> wrote:
> Am Freitag, den 23.07.2010, 09:06 +0200 schrieb Thomas Beierlein:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi Jorge,
> >
> > On Thu, 22 Jul 2010 18:04:59 +0000
> > "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org> wrote:
> > > If you want to use sqlite3 as default and assuming your prefer
> > > postgres over mysql, you can use the following and drop the die
> > > from pkg_setup.
> > >
> > > DEPEND="
> > ... snip ...
> > > !bacula-clientonly? (
> > > sqlite3? (
> > > app-backup/bacula[-mysql.-postgres]
> > > dev-db/sqlite:3
> > > )
> > > !sqlite3? (
> > > postgres? (
> > > mysql? ( app-backup/bacula[-mysql] )
> > > dev-db/postgresql-base[threads]
> > > )
> > > !postgres? (
> > > mysql? ( virtual/mysql )
> > > !mysql? ( app-backup/bacula[sqlite3] )
> > > )
> > > !bacula-nodir? ( virtual/mta )
> > > )
> > ... snip ...
> > > "
> >
> > interesting. I did not know that an ebuild can use-depend on itself.
> > Good to know.
> No, not good. It doesn't make any sense.
Can you give some reasoning for that?
> We will have a solution for such cases somewhere in the future, but at
> the moment you should just display a warning that even though the user
> specified more than one db only is going to be used.
>
That is what I am doing at the moment. If 0 or more than one backends
are selected I fall back to sqlite3 as default and give an according
warning message.
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iEYEARECAAYFAkxJfUkACgkQQe4uqXYgU9WW7QCbBYthd11EnPrtVJf4RXTqUMVT
q9UAoJ//DyXGQmlFLmU4EM3knn6wv98W
=CsP/
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2010-07-23 11:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 16:20 [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog Thomas Beierlein
2010-07-22 18:04 ` Jorge Manuel B. S. Vicetto
2010-07-23 7:06 ` Thomas Beierlein
2010-07-23 8:38 ` Tomáš Chvátal
2010-07-23 12:10 ` Thomas Beierlein
2010-07-23 9:31 ` Tiziano Müller
2010-07-23 11:30 ` Thomas Beierlein [this message]
2010-07-23 11:37 ` Ciaran McCreesh
2010-07-23 12:30 ` Jorge Manuel B. S. Vicetto
2010-07-23 12:39 ` Ciaran McCreesh
2010-07-23 12:28 ` Jorge Manuel B. S. Vicetto
2010-07-23 12:43 ` Ciaran McCreesh
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=20100723133002.7912f158@test \
--to=tomjbe@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