Hi all, The new style dbconfig-common packages live already for some time in the archive, and I haven't received any complaint/bug yet about the database dependent packages. This means that I believe it is time to bug the maintainers of packages that depend on dbconfig-common with a wish list bug to change their dependencies to the right package. Because there are lots of packages involved, I want to share my proposed report here and check that there are no objections. Please find my proposed text attached, as well as a dd list for the maintainers involved (ironic note, I'm on the list myself). I'd love to hear your comments. Paul
Title: please depend on database specific dbconfig-<dbtype> package instead of dbconfig-common Dear maintainer, Your package depends on dbconfig-common. Some time ago I introduced database type specific packages in the dbconfig framework. I announced this on debian-devel¹. Now it is time to request you to change the dependency of your package to depend on the dbconfig-<dbtype> packages matching the database(s) that your package supports. For the convenience of system administrators that don't want dbconfig-common to handle the database handling, I also introduced a package called dbconfig-no-thanks, which will prevent dbconfig-common from doing anything (just like answering no to the first dbconfig-common question). You should always have dbconfig-no-thanks as an (last) alternative to the dbconfig-<dbtype> package(s). So, how to make use of these new packages? The only change you have to do² is revisit your (pre-)dependencies/recommends/suggest. If you properly followed the dbconfig-common documentation, you have a dependency on dbconfig-common and at least a recommends (but probably a depends) on the command-line client(s) for the database type(s) you support. You should replace these with a depends on dbconfig-<dbtype> | dbconfig-no-thanks. Two examples. a) your package supports PostgreSQL, your dependencies now are Depends: dbconfig-pgsql | dbconfig-no-thanks b) your package supports sqlite3 or sqlite, your dependencies now are Depends: dbconfig-sqlite3 | dbconfig-sqlite | dbconfig-no-thanks If you don't need the command-line databse client for your package itself, i.e. you only added it because dbconfig-common needs it, you can now remove that as well, because now the <dbtype> packages take care themselves. For those of you that backport their packages via the Debian backports achive, I provide backports of dbconfig-common to jessie-backports. On request I can do the same with wheezy-backports-sloppy. For those of you that also provide packages elsewhere where you may not have dbconfig-common version 2.0.0 or higher, I can recommend the trick done by phpmyadmin: dbconfig-mysql | dbconfig-no-thanks | dbconfig-common (<< 2.0.0) Paul ¹ https://lists.debian.org/debian-devel/2015/12/msg00044.html ² Be aware, if your package supports multiple databases, you still need to set the dbc_dbtypes variable in you config script.
Alexander Wirt <formorer@debian.org> icinga (U) icinga-web (U) icinga2 (U) Andreas Henriksson <andreas@fatal.se> bandwidthd Andreas Tille <andreas@an3as.eu> manila (U) Bareos Packaging Team <pkg-bareos-devel@lists.alioth.debian.org> bareos Cacti Maintainer <pkg-cacti-maint@lists.alioth.debian.org> cacti-spine Carsten Leonhardt <leo@debian.org> bacula (U) Corey Bryant <corey.bryant@canonical.com> murano (U) Craig Small <csmall@debian.org> jffnms Dain Nilsson <dain@yubico.com> yubikey-ksm (U) yubikey-val (U) Daniel Pocock <daniel@pocock.com.au> yubikey-ksm (U) yubikey-val (U) Dario Minnucci <midget@debian.org> dotclear David Gil <dgil@telefonica.net> phpgacl David Prévot <taffit@debian.org> phpbb3 (U) Debian Authentication Maintainers <pkg-auth-maintainers@lists.alioth.debian.org> yubikey-ksm yubikey-val Debian Bacula Team <pkg-bacula-devel@lists.alioth.debian.org> bacula Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org> icinga icinga-web icinga2 ndoutils (U) Debian QA Group <packages@qa.debian.org> semanticscuttle webissues-server Debian Request Tracker Group <pkg-request-tracker-maintainers@lists.alioth.debian.org> request-tracker4 Debian Roundcube Maintainers <pkg-roundcube-maintainers@lists.alioth.debian.org> roundcube Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> tango Debian Sympa team <pkg-sympa-devel@lists.alioth.debian.org> sympa Dominic Hargreaves <dom@earth.li> request-tracker4 (U) Emmanuel Bouthenot <kolter@debian.org> sympa (U) Evgeni Golov <evgeni@debian.org> bareos (U) bley Francesco Paolo Lovergine <frankie@debian.org> openacs (U) Francisco Manuel Garcia Claramonte <francisco@debian.org> letodms Gaudenz Steinlin <gaudenz@debian.org> postfixadmin (U) Gonéri Le Bouder <goneri@rulezlan.org> glpi (U) Guilhem Moulin <guilhem@guilhem.org> roundcube (U) Gunnar Wolf <gwolf@debian.org> drupal7 Gustavo Panizzo <gfa@zumbi.com.ar> neutron (U) gustavo panizzo <gfa@zumbi.com.ar> nova (U) Hector Romojaro <hector.romojaro@gmail.com> openacs Hendrik Frenzel <hfrenzel@scunc.net> ndoutils Ivan Udovichenko <iudovichenko@mirantis.com> murano (U) James Bennet <github@james-bennet.com> pybit (U) Jan Wagner <waja@cyconet.org> icinga (U) icinga-web (U) icinga2 (U) Jan-Pascal van Best <janpascal@vanbest.org> spotweb Javier Fernandez-Sanguino Pen~a <jfs@computer.org> acidbase (U) phpgacl (U) Jeremy T. Bouse <jbouse@debian.org> acidbase Joerg Steffens <joerg.steffens@bareos.com> bareos (U) Jonas Smedegaard <dr@jones.dk> sympa (U) Joost van Baal-Ilić <joostvb@debian.org> moodle (U) Klas Lindfors <klas@yubico.com> yubikey-ksm (U) yubikey-val (U) Luigi Gangitano <luigi@debian.org> drupal7 (U) Mahyuddin Susanto <udienz@ubuntu.com> cacti-spine (U) Malihe Asemani <ml.asemani@gmail.com> manila (U) Marcelo Jorge Vieira (metal) <metal@debian.org> scuttle tt-rss (U) Markus Frosch <lazyfrosch@debian.org> icinga (U) icinga-web (U) icinga2 (U) Michael Biebl <biebl@debian.org> rsyslog Michal Čihař <nijel@debian.org> ukolovnik Mickael Profeta <profeta@debian.org> prelude-manager (U) Moodle Packaging Team <pkg-moodle-maintainers@lists.alioth.debian.org> moodle Neil Williams <codehelp@debian.org> pybit Nick Davidson <nicholas.davidson@gmail.com> pybit (U) Nicolas Roudaire <nikrou77@gmail.com> dotclear (U) Niko Tyni <ntyni@debian.org> request-tracker4 (U) Norman Messtorff <normes@normes.org> postfixadmin Patrick Matthäi <pmatthaei@debian.org> otrs2 pnopaste Paul Gevers <elbrus@debian.org> cacti-spine (U) phpBB packaging team <phpbb-l@lists.a-eskwadraat.nl> phpbb3 Picca Frédéric-Emmanuel <picca@debian.org> tango (U) Pierre Chifflier <pollux@debian.org> glpi prelude-manager prewikka PKG OpenStack <openstack-devel@lists.alioth.debian.org> barbican cinder designate glance gnocchi heat ironic keystone magnum manila mistral murano neutron nova openstack-meta-packages openstack-trove rally sahara tuskar zaqar Radu Spineanu <radu@debian.org> simba Richard Sellam <richard.sellam@orvidia.fr> phabricator Sandro Knauß <bugs@sandroknauss.de> roundcube (U) Sean Finney <seanius@debian.org> cacti-spine (U) Sebastian Reichel <sre@debian.org> tt-rss Simon Haswell <maxcady78@hotmail.co.uk> pybit (U) Simon Josefsson <simon@josefsson.org> yubikey-ksm (U) yubikey-val (U) Stefan Hornburg (Racke) <racke@linuxia.de> interchange sympa (U) Sylvestre Ledru <sylvestre@debian.org> phabricator (U) Thomas Goirand <zigo@debian.org> barbican (U) cinder (U) designate (U) glance (U) gnocchi (U) heat (U) ironic (U) keystone (U) magnum (U) manila (U) mistral (U) murano (U) neutron (U) nova (U) openstack-meta-packages (U) openstack-trove (U) rally (U) sahara (U) tuskar (U) zaqar (U) Thomas Mueller <thomas@chaschperli.ch> otrs2 (U) Tomasz Muras <nexor1984@gmail.com> moodle (U) Ulises Vitulli <dererk@debian.org> auth2db Vincent Bernat <bernat@debian.org> pinba-engine-mysql roundcube (U)
Attachment:
signature.asc
Description: OpenPGP digital signature