if i set use +mysql +sqlite it should install both backends but current ebuild installs only sqlite one Reproducible: Always
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
(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.
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