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 <[email protected]>
   icinga (U)
   icinga-web (U)
   icinga2 (U)

Andreas Henriksson <[email protected]>
   bandwidthd

Andreas Tille <[email protected]>
   manila (U)

Bareos Packaging Team <[email protected]>
   bareos

Cacti Maintainer <[email protected]>
   cacti-spine

Carsten Leonhardt <[email protected]>
   bacula (U)

Corey Bryant <[email protected]>
   murano (U)

Craig Small <[email protected]>
   jffnms

Dain Nilsson <[email protected]>
   yubikey-ksm (U)
   yubikey-val (U)

Daniel Pocock <[email protected]>
   yubikey-ksm (U)
   yubikey-val (U)

Dario Minnucci <[email protected]>
   dotclear

David Gil <[email protected]>
   phpgacl

David Prévot <[email protected]>
   phpbb3 (U)

Debian Authentication Maintainers <[email protected]>
   yubikey-ksm
   yubikey-val

Debian Bacula Team <[email protected]>
   bacula

Debian Nagios Maintainer Group <[email protected]>
   icinga
   icinga-web
   icinga2
   ndoutils (U)

Debian QA Group <[email protected]>
   semanticscuttle
   webissues-server

Debian Request Tracker Group 
<[email protected]>
   request-tracker4

Debian Roundcube Maintainers <[email protected]>
   roundcube

Debian Science Maintainers <[email protected]>
   tango

Debian Sympa team <[email protected]>
   sympa

Dominic Hargreaves <[email protected]>
   request-tracker4 (U)

Emmanuel Bouthenot <[email protected]>
   sympa (U)

Evgeni Golov <[email protected]>
   bareos (U)
   bley

Francesco Paolo Lovergine <[email protected]>
   openacs (U)

Francisco Manuel Garcia Claramonte <[email protected]>
   letodms

Gaudenz Steinlin <[email protected]>
   postfixadmin (U)

Gonéri Le Bouder <[email protected]>
   glpi (U)

Guilhem Moulin <[email protected]>
   roundcube (U)

Gunnar Wolf <[email protected]>
   drupal7

Gustavo Panizzo <[email protected]>
   neutron (U)

gustavo panizzo <[email protected]>
   nova (U)

Hector Romojaro <[email protected]>
   openacs

Hendrik Frenzel <[email protected]>
   ndoutils

Ivan Udovichenko <[email protected]>
   murano (U)

James Bennet <[email protected]>
   pybit (U)

Jan Wagner <[email protected]>
   icinga (U)
   icinga-web (U)
   icinga2 (U)

Jan-Pascal van Best <[email protected]>
   spotweb

Javier Fernandez-Sanguino Pen~a <[email protected]>
   acidbase (U)
   phpgacl (U)

Jeremy T. Bouse <[email protected]>
   acidbase

Joerg Steffens <[email protected]>
   bareos (U)

Jonas Smedegaard <[email protected]>
   sympa (U)

Joost van Baal-Ilić <[email protected]>
   moodle (U)

Klas Lindfors <[email protected]>
   yubikey-ksm (U)
   yubikey-val (U)

Luigi Gangitano <[email protected]>
   drupal7 (U)

Mahyuddin Susanto <[email protected]>
   cacti-spine (U)

Malihe Asemani <[email protected]>
   manila (U)

Marcelo Jorge Vieira (metal) <[email protected]>
   scuttle
   tt-rss (U)

Markus Frosch <[email protected]>
   icinga (U)
   icinga-web (U)
   icinga2 (U)

Michael Biebl <[email protected]>
   rsyslog

Michal Čihař <[email protected]>
   ukolovnik

Mickael Profeta <[email protected]>
   prelude-manager (U)

Moodle Packaging Team <[email protected]>
   moodle

Neil Williams <[email protected]>
   pybit

Nick Davidson <[email protected]>
   pybit (U)

Nicolas Roudaire <[email protected]>
   dotclear (U)

Niko Tyni <[email protected]>
   request-tracker4 (U)

Norman Messtorff <[email protected]>
   postfixadmin

Patrick Matthäi <[email protected]>
   otrs2
   pnopaste

Paul Gevers <[email protected]>
   cacti-spine (U)

phpBB packaging team <[email protected]>
   phpbb3

Picca Frédéric-Emmanuel <[email protected]>
   tango (U)

Pierre Chifflier <[email protected]>
   glpi
   prelude-manager
   prewikka

PKG OpenStack <[email protected]>
   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 <[email protected]>
   simba

Richard Sellam <[email protected]>
   phabricator

Sandro Knauß <[email protected]>
   roundcube (U)

Sean Finney <[email protected]>
   cacti-spine (U)

Sebastian Reichel <[email protected]>
   tt-rss

Simon Haswell <[email protected]>
   pybit (U)

Simon Josefsson <[email protected]>
   yubikey-ksm (U)
   yubikey-val (U)

Stefan Hornburg (Racke) <[email protected]>
   interchange
   sympa (U)

Sylvestre Ledru <[email protected]>
   phabricator (U)

Thomas Goirand <[email protected]>
   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 <[email protected]>
   otrs2 (U)

Tomasz Muras <[email protected]>
   moodle (U)

Ulises Vitulli <[email protected]>
   auth2db

Vincent Bernat <[email protected]>
   pinba-engine-mysql
   roundcube (U)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to