]> err.no Git - dak/commitdiff
Fix NFU check in cruft-report.
authorTorsten Werner <twerner@debian.org>
Sat, 29 Jan 2011 12:55:00 +0000 (13:55 +0100)
committerTorsten Werner <twerner@debian.org>
Sat, 29 Jan 2011 12:55:00 +0000 (13:55 +0100)
- Fix default wanna build dump location.
- Fix output of dak rm command.
- Add NFU check to daily mode.

Signed-off-by: Torsten Werner <twerner@debian.org>
dak/cruft_report.py

index 6c3f16e83dace7a0d1a8e1118b575b8a2f72ecca..fe9ba278d18c5f20d9f62b678c5960f921160ae5 100755 (executable)
@@ -157,7 +157,7 @@ def do_nfu(nfu_packages):
         for architecture in a2p:
             if a2p[architecture]:
                 print (" dak rm -m \"[auto-cruft] NFU\" -s %s -a %s -b %s" % 
-                    (suite, architecture, " ".join(a2p[architecture])))
+                    (suite.suite_name, architecture, " ".join(a2p[architecture])))
         print
 
 def parse_nfu(architecture):
@@ -524,7 +524,7 @@ def main ():
         cnf["Cruft-Report::Options::Mode"] = "daily"
 
     if not cnf.has_key("Cruft-Report::Options::Wanna-Build-Dump"):
-        cnf["Cruft-Report::Options::Wanna-Build-Dump"] = "/srv/ftp.debian.org/scripts/nfu"
+        cnf["Cruft-Report::Options::Wanna-Build-Dump"] = "/srv/ftp-master.debian.org/scripts/nfu"
 
     apt_pkg.ParseCommandLine(cnf.Cnf, Arguments, sys.argv)
 
@@ -534,7 +534,7 @@ def main ():
 
     # Set up checks based on mode
     if Options["Mode"] == "daily":
-        checks = [ "nbs", "nviu", "nvit", "obsolete source" ]
+        checks = [ "nbs", "nviu", "nvit", "obsolete source", "nfu" ]
     elif Options["Mode"] == "full":
         checks = [ "nbs", "nviu", "nvit", "obsolete source", "nfu", "dubious nbs", "bnb", "bms", "anais" ]
     else: