[buildd-tools-devel] [PATCH] example.sbuildrc: use hash ref for package timeout

Héctor Orón Martínez zumbi at debian.org
Mon Nov 27 14:49:20 UTC 2017


When using individual_stalled_pkg_timeout as documented in
example file, the following warning appears:

 %individual_stalled_pkg_timeout is deprecated;
 please use the hash reference $individual_stalled_pkg_timeout{}

Example files should provide updated variables.

Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
 etc/example.sbuildrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/example.sbuildrc b/etc/example.sbuildrc
index 035fa0ac..88862e49 100644
--- a/etc/example.sbuildrc
+++ b/etc/example.sbuildrc
@@ -86,12 +86,12 @@
 
 # Some packages may exceed the general timeout (e.g. redirecting output to
 # a file) and need a different timeout. Below are some examples.
-#%individual_stalled_pkg_timeout = (smalleiffel => 300,
+#$individual_stalled_pkg_timeout = {smalleiffel => 300,
 #				   jade => 300,
 #				   atlas => 300,
 #				   glibc => 1000,
 #				   'gcc-3.3' => 300,
-#				   kwave => 600);
+#				   kwave => 600};
 #
 
 ##
-- 
2.15.0




More information about the Buildd-tools-devel mailing list