Package dak :: Module init_db
[show private | hide private]
[frames | no frames]

Module dak.init_db

Sync dak.conf configuartion file and the SQL database
Function Summary
  do_architecture()
Initalize the architecture table.
  do_archive()
Initalize the archive table.
  do_component()
Initalize the component table.
  do_location()
Initalize the location table.
  do_override_type()
Initalize the override_type table.
  do_priority()
Initialize the priority table.
  do_section()
Initalize the section table.
  do_suite()
Initalize the suite table.
  main()
Sync dak.conf configuartion file and the SQL database
  sql_get(config, key)
Return the value of config[key] in quotes or NULL if it doesn't exist.
  usage(exit_code)
Print a usage message and exit with 'exit_code'.

Variable Summary
NoneType Cnf = None                                                                  
NoneType projectB = None                                                                  

Imported modules:
apt_pkg, dak.daklib.database, pg, sys, dak.daklib.utils
Function Details

do_architecture()

Initalize the architecture table.

do_archive()

Initalize the archive table.

do_component()

Initalize the component table.

do_location()

Initalize the location table.

do_override_type()

Initalize the override_type table.

do_priority()

Initialize the priority table.

do_section()

Initalize the section table.

do_suite()

Initalize the suite table.

main()

Sync dak.conf configuartion file and the SQL database

sql_get(config, key)

Return the value of config[key] in quotes or NULL if it doesn't exist.

usage(exit_code=0)

Print a usage message and exit with 'exit_code'.

Variable Details

Cnf

Type:
NoneType
Value:
None                                                                  

projectB

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sat Jan 24 18:08:17 2009 http://epydoc.sf.net