Hi all, TL;DR;1 if your package depends on dbconfig-common please update your dependencies when my version 2.0.0 hits the archive (I expect in two weeks). TL;DR;2 should the new dbconfig-<dbtype> packages recommend or suggest the database server packages? Since I took over the dbconfig-common package I have worked on the following feature in the dbconfig-common framework: binary packages to specify in the dependency chain which database types a package supports. The idea is the following. Each package that used the dbconfig-common framework to set up databases, should depend on dbconfig-<dbtype> | dbconfig-no-thanks instead of depending on dbconfig-common (as used to be the case and still works). What this solves is multiple issues: 0) Bug: 353617¹ 1) Because there is an alternative, dbconfig-<dbtype> can depend on the command-line client for dbtype, instead of <your package> recommending it. Thus properly signifying the hard requirement of dbconfig-common to have the command-line client available. 2) For multiple dbtype supported packages the system administrator now has a way outside of debconf to select which dbtype he wants by installing the right dbconfig-<dbtype> package. Currently the question will still be asked though. 3) The system administrator now has a way to say no-thanks to dbconfig-common (by installing the dbconfig-no-thanks package) on the system level, rather than per package via debconf. As a bonus, I can now add the database server packages to recommends, which should make life of the less experienced user easier. Do you think I should do this, or should I leave the database server package at the suggests level? Anyways, so what do you need to do? If your package depends on dbconfig-common (dd-list attached), the only thing you need to do² is revisit your 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 For those of you that backport their packages via the Debian backports achive, I will provide a backport of dbconfig-common once version 2.0.0 reaches testing. Please speak up now if you think this is a ridiculous idea, if you have suggestions on improvements, if you have questions or otherwise. If people want to see how it all works for discussion, I am open to upload to experimental. And as always, please report bugs as you find them including wish bugs. Paul ¹ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353617 ² 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) Antonio Terceiro <terceiro@debian.org> redmine (U) Bareos Packaging Team <pkg-bareos-devel@lists.alioth.debian.org> bareos Cacti Maintainer <pkg-cacti-maint@lists.alioth.debian.org> cacti cacti-spine Carsten Leonhardt <leo@debian.org> bacula (U) Christian Hofstaedtler <zeha@debian.org> pdns (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 PowerDNS Maintainers <pkg-pdns-maintainers@lists.alioth.debian.org> pdns 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 Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> redmine (U) 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> nova (U) Gustavo Panizzo <gfa@zumbi.com.ar> neutron (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) Jérémy Lal <kapouer@melix.org> redmine Klas Lindfors <klas@yubico.com> yubikey-ksm (U) yubikey-val (U) Luigi Gangitano <luigi@debian.org> drupal7 (U) Mahyuddin Susanto <udienz@ubuntu.com> cacti (U) cacti-spine (U) Malihe Asemani <ml.asemani@gmail.com> manila (U) Marc Haber <mh+debian-packages@zugschlus.de> pdns (U) Marcelo Jorge Vieira (metal) <metal@debian.org> scuttle tt-rss (U) Markus Frosch <lazyfrosch@debian.org> icinga-web (U) icinga2 (U) Matthijs Möhlmann <matthijs@cacholong.nl> pdns (U) Michael Biebl <biebl@debian.org> rsyslog Michal Čihař <nijel@debian.org> phpmyadmin (U) 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 (U) cacti-spine (U) Penny Leach <penny@mjollnir.org> moodle (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) Thijs Kinkhorst <thijs@debian.org> phpmyadmin 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) Xavier Oswald <xoswald@debian.org> moodle (U)
Attachment:
signature.asc
Description: OpenPGP digital signature