CloseBugs "false";
OverrideDisparityCheck "false";
DefaultSuite "lenny-backports";
- Reject
- {
- ReleaseTransitions "/srv/backports-master.debian.org/hints/transitions.yaml";
- };
+ ReleaseTransitions "/srv/backports-master.debian.org/hints/transitions.yaml";
// If set, only send mails to addresses listed there.
// format of entries: one entry per line. Either an email address directly, or a regular expression,
// prefixed by "RE:". Examples: "jane.doe@domain.com" or "RE:jane[^@]@domain.com", where the first will
OverrideDisparityCheck "true";
DefaultSuite "unstable";
LintianTags "/srv/ftp-master.debian.org/dak/config/debian/lintian.tags";
- Reject
- {
- ReleaseTransitions "/srv/ftp.debian.org/web/transitions.yaml";
- };
+ ReleaseTransitions "/srv/ftp.debian.org/web/transitions.yaml";
// if you setup an own dak repository and want to upload Debian packages you most possibly want
// to set the following option to a real path/filename and then enter those mail addresses that
// you want to be able to receive mails generated by your dak installation. This avoids spamming
"""
- trans_file = Cnf["Dinstall::Reject::ReleaseTransitions"]
+ trans_file = Cnf["Dinstall::ReleaseTransitions"]
trans_temp = trans_file + ".tmp"
trans_lock = lock_file(trans_file)
def edit_transitions():
""" Edit the defined transitions. """
- trans_file = Cnf["Dinstall::Reject::ReleaseTransitions"]
+ trans_file = Cnf["Dinstall::ReleaseTransitions"]
edit_file = temp_transitions_file(load_transitions(trans_file))
editor = os.environ.get("EDITOR", "vi")
init()
# Check if there is a file defined (and existant)
- transpath = Cnf.get("Dinstall::Reject::ReleaseTransitions", "")
+ transpath = Cnf.get("Dinstall::ReleaseTransitions", "")
if transpath == "":
- utils.warn("Dinstall::Reject::ReleaseTransitions not defined")
+ utils.warn("Dinstall::ReleaseTransitions not defined")
sys.exit(1)
if not os.path.exists(transpath):
utils.warn("ReleaseTransitions file, %s, not found." %
- (Cnf["Dinstall::Reject::ReleaseTransitions"]))
+ (Cnf["Dinstall::ReleaseTransitions"]))
sys.exit(1)
# Also check if our temp directory is defined and existant
temppath = Cnf.get("Dir::TempPath", "")
# Also only check if there is a file defined (and existant) with
# checks.
- transpath = cnf.get("Dinstall::Reject::ReleaseTransitions", "")
+ transpath = cnf.get("Dinstall::ReleaseTransitions", "")
if transpath == "" or not os.path.exists(transpath):
return