Package dak :: Package dakdb :: Module update83
[hide private]
[frames] | no frames]

Module update83

source code

switch to new ACL implementation and add pre-suite NEW


Contact: Debian FTP Master <ftpmaster@debian.org>

Copyright: 2012 Ansgar Burchardt <ansgar@debian.org>

License: GNU General Public License version 2 or later

Functions [hide private]
 
get_buildd_acl_id(c, keyring_id) source code
 
get_acl_id(c, acl_dd, acl_dm, keyring_id, source_acl_id, binary_acl_id) source code
 
do_update(self) source code
Variables [hide private]
  statements = ["""ALTER TABLE suite ADD COLUMN new_queue_id INT...

Imports: psycopg2, DBUpdateError, Config


Variables Details [hide private]

statements

Value:
["""ALTER TABLE suite ADD COLUMN new_queue_id INT REFERENCES policy_qu\
eue(id)""", """CREATE TABLE acl (
    id SERIAL PRIMARY KEY NOT NULL,
    name TEXT NOT NULL,
    is_global BOOLEAN NOT NULL DEFAULT 'f',

    match_fingerprint BOOLEAN NOT NULL DEFAULT 'f',
    match_keyring_id INTEGER REFERENCES keyrings(id),
...