BTSVersionTrack "/srv/backports-master.debian.org/queue/bts_version_track/";
Holding "/srv/backports-master.debian.org/queue/holding/";
Done "/srv/backports-master.debian.org/queue/done/";
+ Reject "/srv/backports-master.debian.org/queue/reject/";
Queue
{
Byhand "/srv/backports-master.debian.org/queue/byhand/";
New "/srv/backports-master.debian.org/queue/new/";
- Reject "/srv/backports-master.debian.org/queue/reject/";
Unchecked "/srv/backports-master.debian.org/queue/unchecked/";
Newstage "/srv/backports-master.debian.org/queue/newstage/";
Embargoed "/srv/backports-master.debian.org/queue/Embargoed/";
TempPath "/srv/security-master.debian.org/tmp";
Holding "/srv/security-master.debian.org/queue/holding/";
Done "/srv/security-master.debian.org/queue/done/";
+ Reject "/srv/security-master.debian.org/queue/reject/";
Queue
{
Byhand "/srv/security-master.debian.org/queue/byhand/";
New "/srv/security-master.debian.org/queue/new/";
- Reject "/srv/security-master.debian.org/queue/reject/";
Unchecked "/srv/security-master.debian.org/queue/unchecked/";
Newstage "/srv/security-master.debian.org/queue/newstage/";
BTSVersionTrack "/srv/ftp-master.debian.org/queue/bts_version_track/";
Holding "/srv/ftp-master.debian.org/queue/holding/";
Done "/srv/ftp-master.debian.org/queue/done/";
+ Reject "/srv/ftp-master.debian.org/queue/reject/";
Queue
{
OldProposedUpdates "/srv/ftp-master.debian.org/queue/o-p-u-new/";
ProposedUpdates "/srv/ftp-master.debian.org/queue/p-u-new/";
New "/srv/ftp-master.debian.org/queue/new/";
- Reject "/srv/ftp-master.debian.org/queue/reject/";
Unchecked "/srv/ftp-master.debian.org/queue/unchecked/";
Newstage "/srv/ftp-master.debian.org/queue/newstage/";
Embargoed "/srv/ftp-master.debian.org/does/not/exist/";
print "Processing incoming..."
flush_orphans()
- reject = cnf["Dir::Queue::Reject"]
+ reject = cnf["Dir::Reject"]
if os.path.exists(reject) and os.path.isdir(reject):
if Options["Verbose"]:
- print "Processing incoming/REJECT..."
+ print "Processing reject directory..."
os.chdir(reject)
flush_old()
if os.access(file_entry, os.R_OK) == 0:
continue
- dest_file = os.path.join(cnf["Dir::Queue::Reject"], file_entry)
+ dest_file = os.path.join(cnf["Dir::Reject"], file_entry)
try:
dest_fd = os.open(dest_file, os.O_RDWR | os.O_CREAT | os.O_EXCL, 0644)
except NoFreeFilenameError:
# Something's either gone badly Pete Tong, or
# someone is trying to exploit us.
- utils.warn("**WARNING** failed to find a free filename for %s in %s." % (file_entry, cnf["Dir::Queue::Reject"]))
+ utils.warn("**WARNING** failed to find a free filename for %s in %s." % (file_entry, cnf["Dir::Reject"]))
return
# Make sure we really got it
cnf = Config()
reason_filename = self.pkg.changes_file[:-8] + ".reason"
- reason_filename = os.path.join(cnf["Dir::Queue::Reject"], reason_filename)
+ reason_filename = os.path.join(cnf["Dir::Reject"], reason_filename)
# Move all the files into the reject directory
reject_files = self.pkg.files.keys() + [self.pkg.changes_file]