Home | Trees | Index | Help |
|
---|
Package dak :: Module transitions |
|
Function Summary | |
---|---|
check_transitions(transitions)
| |
edit_transitions()
| |
init()
| |
load_transitions(trans_file)
| |
lock_file(f)
| |
main()
| |
print_info(trans,
source,
expected,
rm,
reason,
packages)
| |
temp_transitions_file(transitions)
| |
transition_info(transitions)
| |
usage(exit_code)
| |
Update the active transitions file safely. | |
We have a file we think is valid; if we're using sudo, we invoke it here, otherwise we just parse the file and call write_transitions |
Variable Summary | |
---|---|
NoneType |
Cnf = None |
NoneType |
Options = None |
NoneType |
projectB = None |
SRE_Pattern |
re_broken_package = [a-zA-Z]\w+\s+-.*
|
apt_pkg
,
dak.daklib.database
,
errno
,
fcntl
,
os
,
pg
,
pwd
,
re
,
sys
,
tempfile
,
time
,
dak.daklib.utils
,
yaml
TransitionsError
Function Details |
---|
write_transitions(from_trans)Update the active transitions file safely. This function takes a parsed input file (which avoids invalid files or files that may be be modified while the function is active), and ensure the transitions file is updated atomically to avoid locks. |
write_transitions_from_file(from_file)We have a file we think is valid; if we're using sudo, we invoke it here, otherwise we just parse the file and call write_transitions |
Variable Details |
---|
Cnf
|
Options
|
projectB
|
re_broken_package
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 24 18:08:17 2009 | http://epydoc.sf.net |