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 <formo...@debian.org>
   icinga (U)
   icinga-web (U)
   icinga2 (U)

Andreas Henriksson <andr...@fatal.se>
   bandwidthd

Andreas Tille <andr...@an3as.eu>
   manila (U)

Bareos Packaging Team <pkg-bareos-de...@lists.alioth.debian.org>
   bareos

Cacti Maintainer <pkg-cacti-ma...@lists.alioth.debian.org>
   cacti-spine

Carsten Leonhardt <l...@debian.org>
   bacula (U)

Corey Bryant <corey.bry...@canonical.com>
   murano (U)

Craig Small <csm...@debian.org>
   jffnms

Dain Nilsson <d...@yubico.com>
   yubikey-ksm (U)
   yubikey-val (U)

Daniel Pocock <dan...@pocock.com.au>
   yubikey-ksm (U)
   yubikey-val (U)

Dario Minnucci <mid...@debian.org>
   dotclear

David Gil <d...@telefonica.net>
   phpgacl

David Prévot <taf...@debian.org>
   phpbb3 (U)

Debian Authentication Maintainers <pkg-auth-maintain...@lists.alioth.debian.org>
   yubikey-ksm
   yubikey-val

Debian Bacula Team <pkg-bacula-de...@lists.alioth.debian.org>
   bacula

Debian Nagios Maintainer Group <pkg-nagios-de...@lists.alioth.debian.org>
   icinga
   icinga-web
   icinga2
   ndoutils (U)

Debian QA Group <packa...@qa.debian.org>
   semanticscuttle
   webissues-server

Debian Request Tracker Group 
<pkg-request-tracker-maintain...@lists.alioth.debian.org>
   request-tracker4

Debian Roundcube Maintainers <pkg-roundcube-maintain...@lists.alioth.debian.org>
   roundcube

Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org>
   tango

Debian Sympa team <pkg-sympa-de...@lists.alioth.debian.org>
   sympa

Dominic Hargreaves <d...@earth.li>
   request-tracker4 (U)

Emmanuel Bouthenot <kol...@debian.org>
   sympa (U)

Evgeni Golov <evg...@debian.org>
   bareos (U)
   bley

Francesco Paolo Lovergine <fran...@debian.org>
   openacs (U)

Francisco Manuel Garcia Claramonte <franci...@debian.org>
   letodms

Gaudenz Steinlin <gaud...@debian.org>
   postfixadmin (U)

Gonéri Le Bouder <gon...@rulezlan.org>
   glpi (U)

Guilhem Moulin <guil...@guilhem.org>
   roundcube (U)

Gunnar Wolf <gw...@debian.org>
   drupal7

Gustavo Panizzo <g...@zumbi.com.ar>
   neutron (U)

gustavo panizzo <g...@zumbi.com.ar>
   nova (U)

Hector Romojaro <hector.romoj...@gmail.com>
   openacs

Hendrik Frenzel <hfren...@scunc.net>
   ndoutils

Ivan Udovichenko <iudoviche...@mirantis.com>
   murano (U)

James Bennet <git...@james-bennet.com>
   pybit (U)

Jan Wagner <w...@cyconet.org>
   icinga (U)
   icinga-web (U)
   icinga2 (U)

Jan-Pascal van Best <janpas...@vanbest.org>
   spotweb

Javier Fernandez-Sanguino Pen~a <j...@computer.org>
   acidbase (U)
   phpgacl (U)

Jeremy T. Bouse <jbo...@debian.org>
   acidbase

Joerg Steffens <joerg.steff...@bareos.com>
   bareos (U)

Jonas Smedegaard <d...@jones.dk>
   sympa (U)

Joost van Baal-Ilić <joos...@debian.org>
   moodle (U)

Klas Lindfors <k...@yubico.com>
   yubikey-ksm (U)
   yubikey-val (U)

Luigi Gangitano <lu...@debian.org>
   drupal7 (U)

Mahyuddin Susanto <udi...@ubuntu.com>
   cacti-spine (U)

Malihe Asemani <ml.asem...@gmail.com>
   manila (U)

Marcelo Jorge Vieira (metal) <me...@debian.org>
   scuttle
   tt-rss (U)

Markus Frosch <lazyfro...@debian.org>
   icinga (U)
   icinga-web (U)
   icinga2 (U)

Michael Biebl <bi...@debian.org>
   rsyslog

Michal Čihař <ni...@debian.org>
   ukolovnik

Mickael Profeta <prof...@debian.org>
   prelude-manager (U)

Moodle Packaging Team <pkg-moodle-maintain...@lists.alioth.debian.org>
   moodle

Neil Williams <codeh...@debian.org>
   pybit

Nick Davidson <nicholas.david...@gmail.com>
   pybit (U)

Nicolas Roudaire <nikro...@gmail.com>
   dotclear (U)

Niko Tyni <nt...@debian.org>
   request-tracker4 (U)

Norman Messtorff <nor...@normes.org>
   postfixadmin

Patrick Matthäi <pmatth...@debian.org>
   otrs2
   pnopaste

Paul Gevers <elb...@debian.org>
   cacti-spine (U)

phpBB packaging team <phpb...@lists.a-eskwadraat.nl>
   phpbb3

Picca Frédéric-Emmanuel <pi...@debian.org>
   tango (U)

Pierre Chifflier <pol...@debian.org>
   glpi
   prelude-manager
   prewikka

PKG OpenStack <openstack-de...@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 <r...@debian.org>
   simba

Richard Sellam <richard.sel...@orvidia.fr>
   phabricator

Sandro Knauß <b...@sandroknauss.de>
   roundcube (U)

Sean Finney <sean...@debian.org>
   cacti-spine (U)

Sebastian Reichel <s...@debian.org>
   tt-rss

Simon Haswell <maxcad...@hotmail.co.uk>
   pybit (U)

Simon Josefsson <si...@josefsson.org>
   yubikey-ksm (U)
   yubikey-val (U)

Stefan Hornburg (Racke) <ra...@linuxia.de>
   interchange
   sympa (U)

Sylvestre Ledru <sylves...@debian.org>
   phabricator (U)

Thomas Goirand <z...@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 <tho...@chaschperli.ch>
   otrs2 (U)

Tomasz Muras <nexor1...@gmail.com>
   moodle (U)

Ulises Vitulli <der...@debian.org>
   auth2db

Vincent Bernat <ber...@debian.org>
   pinba-engine-mysql
   roundcube (U)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to