[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ next ]

# `dbconfig-common` documentation

## Abstract

`dbconfig-common` is an implementation of the "best practices for database applications" draft, which provides debian packagers with an easy, reliable, and consistent method for managing databases used by debian packages.

## Copyright Notice

Copyright © 2005 sean finney `mailto:seanius@debian.org` and 2015 Paul Gevers `mailto:elbrus@debian.org`.

This document is licensed under the `Academic Free License, Version 2.1`

## Contents

- 1 Introduction
- 2 Try it out!
- 3 Using `dbconfig-common` in your packages
  - 3.1 Quick and dirty: what to do
    - 3.1.1 Update package dependencies
    - 3.1.2 Putting hooks into the maintainer scripts
    - 3.1.3 Supplying the data/code for your database
  - 3.2 Advanced usage.
    - 3.2.1 Generating custom configuration files with database information
    - 3.2.2 Importing `dbconfig-common` into an existing package
    - 3.2.3 Database changes in new versions of your package
    - 3.2.4 Packages that support multiple types of databases
    - 3.2.5 Packages that connect to but should not create databases (read-only frontends)
    - 3.2.6 Packages that require extra logic during removal
    - 3.2.7 Hinting defaults and advanced control of configuration/installation
    - 3.2.8 Debugging problems with `dbconfig-common`
- 4 More Information (and how to help)

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ next ]

`dbconfig-common` documentation