Advertisement

MariaDB quality assurance in Debian and Ubuntu

Seravo
Dec. 9, 2020
Advertisement

More Related Content

Slideshows for you(20)

Similar to MariaDB quality assurance in Debian and Ubuntu(20)

Advertisement

More from Otto Kekäläinen(20)

Recently uploaded(20)

Advertisement

MariaDB quality assurance in Debian and Ubuntu

  1. Debian, Ubuntu & MariaDB MariaDB post-release quality assurance in Debian and Ubuntu Follow @ottokekalainen for insight about the open source world! MariaDB Server Minifest 9th of December 2020
  2. ~60 % of web servers run Debian or Ubuntu apt install mariadb-server w3techs.com/technologies/details/os-linux
  3. Debian Mother of all (or most) Linux distros commons.wikimedia.org/wiki/File:Linux_ Distribution_Timeline.svg
  4. State of MariaDB and Galera in Debian
  5. MariaDB and MySQL timeline MariaDB 5.1 MariaDB 5.5 shipped in Debian 8 MariaDB 10.0 shipped in Debian 9 MariaDB 10.1 MariaDB 10.2 shipped in Debian 10 MariaDB 10.3 MariaDB 10.4 ships in Debian 11 MariaDB 10.5 MySQL 5.1 shipped in Debian 6 MySQL 5.5 shipped in Debian 7 and 8 MySQL 5.6 MySQL 5.7 MySQL 8.0 GA 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020
  6. State of MariaDB and MySQL in Debian ● MariaDB 10.3 in Buster (latest Debian stable release) ● MariaDB 10.5 in Bullseye (next Debian stable release) ● Galera 3 in Buster ● Galera 4 in Bullseye ○ also in Buster-backports and Stretch-backports ● No MySQL in stable Debian releases since Jessie ○ Exists in Debian unstable but will not migrate to testing and stable ○ Debian unstable had MySQL 5.7 for years, MySQL 8.0 since fall 2020 ● mysql-defaults define the settings ○ Debian defaults to MariaDB as decided by the Debian release team ○ Ubuntu defaults to Oracle MySQL as decided by Canonical
  7. MariaDB versions in Debian/Ubuntu packages.debian.org/search?lang=en&suite=all&searchon=n ames&keywords=mariadb-server packages.ubuntu.com/search?lang=en&suite=all&searchon= names&keywords=mariadb-server
  8. Debian packaging process briefly
  9. Release flow in Debian ● There is a copy of MariaDB sources at salsa.debian.org/mariadb-team/ ● Tool “uscan” is used to check for new upstream releases = a new tar.gz package to download and import into Debian ● Packaging is done into the debian/ directory ○ Upstream release: 10.5.8 ○ Debian revision: 10.5.8-3 ● Only Debian Developers can upload to the Debian archive
  10. Debian archives: unstable -> testing -> stable
  11. Security releases cause challenges for quality assurance ubuntu.com/security/notices/USN-4603-1www.debian.org/security/2020/dsa-4776
  12. The Debian Policy Linux distributions love stability, standards and quality! The Debian Policy Manual alone spans 150 pages debian.org/doc/debian-policy/
  13. Quality Assurance for all packages in Debian
  14. Packager summaries of MariaDB and MySQL in Debian ● Maintainer dashboard ○ udd.debian.org/dmd/?pkg-mysql-maint%40lists.alioth.debian.org ● Packages overview ○ https://qa.debian.org/developer.php?email=pkg-mysql-maint%40lists.alioth.debian.org ● Selected tracker pages: ○ tracker.debian.org/pkg/mariadb-10.3 ○ tracker.debian.org/pkg/mariadb-10.5 ○ tracker.debian.org/pkg/galera-4
  15. Packages overview for Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
  16. tracker.debian.org The main page for QA in Debian lists ● versions ● warnings ● bugs ● migration excuses
  17. QA systems in Debian: buildd.debian.org
  18. QA systems in Debian: reproducible-builds.org
  19. QA systems in Debian: ci.debian.net
  20. Also in Ubuntu: autopkgtest.ubuntu.com Piu Exactly the same debci / autopkgtests tests and runner, but in the Ubuntu archive instead.
  21. QA systems in Debian: piuparts.debian.org Piu Tests installs, upgrades, removals etc package life-cycle.
  22. QA systems in Debian: Lintian Command-line tool and website that runs thousands of checks that analyze the package and suggest fixes to the source, packaging or the software itself (e.g. spelling). Many Lintian found issues are useful to fix for all distros and platforms, not just Debian.
  23. Quality Assurance MariaDB only in Debian
  24. Debian specific CI system with 45 steps Run most of the Debian QA tools on every commit salsa.debian.org/mariadb-team/mariadb-10.5/-/pipelines
  25. Bug reports by Debian users
  26. Debian users might file MariaDB bugs in Debian (not Jira!) MariaDB 10.4 entered Debian experimental bugs.debian.org
  27. Ubuntu users might file MariaDB bugs on Launchpad bugs.launchpad.net/ubuntu/+source/mariadb-10.5
  28. Eventually all downstream fixes flow also upstream debian/patches$ grep Forwarded * 928230-mysql_config---libmysqld-libs.patch: Forwarded: github.com/MariaDB/mariadb-connector-c/pull/109 hurd.patch: Forwarded: github.com/MariaDB/server/pull/918#discussion_r2 31432905 MDEV-18768-automate-auth_socket-to_unix_socket-u pgrade.patch: Forwarded: jira.mariadb.org/browse/MDEV-18768 mroonga-path-reproducible-build.patch: Forwarded: github.com/mroonga/mroonga/issues/298
  29. Plenty of work in both developing new and maintaining old Contributors welcome!
  30. Please join! You don’t have to be a coder/developer to help, there are plenty of other valued skills as well! ● Participate in bugs.debian.org discussions! ● Send merge requests on Salsa: wiki.debian.org/Teams/MySQL/patches ● Contribute upstream: mariadb.org/get-involved ● Join pkg-mysql-maint mailing list alioth-lists.debian.net/cgi-bin/mailman/listinfo/p kg-mysql-maint
Advertisement