Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package diffoscope for openSUSE:Factory checked in at 2021-12-12 00:57:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/diffoscope (Old) and /work/SRC/openSUSE:Factory/.diffoscope.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "diffoscope" Sun Dec 12 00:57:44 2021 rev:24 rq:939576 version:196 Changes: -------- --- /work/SRC/openSUSE:Factory/diffoscope/diffoscope.changes 2021-12-05 22:47:12.509427594 +0100 +++ /work/SRC/openSUSE:Factory/.diffoscope.new.2520/diffoscope.changes 2021-12-12 00:58:02.222601991 +0100 @@ -1,0 +2,18 @@ +Fri Dec 10 16:35:04 UTC 2021 - Sebastian Wagner <[email protected]> + +- - update to version 196: + - Add a comment/annotation when the GNU_BUILD_ID field has been modified. + - Fix the "Black" version detection. + - Replace "token" with anonymous variable "x" in order to remove extra lines. +- update to version 195: + - Don't use the runtime platform's native endianness when unpacking .pyc + files to fix test failures on big-endian machines. + +------------------------------------------------------------------- +Sun Dec 5 19:18:58 UTC 2021 - Sebastian Wagner <[email protected]> + +- - update to version 195: + - Don't use the runtime platform's native endianness when unpacking .pyc + files to fix test failures on big-endian machines. + +------------------------------------------------------------------- Old: ---- diffoscope-194.tar.bz2 diffoscope-194.tar.bz2.asc New: ---- diffoscope-196.tar.bz2 diffoscope-196.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ diffoscope.spec ++++++ --- /var/tmp/diff_new_pack.sbaEUz/_old 2021-12-12 00:58:02.630602271 +0100 +++ /var/tmp/diff_new_pack.sbaEUz/_new 2021-12-12 00:58:02.634602274 +0100 @@ -17,7 +17,7 @@ Name: diffoscope -Version: 194 +Version: 196 Release: 0 Summary: In-depth comparison of files, archives, and directories License: GPL-3.0-or-later ++++++ diffoscope-194.tar.bz2 -> diffoscope-196.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/diffoscope-194/debian/changelog new/diffoscope-196/debian/changelog --- old/diffoscope-194/debian/changelog 2021-11-26 19:01:07.000000000 +0100 +++ new/diffoscope-196/debian/changelog 2021-12-10 17:05:13.000000000 +0100 @@ -1,3 +1,24 @@ +diffoscope (196) unstable; urgency=medium + + [ Roland Clobus ] + * Add a comment/annotation when the GNU_BUILD_ID field has been modified. + + [ Brent Spillner ] + * Fix the "Black" version detection. + + [ Chris Lamb ] + * Replace "token" with anonymous variable "x" in order to remove extra lines. + + -- Chris Lamb <[email protected]> Fri, 10 Dec 2021 08:05:10 -0800 + +diffoscope (195) unstable; urgency=medium + + [ Chris Lamb ] + * Don't use the runtime platform's native endianness when unpacking .pyc + files to fix test failures on big-endian machines. + + -- Chris Lamb <[email protected]> Sun, 05 Dec 2021 09:30:08 -0800 + diffoscope (194) unstable; urgency=medium [ Chris Lamb ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/diffoscope-194/diffoscope/__init__.py new/diffoscope-196/diffoscope/__init__.py --- old/diffoscope-194/diffoscope/__init__.py 2021-11-26 19:01:07.000000000 +0100 +++ new/diffoscope-196/diffoscope/__init__.py 2021-12-10 17:05:13.000000000 +0100 @@ -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 = "194" +VERSION = "196" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/diffoscope-194/diffoscope/comparators/elf.py new/diffoscope-196/diffoscope/comparators/elf.py --- old/diffoscope-194/diffoscope/comparators/elf.py 2021-11-26 19:01:07.000000000 +0100 +++ new/diffoscope-196/diffoscope/comparators/elf.py 2021-12-10 17:05:13.000000000 +0100 @@ -662,9 +662,11 @@ ) if hashlib.sha1(blob_with_reset_build_id).hexdigest() != build_id: + self.source.add_comment( + f"The file ({self.source.path}) has been modified after NT_GNU_BUILD_ID has been applied" + ) logger.warning( - "The file (%s) has been modified after NT_GNU_BUILD_ID has been applied", - self.source.path, + f"The file ({self.source.path}) has been modified after NT_GNU_BUILD_ID has been applied" ) logger.debug( "Expected value: %s Current value: %s", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/diffoscope-194/diffoscope/comparators/python.py new/diffoscope-196/diffoscope/comparators/python.py --- old/diffoscope-194/diffoscope/comparators/python.py 2021-11-26 19:01:07.000000000 +0100 +++ new/diffoscope-196/diffoscope/comparators/python.py 2021-12-10 17:05:13.000000000 +0100 @@ -64,11 +64,11 @@ f.seek(4, 1) moddate = f.read(4) - modtime = time.asctime(time.gmtime(struct.unpack("=L", moddate)[0])) + modtime = time.asctime(time.gmtime(struct.unpack("<L", moddate)[0])) yield "moddate: {} ({} UTC)".format(hexlify(moddate), modtime) filesz = f.read(4) - filesz = struct.unpack("=L", filesz) + filesz = struct.unpack("<L", filesz) yield f"files sz: {filesz[0]}" code = marshal.load(f) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/diffoscope-194/diffoscope/presenters/html/html.py new/diffoscope-196/diffoscope/presenters/html/html.py --- old/diffoscope-194/diffoscope/presenters/html/html.py 2021-11-26 19:01:07.000000000 +0100 +++ new/diffoscope-196/diffoscope/presenters/html/html.py 2021-12-10 17:05:13.000000000 +0100 @@ -247,8 +247,8 @@ comments = "" if difference.comments: - comments = '{1[1]}<div class="comment {0}">{2}{1[1]}</div>\n'.format( - "multiline" if len(difference.comments) > 1 else "", + comments = '{1[1]}<div class="comment{0}">{2}\n{1[1]}</div>\n'.format( + " multiline" if len(difference.comments) > 1 else "", indent, "\n".join(html.escape(x) for x in difference.comments), ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/diffoscope-194/tests/test_source.py new/diffoscope-196/tests/test_source.py --- old/diffoscope-194/tests/test_source.py 2021-11-26 19:01:07.000000000 +0100 +++ new/diffoscope-196/tests/test_source.py 2021-12-10 17:05:13.000000000 +0100 @@ -248,7 +248,12 @@ out = subprocess.check_output(("black", "--version")) except subprocess.CalledProcessError as e: out = e.output - return out.strip().decode("utf-8").rsplit(" ", 1)[-1] + + # black --version format changed starting in 21.11b0. Returning the first + # token starting with a decimal digit, since its ordinal position may vary. + return [ + x for x in out.strip().decode("utf-8").split(" ") if x[0].isdigit() + ] @skip_unless_tool_is_at_least("black", black_version, "21.4b2")
