[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.42-42-g4b8680a

Andreas Beckmann debian at abeckmann.de
Fri Feb 10 10:53:47 UTC 2012


The following commit has been merged in the piatti branch:
commit 4b8680ac18e8a6be2da818df9893dacd1dc5797f
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Feb 6 08:15:42 2012 +0100

    increase output limit to 3 MB
    
    daptup correctly outputs a lot during dist-upgrade
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index 64820b4..d016b3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ piuparts (0.44) UNRELEASED; urgency=low
   [ Andreas Beckmann ]
   * piuparts.py:
     - Add to self.ignored_patterns: /var/lib/ucf/.*
+    - Increase output limit to 3 MB (for dist-upgrading daptup).
 
  -- Holger Levsen <holger at debian.org>  Sun, 22 Jan 2012 13:33:59 +0100
 
diff --git a/piuparts.1.txt b/piuparts.1.txt
index eeb220c..f629546 100644
--- a/piuparts.1.txt
+++ b/piuparts.1.txt
@@ -219,7 +219,7 @@ ENVIRONMENT
 
 NOTES
 -----
-Output of commands run by piuparts is limited to two megabytes. To change this limit, the source code needs to be edited.
+Output of commands run by piuparts is limited to three megabytes. To change this limit, the source code needs to be edited.
 Commands exceeding this limit will be aborted.
 
 SEE ALSO
diff --git a/piuparts.py b/piuparts.py
index 40736ff..558dbb7 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -132,7 +132,7 @@ class Settings:
         self.defaults = None
         self.tmpdir = None
         self.keep_tmpdir = False
-        self.max_command_output_size = 2 * 1024 * 1024
+        self.max_command_output_size = 3 * 1024 * 1024  # 3 MB (daptup on dist-upgrade)
         self.single_changes_list = False
         self.args_are_package_files = True
         # distro setup

-- 
piuparts git repository



More information about the Piuparts-commits mailing list