+2008-01-09 Joerg Jaspert <joerg@debian.org>
+
+ * dak/cruft_report.py (main): Make it possible to look at
+ experimental too, especially NBS
+
2008-01-07 Joerg Jaspert <joerg@debian.org>
* dak/examine_package.py (check_deb): Remove linda call. It
Cnf = None
projectB = None
+suite = "unstable" # Default
suite_id = None
no_longer_in_suite = {}; # Really should be static to add_nbs, but I'm lazy
print output
print "Suggested command:"
- print " dak rm -m \"[auto-cruft] NBS\" -b %s" % (" ".join(nbs_to_remove))
+ print " dak rm -m \"[auto-cruft] NBS\" -s %s -b %s" % (suite, " ".join(nbs_to_remove))
print
################################################################################
################################################################################
def main ():
- global Cnf, projectB, suite_id, source_binaries, source_versions
+ global Cnf, projectB, suite, suite_id, source_binaries, source_versions
Cnf = daklib.utils.get_conf()
os.unlink(temp_filename)
# Checks based on the Packages files
- for component in components + ['main/debian-installer']:
+ check_components = components[:]
+ if suite != "experimental":
+ check_components.append('main/debian-installer');
+ for component in check_components:
+ print component
architectures = filter(daklib.utils.real_arch, Cnf.ValueList("Suite::%s::Architectures" % (suite)))
for architecture in architectures:
filename = "%s/dists/%s/%s/binary-%s/Packages.gz" % (Cnf["Dir::Root"], suite, component, architecture)