Yum plugin for prioritize providers [was Re: Fwd: MariaDB replacing MySQL]

James Antill james at fedoraproject.org
Mon Mar 18 19:55:25 UTC 2013


On Mon, 2013-03-18 at 18:42 +0100, Miloslav Trmač wrote:
> On Mon, Mar 18, 2013 at 6:30 PM, Honza Horak <hhorak at redhat.com> wrote:
> > In case of MySQL/mariadb (just for demonstration) the config file would
> > contain say:
> >     MySQL       +10000
> >     mariadb     -10000
> > which would tell yum to prioritize MySQL.
> >
> > I'm sure that there are several other use cases for such utility. It would
> > bring a bit more complexity on the one hand, but would decrease ambiguity in
> > specific cases on the other hand.
> >
> > Any ideas about such tool/plugin?
> 
> I'm not following the MySQL/mariadb packaging discussion in full
> detail - however, if we got to the point of discussing special yum
> plugins, wouldn't it be much simpler to

 We, didn't, really.

> * Modify the 10 packages that require mysql-server, the 19 packages
> that require mysql, the 3 packages that require mysql-libs (all F18
> counts) to require mariadb-* explicitly instead of using the virtual
> provide

 This means users can't choose between the mysql's if they want to, so
if we do this it'd be much easier to just say "we'll only have a single
`mysql' in Fedora" and then we'd just have to add one more obsolete to
mariadb and everything works perfectly.



More information about the devel mailing list