[Git][reproducible-builds/diffoscope][master] 3 commits: Rename the "text_option_with_stdiout" to "text_option_with_stdout".

Chris Lamb gitlab at salsa.debian.org
Fri Dec 27 22:23:25 UTC 2019



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
cb1c7320 by Chris Lamb at 2019-12-27T22:06:20Z
Rename the "text_option_with_stdiout" to "text_option_with_stdout".

- - - - -
e43e1dfe by Chris Lamb at 2019-12-27T22:06:48Z
Revert "Don't return a "filter" iterable from Container.compare; return a non-lazy list instead."

This reverts commit 8833cc8aa9d7e3df42d88dc3bce1ceed3b2be6ba.

- - - - -
e6bed7af by Chris Lamb at 2019-12-27T22:08:20Z
releasing package diffoscope version 134

- - - - -


4 changed files:

- debian/changelog
- diffoscope/__init__.py
- diffoscope/comparators/utils/container.py
- tests/test_presenters.py


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,21 @@
-diffoscope (134) UNRELEASED; urgency=medium
+diffoscope (134) unstable; urgency=medium
 
-  * WIP (generated upon release).
+  [ Chris Lamb ]
+  * Ensure that autopkgtests are run with our pyproject.toml present for the
+    correct "black" source code formatter settings. (Closes: #945993)
+  * Tidy some unnecessary boolean logic in the ISO9660 tests.
+  * Rename the "text_option_with_stdiout" to "text_option_with_stdout".
+  * Include the libarchive file listing for ISO images to ensure that
+    timestamps (not just dates) are visible in any difference.
+    (Closes: reproducible-builds/diffoscope#81)
+
+  [ Eli Schwartz ]
+  * Fix an exception in the progressbar handler.
+
+  [ Vagrant Cascadian ]
+  * Add an external tool reference for zstd on GNU Guix.
 
- -- Chris Lamb <lamby at debian.org>  Thu, 28 Nov 2019 10:18:07 +0000
+ -- Chris Lamb <lamby at debian.org>  Fri, 27 Dec 2019 19:17:16 +0000
 
 diffoscope (133) unstable; urgency=medium
 


=====================================
diffoscope/__init__.py
=====================================
@@ -17,4 +17,4 @@
 # You should have received a copy of the GNU General Public License
 # along with diffoscope.  If not, see <https://www.gnu.org/licenses/>.
 
-VERSION = "133"
+VERSION = "134"


=====================================
diffoscope/comparators/utils/container.py
=====================================
@@ -200,9 +200,9 @@ class Container(metaclass=abc.ABCMeta):
                 difference.add_comment(comment)
             return difference
 
-        differences = itertools.starmap(compare_pair, self.comparisons(other))
-
-        return [x for x in differences if x]
+        return filter(
+            None, itertools.starmap(compare_pair, self.comparisons(other))
+        )
 
 
 class MissingContainer(Container):


=====================================
tests/test_presenters.py
=====================================
@@ -110,7 +110,7 @@ def test_text_option_with_file(tmpdir, capsys):
         assert f.read() == get_data('output.txt')
 
 
-def test_text_option_with_stdiout(capsys):
+def test_text_option_with_stdout(capsys):
     out = run(capsys, '--text', '-')
 
     assert out == get_data('output.txt')



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/compare/8706b87418a6614ff9a01e02d19da0c95bef65bc...e6bed7af3c63d171a5ef9c75492ab033463de837

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/compare/8706b87418a6614ff9a01e02d19da0c95bef65bc...e6bed7af3c63d171a5ef9c75492ab033463de837
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20191227/a62793d3/attachment.htm>


More information about the rb-commits mailing list