Urgent
------
- o Claire needs to know about sections on auric.
- o maintainers file needs overrides.
- o jenna needs to use order by to keep aj from going nutzo
+ o Claire needs to know about sections on auric
+ o maintainers file needs overrides
+ o jenna needs to use order by [aj]
+ o seperate apt.conf for stable... [jgg]
o need to have process_it run a big try: loop so that individual
package screws up don't kill the daily cron run.
- o Add an 'add' ability to melanie
+ o Add an 'add' ability to melanie (? separate prog maybe)
o Make experimental work
Less Urgent
# Installs Debian packaes
# Copyright (C) 2000 James Troup <james@nocrew.org>
-# $Id: katie,v 1.21 2001-01-22 22:32:47 troup Exp $
+# $Id: katie,v 1.22 2001-01-23 20:27:35 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
if not Cnf.has_key("Suite::%s" % (i)):
reject_message = reject_message + "Rejected: Unknown distribution `%s'.\n" % (i)
+ # Ensure there _is_ a target distribution
+ if changes["distribution"].keys() == []:
+ reject_message = reject_message + "Rejected: huh? Distribution field is empty in changes file.\n";
+
# Map unreleased arches from stable to unstable
if changes["distribution"].has_key("stable"):
for i in changes["architecture"].keys():
files[file]["type"] = "byhand";
# Checks for a binary package...
elif re_isadeb.match(file) != None:
+ files[file]["type"] = "deb";
+
# Extract package information using dpkg-deb
try:
control = apt_pkg.ParseSection(apt_inst.debExtractControl(utils.open_file(file,"r")))
except:
reject_message = reject_message + "Rejected: %s: debExtractControl() raised %s.\n" % (file, sys.exc_type);
+ # Can't continue, none of the checks on control would work.
+ continue;
# Check for mandatory fields
if control.Find("Package") == None:
files[file]["dbtype"] = "deb";
else:
reject_message = reject_message + "Rejected: %s is neither a .deb or a .udeb.\n " % (file);
- files[file]["type"] = "deb";
files[file]["fullname"] = "%s_%s_%s.deb" % (control.Find("Package", ""), epochless_version, control.Find("Architecture", ""))
files[file]["source"] = control.Find("Source", "");
if files[file]["source"] == "":