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

2013-03-23 Thread Kevin Kofler
Reindl Harald wrote: > Am 18.03.2013 20:55, schrieb James Antill: >> 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

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

2013-03-20 Thread Norvald H. Ryeng
On Tue, 19 Mar 2013 08:56:04 +0100, Honza Horak wrote: On 03/18/2013 07:17 PM, Bill Nottingham wrote: 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 > >* Modify the 10

Re: Fwd: MariaDB replacing MySQL

2013-03-19 Thread James Antill
On Tue, 2013-03-19 at 10:37 -0400, Przemek Klosowski wrote: > On 03/18/2013 03:17 PM, James Antill wrote: > > Kind of ... the rule is that all idempotent operations should match > > packages without caring about case sensitivity. So "yum install Mysql" > > doesn't work, but "yum list Mysql" does.

Re: Fwd: MariaDB replacing MySQL

2013-03-19 Thread Przemek Klosowski
On 03/18/2013 03:17 PM, James Antill wrote: Kind of ... the rule is that all idempotent operations should match packages without caring about case sensitivity. So "yum install Mysql" doesn't work, but "yum list Mysql" does. "Idempotent" means that that multiple applications of an operation

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

2013-03-19 Thread Honza Horak
On 03/18/2013 07:17 PM, Bill Nottingham wrote: 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 > >* Modify the 10 packages that require mysql-server, the 19 packages >that

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

2013-03-18 Thread Reindl Harald
Am 18.03.2013 20:55, schrieb James Antill: > 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 per

Re: Fwd: MariaDB replacing MySQL

2013-03-18 Thread Nicolas Mailhot
Le Lun 18 mars 2013 18:12, Honza Horak a écrit : > Now I see it was not the best idea to call it MySQL, but yum sees that > as two different packages, doesn't it? Honestly? Capitalized package names are a PITA that break searches and make users miserable. The only reason they're not banned in Fe

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

2013-03-18 Thread James Antill
On Mon, 2013-03-18 at 18:42 +0100, Miloslav Trmač wrote: > On Mon, Mar 18, 2013 at 6:30 PM, Honza Horak wrote: > > In case of MySQL/mariadb (just for demonstration) the config file would > > contain say: > > MySQL +1 > > mariadb -1 > > which would tell yum to prioritize M

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

2013-03-18 Thread James Antill
On Mon, 2013-03-18 at 18:30 +0100, Honza Horak wrote: > I'd like to discuss the topic about virtual provides in a general > context (not related to MySQL->MariaDB replacement) to find out what > actually is a consensus in Fedora about an issue when "two packages > provide the same (not only) vir

Re: Fwd: MariaDB replacing MySQL

2013-03-18 Thread James Antill
On Mon, 2013-03-18 at 18:12 +0100, Honza Horak wrote: > On 03/15/2013 04:22 PM, James Antill wrote: > > 1. We are mixing a _package name_ "mysql" with a provide "mysql", and > > another package name that is different only by capitalization "MySQL". > > Now I see it was not the best idea to call it

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

2013-03-18 Thread Bill Nottingham
Miloslav Trmač (m...@volny.cz) said: > On Mon, Mar 18, 2013 at 6:30 PM, Honza Horak wrote: > > In case of MySQL/mariadb (just for demonstration) the config file would > > contain say: > > MySQL +1 > > mariadb -1 > > which would tell yum to prioritize MySQL. > > > > I'm s

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

2013-03-18 Thread Miloslav Trmač
On Mon, Mar 18, 2013 at 6:30 PM, Honza Horak wrote: > In case of MySQL/mariadb (just for demonstration) the config file would > contain say: > MySQL +1 > mariadb -1 > which would tell yum to prioritize MySQL. > > I'm sure that there are several other use cases for such ut

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

2013-03-18 Thread Honza Horak
I'd like to discuss the topic about virtual provides in a general context (not related to MySQL->MariaDB replacement) to find out what actually is a consensus in Fedora about an issue when "two packages provide the same (not only) virtual symbol" -- particularly what package maintainers could/s

Re: Fwd: MariaDB replacing MySQL

2013-03-18 Thread Honza Horak
On 03/15/2013 04:22 PM, James Antill wrote: On Wed, 2013-03-13 at 18:08 +0100, Honza Horak wrote: However, in scenarios I tested with packages similar to mysql/MySQL/mariadb it turned out, that we never reach the point where we have to choose one of more alternate providers. The reason is that y

Re: MariaDB replacing MySQL

2013-03-17 Thread Kevin Kofler
Jared K. Smith wrote: > Yes, we heard you the first three times you said that -- and it's > still not happening, at least for now. Each of the three times pointed out a new showstopper-level problem with having the 2 forks coexist. It's sad that no amount of technical impossibility is convincing

Re: Fwd: MariaDB replacing MySQL

2013-03-15 Thread James Antill
On Wed, 2013-03-13 at 18:08 +0100, Honza Horak wrote: > I've spent some time deep in yum and it seems to be better than I > thought now. First, the magic about choosing one provider from more > alternatives is not so dark any more (it was worse few years before) -- > it's actually documented at

Re: Fwd: MariaDB replacing MySQL

2013-03-15 Thread Jan Zelený
On 14. 3. 2013 at 16:44:58, Norvald H. Ryeng wrote: > On Wed, 13 Mar 2013 18:08:55 +0100, Honza Horak wrote: > > On 03/13/2013 09:27 AM, Norvald H. Ryeng wrote: > >> On Tue, 12 Mar 2013 18:25:02 +0100, Honza Horak > >> > >> wrote: > >>> On 03/12/2013 01:14 PM, Norvald H. Ryeng wrote: > On M

Re: Fwd: MariaDB replacing MySQL

2013-03-14 Thread Norvald H. Ryeng
On Wed, 13 Mar 2013 18:03:18 +0100, Honza Horak wrote: On 03/13/2013 09:27 AM, Norvald H. Ryeng wrote: We now changed the Requires in akonadi-mysql to mariadb-server to be sure of what we get. This dependency is a problem. It makes it impossible to install MySQL-server on a KDE system since

Re: Fwd: MariaDB replacing MySQL

2013-03-14 Thread Norvald H. Ryeng
On Wed, 13 Mar 2013 18:08:55 +0100, Honza Horak wrote: On 03/13/2013 09:27 AM, Norvald H. Ryeng wrote: On Tue, 12 Mar 2013 18:25:02 +0100, Honza Horak wrote: On 03/12/2013 01:14 PM, Norvald H. Ryeng wrote: On Mon, 11 Mar 2013 19:58:03 +0100, Kevin Kofler wrote: Honza Horak wrote: Thi

Re: Fwd: MariaDB replacing MySQL

2013-03-14 Thread Adam Williamson
On 13/03/13 09:25 PM, Ralf Corsepius wrote: On 03/14/2013 05:03 AM, Subhendu Ghosh wrote: On Mon, Mar 11, 2013 at 2:12 PM, Honza Horak wrote: so why is MariaDB not obsoleting mysql without all this versioning tricks and "mysql-oracle" installs the server under "/usr/local/mysql-oracle/" and pr

Re: Fwd: MariaDB replacing MySQL

2013-03-13 Thread Ralf Corsepius
On 03/14/2013 05:03 AM, Subhendu Ghosh wrote: On Mon, Mar 11, 2013 at 2:12 PM, Honza Horak wrote: so why is MariaDB not obsoleting mysql without all this versioning tricks and "mysql-oracle" installs the server under "/usr/local/mysql-oracle/" and provides a "mysql-oracle.service"? This is s

Re: Fwd: MariaDB replacing MySQL

2013-03-13 Thread Subhendu Ghosh
On Mon, Mar 11, 2013 at 2:12 PM, Honza Horak wrote: >> so why is MariaDB not obsoleting mysql without all >> this versioning tricks and "mysql-oracle" installs >> the server under "/usr/local/mysql-oracle/" and >> provides a "mysql-oracle.service"? > > > This is simply not possible in Fedora: > ht

Re: MariaDB replacing MySQL

2013-03-13 Thread Jared K. Smith
On Wed, Mar 13, 2013 at 5:27 PM, Kevin Kofler wrote: > The best would be to just remove MySQL from the distribution. Sorry. Yes, we heard you the first three times you said that -- and it's still not happening, at least for now. You're not doing yourself any favors by repeating yourself, especi

Re: MariaDB replacing MySQL

2013-03-13 Thread Kevin Kofler
Norvald H. Ryeng wrote: > The best would be to make the packages non-conflicting, either completely > separate or using alternatives to set a default. The best would be to just remove MySQL from the distribution. Sorry. Kevin Kofler -- devel mailing list devel@lists.fedoraproject.org ht

Re: Fwd: MariaDB replacing MySQL

2013-03-13 Thread Honza Horak
On 03/13/2013 09:27 AM, Norvald H. Ryeng wrote: On Tue, 12 Mar 2013 18:25:02 +0100, Honza Horak wrote: On 03/12/2013 01:14 PM, Norvald H. Ryeng wrote: On Mon, 11 Mar 2013 19:58:03 +0100, Kevin Kofler wrote: Honza Horak wrote: This doesn't solve all the issues -- if package like akonadi-my

Re: Fwd: MariaDB replacing MySQL

2013-03-13 Thread Honza Horak
On 03/13/2013 09:27 AM, Norvald H. Ryeng wrote: We now changed the Requires in akonadi-mysql to mariadb-server to be sure of what we get. This dependency is a problem. It makes it impossible to install MySQL-server on a KDE system since mariadb-server and MySQL-server conflict. I don't think

Re: Fwd: MariaDB replacing MySQL

2013-03-13 Thread Norvald H. Ryeng
On Tue, 12 Mar 2013 23:31:46 +0100, Kevin Kofler wrote: Norvald H. Ryeng wrote: This dependency is a problem. It makes it impossible to install MySQL-server on a KDE system since mariadb-server and MySQL-server conflict. That just shows how broken it is to have both in Fedora at the same t

Re: Fwd: MariaDB replacing MySQL

2013-03-13 Thread Norvald H. Ryeng
On Tue, 12 Mar 2013 18:25:02 +0100, Honza Horak wrote: On 03/12/2013 01:14 PM, Norvald H. Ryeng wrote: On Mon, 11 Mar 2013 19:58:03 +0100, Kevin Kofler wrote: Honza Horak wrote: This doesn't solve all the issues -- if package like akonadi-mysql says "Requires: mysql-server", then Oracle M

Re: MariaDB replacing MySQL

2013-03-13 Thread Norvald H. Ryeng
On Tue, 12 Mar 2013 17:59:50 +0100, Honza Horak wrote: On 03/06/2013 02:44 PM, Miloslav Trmač wrote: On Wed, Mar 6, 2013 at 2:35 PM, Norvald H. Ryeng wrote: In practice, this means that it will be almost impossible to install MySQL in Fedora. The recipe in the feature page [1] requires the

Re: Fwd: MariaDB replacing MySQL

2013-03-12 Thread Kevin Kofler
Norvald H. Ryeng wrote: > This dependency is a problem. It makes it impossible to install > MySQL-server on a KDE system since mariadb-server and MySQL-server > conflict. That just shows how broken it is to have both in Fedora at the same time. We need to make sure that 1. the live CD composes do

Re: Fwd: MariaDB replacing MySQL

2013-03-12 Thread Honza Horak
On 03/12/2013 01:14 PM, Norvald H. Ryeng wrote: On Mon, 11 Mar 2013 19:58:03 +0100, Kevin Kofler wrote: Honza Horak wrote: This doesn't solve all the issues -- if package like akonadi-mysql says "Requires: mysql-server", then Oracle MySQL either wouldn't satisfy that requirement or (in case i

Re: MariaDB replacing MySQL

2013-03-12 Thread Honza Horak
On 03/06/2013 02:44 PM, Miloslav Trmač wrote: On Wed, Mar 6, 2013 at 2:35 PM, Norvald H. Ryeng wrote: In practice, this means that it will be almost impossible to install MySQL in Fedora. The recipe in the feature page [1] requires the user to 1. edit yum.conf to set excludes=mariadb* and obso

Re: MariaDB replacing MySQL

2013-03-12 Thread Reindl Harald
Am 11.03.2013 19:12, schrieb Honza Horak: > On 03/09/2013 07:20 PM, Reindl Harald wrote: >> and why in the world is this not solved more pragmatically? >> >> my conslusion is >> * MariaDB will replace mysql as default >> * any package will be linked against mariadb >> * Oracle MySQL should only p

Re: Fwd: MariaDB replacing MySQL

2013-03-12 Thread Norvald H. Ryeng
On Mon, 11 Mar 2013 19:58:03 +0100, Kevin Kofler wrote: Honza Horak wrote: This doesn't solve all the issues -- if package like akonadi-mysql says "Requires: mysql-server", then Oracle MySQL either wouldn't satisfy that requirement or (in case it includes "Provides: mysql-server") RPM choosi

Re: Fwd: MariaDB replacing MySQL

2013-03-11 Thread Kevin Kofler
Honza Horak wrote: > This doesn't solve all the issues -- if package like akonadi-mysql says > "Requires: mysql-server", then Oracle MySQL either wouldn't satisfy that > requirement or (in case it includes "Provides: mysql-server") RPM > choosing behavior would be ambiguous. And it should not sati

Re: Fwd: MariaDB replacing MySQL

2013-03-11 Thread Honza Horak
On 03/09/2013 07:20 PM, Reindl Harald wrote: and why in the world is this not solved more pragmatically? my conslusion is * MariaDB will replace mysql as default * any package will be linked against mariadb * Oracle MySQL should only provide the server and not the client-tools This doesn't so

Re: MariaDB replacing MySQL

2013-03-10 Thread Kevin Kofler
Miloslav Trmač wrote: > The FESCo decision from the minutes was: >> feature owners are asked to make it possible to install the MySQL >> stand-alone server (only) > so dependencies on the client libraries are not a concern; Fedora > packages are expected to use the MariaDB client libraries. In oth

Re: MariaDB replacing MySQL

2013-03-09 Thread Reindl Harald
Am 09.03.2013 19:43, schrieb Kevin Fenzi: > To be clear, this was me, in my role as moderator of this list. > > I just don't think every subscriber on this list wants a copy of your > mariadb spec when interested people can just follow a link to it maybe you have a bad day 431 lines plaintext

Re: MariaDB replacing MySQL

2013-03-09 Thread Kevin Fenzi
On Sat, 09 Mar 2013 19:20:08 +0100 Reindl Harald wrote: > > "When I asked you to repost with just a link, I didn't mean also > > attach the orig email with the 20k spec file that was the reason the > > mail was too long in the first place." > > maybe you should make clearer what you want if you

Fwd: MariaDB replacing MySQL

2013-03-09 Thread Reindl Harald
lease avoided ---- Original-Nachricht Betreff: Re: MariaDB replacing MySQL Datum: Sat, 09 Mar 2013 17:14:57 +0100 Von: Reindl Harald Organisation: the lounge interactive design An: Development discussions related to Fedora Am 08.03.2013 08:09, schrieb Rahul Sundaram: > On 03/06

Re: MariaDB replacing MySQL

2013-03-07 Thread Rahul Sundaram
On 03/06/2013 08:44 AM, Miloslav Trmač wrote: File conflicts within the server packages might still be a concern, I don't know. Per the decision quoted above, FESCo would prefer the maintainers of the two servers to agree on a solution. If the maintainers don't reach a solution or if one of th

Re: MariaDB replacing MySQL

2013-03-06 Thread Miloslav Trmač
On Wed, Mar 6, 2013 at 2:35 PM, Norvald H. Ryeng wrote: > In practice, this means that it will be almost impossible to install MySQL > in Fedora. The recipe in the feature page [1] requires the user to > > 1. edit yum.conf to set excludes=mariadb* and obsoletes=0, > 2. run yum shell to replace the

Re: MariaDB replacing MySQL

2013-03-06 Thread Norvald H. Ryeng
On Tue, 05 Mar 2013 19:14:25 +0100, Honza Horak wrote: On 03/05/2013 11:07 AM, Norvald H. Ryeng wrote: On Thu, 14 Feb 2013 16:17:00 +0100, Tom Lane wrote: The way this worked in the past (and still does on RHEL and some other distros) is that MySQL AB provided RPMs named "MySQL", "MySQL-serv

Re: MariaDB replacing MySQL [was Re: Should MariaDB touch my.cnf in %post?]

2013-03-06 Thread Jan Zelený
On 5. 3. 2013 at 19:14:25, Honza Horak wrote: > On 03/05/2013 11:07 AM, Norvald H. Ryeng wrote: > > On Thu, 14 Feb 2013 16:17:00 +0100, Tom Lane wrote: > >> The way this worked in the past (and still does on RHEL and some other > >> distros) is that MySQL AB provided RPMs named "MySQL", "MySQL-ser

MariaDB replacing MySQL [was Re: Should MariaDB touch my.cnf in %post?]

2013-03-05 Thread Honza Horak
On 03/05/2013 11:07 AM, Norvald H. Ryeng wrote: On Thu, 14 Feb 2013 16:17:00 +0100, Tom Lane wrote: The way this worked in the past (and still does on RHEL and some other distros) is that MySQL AB provided RPMs named "MySQL", "MySQL-server", etc, which simply conflicted with the Red Hat-supplie