[Buildd-tools-devel] Bug#397123: sbuild: wish there was a way to disable watches

Santiago Vila sanvila at unex.es
Sun Nov 5 12:03:38 CET 2006


Package: sbuild
Version: 0.52
Severity: wishlist

The check_watches() function is disk-intensive on flaky systems like
the Hurd, but even on robust machines, sbuild could go even faster if
there was a way to disable it (sometimes, some people want to build as
many packages as possible in as little time as possible).

I suggest something like this:

diff -ru sbuild-0.52.orig/sbuild sbuild-0.52/sbuild
--- sbuild-0.52.orig/sbuild	2006-10-21 22:30:08.000000000 +0200
+++ sbuild-0.52/sbuild	2006-11-05 11:31:19.740300000 +0100
@@ -955,7 +955,9 @@
 		print PLOG "Built successfully\n";
 	}
 
-	check_watches();
+	if (some_configuration_option) {
+	    check_watches();
+	}
 	check_space( @space_files );
 
 	if ($conf::purge_build_directory eq "always" ||

Thanks.




More information about the Buildd-tools-devel mailing list