Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284229 - app-text/bibus-1.5 has wrong conditional deps
Summary: app-text/bibus-1.5 has wrong conditional deps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 06:59 UTC by Alexey Shvetsov
Modified: 2009-09-16 01:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2009-09-09 06:59:09 UTC
if i set use +mysql +sqlite it should install both backends but current ebuild installs only sqlite one

Reproducible: Always
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2009-09-10 13:14:23 UTC
I agree that the current way we handle sqlite and
mysql is sort of wrong. 

@Attila: Since I am not a bibus user, does it make 
sense to for bibus to use both backends at the same
time?

In either case we should probably remove the sqlite use
flag completely and only leave the mysql one. If both 
backends can coexist simultaneously we should always install 
sqlite and mysql only if requested by the useflag. If they are
mutually exclusive we should install sqlite by default
and only mysql with USE="mysql".

Any thoughts on this?

Thanks,
Markus
Comment 2 Attila Tóth 2009-09-12 06:22:38 UTC
(In reply to comment #1)
> I agree that the current way we handle sqlite and
> mysql is sort of wrong. 
> 
> @Attila: Since I am not a bibus user, does it make 
> sense to for bibus to use both backends at the same
> time?
> 
> In either case we should probably remove the sqlite use
> flag completely and only leave the mysql one. If both 
> backends can coexist simultaneously we should always install 
> sqlite and mysql only if requested by the useflag. If they are
> mutually exclusive we should install sqlite by default
> and only mysql with USE="mysql".
> 
> Any thoughts on this?
> 
> Thanks,
> Markus
> 

Dear Markus,

I've never used bibus's sqlite feature, since mysql is running even on my laptop. Since sqlite and mysql both included in bibus (regardless of the USE flags: it's a python program), the main purpose of the use flags are to ensure depending packages are installed. So it makes sense to have both backends at the same time. One can have several databases in both formats. It sounds also sensible to make the package depend on sqlite by default and therefore keep only the mysql USE flag...

Regards:
Dw.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2009-09-16 01:33:13 UTC
Thanks much for the comments, Attila!

Since I didn't see any cleaner solution I've decided
to make sqlite mandatory with the option to also install
mysql. If somebody has a better idea that solves
the problem feel free to post it and reopen the bug.

Thanks,
Markus