conda-forge / mysql-feedstock

A conda-smithy repository for mysql.
BSD 3-Clause "New" or "Revised" License
0 stars 14 forks source link

MySQL 8 package #6

Closed AgrawalAmey closed 4 years ago

AgrawalAmey commented 4 years ago

Can we have a separate feedstock for MySQL 8?

beckermr commented 4 years ago

why?

AgrawalAmey commented 4 years ago

@beckermr there doesn't seem to be any mysql package available for conda.

beckermr commented 4 years ago

there is mysql 5 here

we can upgrade this feedstock to 8

prs welcome!

AgrawalAmey commented 4 years ago

Ohh okay, I thought since mysql 5.7 is still in use, this was intentional. Will create a PR

beckermr commented 4 years ago

we can make another branch for 5.7 if people want updates

beckermr commented 4 years ago

coordinate with @nehaljwani as he had some great ideas for making this build better

AgrawalAmey commented 4 years ago

sure, @beckermr. Thanks for the pointer.

nehaljwani commented 4 years ago

So, building is not that hard. Splitting it is.

On Fedora, we have:

community-mysql | MySQL client programs and shared libraries
community-mysql-common | The shared files required for MySQL server and client
community-mysql-devel | Files for development of MySQL applications
community-mysql-errmsg | The error messages files required by MySQL server
community-mysql-libs | The shared libraries required for MySQL clients
community-mysql-server | The MySQL server and related files
community-mysql-test | The test suite distributed with MySQL

My intent is to split the package like this:

mysql-plugins -> all plugins  # can be part of mysql-server
mysql-libs -> all shared libraries
mysql-common -> shared files b/w server and client
mysql-devel -> header files and dependency on mysql-libs
mysql-server -> server binaries with a dependency on mysql-plugins and mysql-libs and mysql-common

Then mysql-connector-python and other mysql (C/C++/python/whatnot) clients can then start depending on mysql-devel (during build) which will have a run_exports on myql-libs. If these want plugins, they can optionally depend on that too.

Refer: https://src.fedoraproject.org/rpms/community-mysql/blob/f32/f/community-mysql.spec for the contents for splitting