dak.update_db

Database Update Main Script

@contact: Debian FTP Master <ftpmaster@debian.org> # Copyright (C) 2008 Michael Casadevall <mcasadevall@debian.org> @license: GNU General Public License version 2 or later

Functions

main()

Classes

UpdateDB()

class dak.update_db.UpdateDB[source]
get_db_rev()[source]
get_transaction_id()[source]

Returns the current transaction id as a string.

init()[source]
update_db()[source]
update_db_to_zero()[source]

This function will attempt to update a pre-zero database schema to zero

usage(exit_code=0)[source]
dak.update_db.main()[source]