免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4038 | 回复: 1
打印 上一主题 下一主题

开放透明的debian已经着手彻底干掉mysql了 [复制链接]

论坛徽章:
223
2022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:32操作系统版块每日发帖之星
日期:2016-05-10 19:22:58操作系统版块每日发帖之星
日期:2016-02-18 06:20:00操作系统版块每日发帖之星
日期:2016-03-01 06:20:00操作系统版块每日发帖之星
日期:2016-03-02 06:20:0015-16赛季CBA联赛之上海
日期:2019-09-20 12:29:3219周年集字徽章-周
日期:2019-10-01 20:47:4815-16赛季CBA联赛之八一
日期:2020-10-23 18:30:5320周年集字徽章-20	
日期:2020-10-28 14:14:2615-16赛季CBA联赛之广夏
日期:2023-02-25 16:26:26CU十四周年纪念徽章
日期:2023-04-13 12:23:10操作系统版块每日发帖之星
日期:2016-05-10 19:22:58
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-07-03 20:22 |只看该作者 |倒序浏览
不是彻底抵制,用户依然可以第三方选择mysql
只是用户默认不会再看到mysql的相关了

Hello!

Report of status and request for comments from the release team
regarding the next steps:

2016-04-11 21:38 GMT+01:00 Otto Kekäläinen <otto@seravo.fi>:
> 1. MariaDB as default

On the pkg-mysql-maint team we have discussed providing a new scheme
to complement the existing virtual-mysql-* scheme. We plan to
introduce new purely virtual packages, that are provided only by
MariaDB:
- default-mysql-client
- default-mysql-client-core
- default-mysql-server
- default-mysql-server-core
- default-libmysqlclient

(the last item on the list is my own addition, see point 3 below)

Once these are available we would announce them on debian-devel@ and
ask all packagers to update existing "Depends: mysql-*" to "Depends:
default-mysql-*"

If release team whished to switch defaults, then it is just a matter
on deciding which package shall provide these default-mysql-* virtual
packages. This is how e.g. default-mta works and is provided by
Postfix.


> 2. mysql-common and configuration

The pkg-mysql-main team has been working to create a new source
package 'mysql-defaults', which will produce the mysql-common binary
package, which provides the configuration facilities etc that both
mysql-* and mariadb-* binary packages use. This is mostly an
refactoring effort, taking out current mysql-common from the mysql-5.6
source package into a new source package that is independet.


> 3. libmysqlclient.so.18

Here theres's no concensus yet within the pkg-mysql-maint team on this one.

I suggest we extend the mysql-defaults source package to provide a
real default-mysqlclient-dev metapackage, which other packages can
build depend on, using versions if needed (just as default-jdk does).

Current mariadb-10.0 source package does not ship any
libmariadbclient18 nor libmariadbclient-dev packages at all, as
previously it was seen as against the policy (but mariadb-5.5 in
Debian did). I suggest we start producing them now again to make a
libmysqlclient.so(.1 available from mariadb-10.0.

Having two libmysqlclient.so.18 files from two different packages is a
controversial topic. They are not identical so it is ugly to use the
same name. This is however a necessity dictated by the need to provide
a drop-in-replacement that can be used directly without going into
every single clienting program and editing the C headers and soname
calls.

It should be noted that the Debian packages shipped directly from
mariadb.org have provided the libmysqlclient.so file since forever and
there has not been problems and the drop-in-replacement function has
been fullfilled as expected. All packages that used to depend on
Oracle MySQL client library have continued to function with the
MariaDB equivalent when mariadb.org repositories are activated.

It should also be noted that the soname version number 18 has been
used in Oracle MySQL for a long time without bumping it despite
changes in the API. The API changes have also gone undocumented all
the time as the libmysqlclient18 package does not have .symbols file.
Oracle has finally bumped the soname version to 20 in MySQL 5.7. The
number 19 is not used anywhere, but was left as something that can be
resorted to in 5.6, in case somebody would complain too much that 5.5
and 5.6 API differ but have same version number. No one has, so for
all practical purposes, the current situation is OK.

The solution I suggest works nicely in the scope of
libmysqlclient18/libmariadbclient18 and is resilent for scenarios
where libmysqlclient20 is introduced or where even more client
libraries are available (mainly libmariadb2), but I won't go into the
details of those now, as I think here is enough information to decide
on whether or not it is OK to provide libmysqlclient.so from a
libmariadbclient18 package. This would also mean we introduce the
default-libmysqlclient-dev pmetaackage which depends on either
libmariadbclient-dev or libmysqlclient-dev package.

Please comment and advice on how to proceed with packaging to satisfy
with the switchable defaults requirement.

论坛徽章:
223
2022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:32操作系统版块每日发帖之星
日期:2016-05-10 19:22:58操作系统版块每日发帖之星
日期:2016-02-18 06:20:00操作系统版块每日发帖之星
日期:2016-03-01 06:20:00操作系统版块每日发帖之星
日期:2016-03-02 06:20:0015-16赛季CBA联赛之上海
日期:2019-09-20 12:29:3219周年集字徽章-周
日期:2019-10-01 20:47:4815-16赛季CBA联赛之八一
日期:2020-10-23 18:30:5320周年集字徽章-20	
日期:2020-10-28 14:14:2615-16赛季CBA联赛之广夏
日期:2023-02-25 16:26:26CU十四周年纪念徽章
日期:2023-04-13 12:23:10操作系统版块每日发帖之星
日期:2016-05-10 19:22:58
2 [报告]
发表于 2016-07-11 21:15 |只看该作者
Hello maintainers of packages that depend in MySQL/MariaDB!


TL;DR;

We will soon ask you to change packages that depend on MySQL or
MariaDB as follows:

BEFORE: Build-Depends: libmysqlclient-dev
AFTER: Build-Depends: default-libmysqlclient-dev

BEFORE: Depends: mysql-server | virtual-mysql-server OR Depends:
mariadb-server | virtual-mysql-server
AFTER: Depends: default-mysql-server | virtual-mysql-server

BEFORE: Depends: mysql-client | virtual-mysql-client OR Depends:
mariadb-client | virtual-mariadb-client
AFTER: Depends: default-mysql-client | default-mysql-client

You can already test this in experimental. We will announce when you
should do this in unstable.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP