Re: Proposed F19 Feature: Replace MySQL with MariaDB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/23/2013 01:04 PM, Ales Kozumplik wrote:
On 01/22/2013 10:06 PM, Tom Lane wrote:
Yes, that's the general idea --- any dependencies on mysql should result
in installing mariadb, unless the user takes specific action to get
mysql instead.  Ideally we'd just do the standard Provides/Obsoletes
dance for replacing one package with another, but I'm not quite sure how
that should work if we still want original mysql to be installable.  Any
thoughts from RPM experts would be welcome.

I'm not an RPM expert, yet if mariadb obsoletes mysql and mariadb is
installed then specifically selecting mysql package for installation
will not be possible (because it is obsoleted).

This is true, switching back to mysql wouldn't be easy for users. I haven't tested this one yet, but I guess they will be able to do it in two steps:
* remove all mariadb packages
* install mysql with excluding mariadb explicitly

A bad thing is, that they will have to re-install even other depended packages, which have been removed during mariadb removal.

Is there really no way to do removal/install like above in one yum transaction?

Here's what I think could work for f19: provide mariadb as it is, give
it all mysql provides just in case. No conflicts, no obsoletes. That way
both packages are installable. Tell Fedora maintainers that mysql is
being phased out and they should change requires to mariadb. Make mysql
part of no compose group so it doesn't get by default installed by
Anaconda, only when people explicitly do 'yum install mysql' or have
mysql in kickstart.

In f20 either remove mysql completely or have it obsoleted by mariadb.

The key is taking it slowly, not all at once. I'm saying this as someone
who participates in maintaining yum et al. and someone who uses mysql in
Fedora.

Ales

I like this plan generally, but wouldn't wait too long with obsoleting mysql. If we don't obsolete mysql, then number of users who install mariadb will be very limited. When we do obsolete mysql, then everyone using mysql in rawhide will test it and honestly -- nobody should use rawhide for running data, which can be problem to lost (which is the worst case, that I haven't noticed in any forum about mysql->mariadb switch).

Honza
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux