Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2020-11-13 18:59:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.24930 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Fri Nov 13 18:59:50 2020 rev:21 rq:848294 version:1.9.0+git.20201113.53eb76b Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2020-11-10 13:53:33.498838089 +0100 +++ /work/SRC/openSUSE:Factory/.cvise.new.24930/cvise.changes 2020-11-13 19:00:24.110202340 +0100 @@ -1,0 +2,7 @@ +Fri Nov 13 08:11:48 UTC 2020 - mli...@suse.cz + +- Update to version 1.9.0+git.20201113.53eb76b: + * Report also number of lines. + * Use proper shebang. + +------------------------------------------------------------------- Old: ---- cvise-1.9.0+git.20201110.a000f9e.tar.xz New: ---- cvise-1.9.0+git.20201113.53eb76b.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.FUHN3d/_old 2020-11-13 19:00:24.966203280 +0100 +++ /var/tmp/diff_new_pack.FUHN3d/_new 2020-11-13 19:00:24.974203288 +0100 @@ -17,7 +17,7 @@ Name: cvise -Version: 1.9.0+git.20201110.a000f9e +Version: 1.9.0+git.20201113.53eb76b Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause ++++++ cvise-1.9.0+git.20201110.a000f9e.tar.xz -> cvise-1.9.0+git.20201113.53eb76b.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.9.0+git.20201110.a000f9e/build_and_test.sh new/cvise-1.9.0+git.20201113.53eb76b/build_and_test.sh --- old/cvise-1.9.0+git.20201110.a000f9e/build_and_test.sh 2020-11-10 09:54:40.000000000 +0100 +++ new/cvise-1.9.0+git.20201113.53eb76b/build_and_test.sh 2020-11-13 09:11:07.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/bash BUILD_TYPE=$1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.9.0+git.20201110.a000f9e/cvise/utils/testing.py new/cvise-1.9.0+git.20201113.53eb76b/cvise/utils/testing.py --- old/cvise-1.9.0+git.20201110.a000f9e/cvise/utils/testing.py 2020-11-10 09:54:40.000000000 +0100 +++ new/cvise-1.9.0+git.20201113.53eb76b/cvise/utils/testing.py 2020-11-13 09:11:07.000000000 +0100 @@ -191,6 +191,18 @@ def get_file_size(files): return sum(os.path.getsize(f) for f in files) + @property + def total_line_count(self): + return self.get_line_count(self.test_cases) + + @staticmethod + def get_line_count(files): + lines = 0 + for file in files: + with open(file) as f: + lines += len(f.readlines()) + return lines + def backup_test_cases(self): for f in self.test_cases: orig_file = "{}.orig".format(f) @@ -518,4 +530,4 @@ self.pass_statistic.add_success(self.current_pass) pct = 100 - (self.total_file_size * 100.0 / self.orig_total_file_size) - logging.info("({}%, {} bytes)".format(round(pct, 1), self.total_file_size)) + logging.info("({}%, {} bytes, {} lines)".format(round(pct, 1), self.total_file_size, self.total_line_count)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.9.0+git.20201110.a000f9e/cvise-delta.py new/cvise-1.9.0+git.20201113.53eb76b/cvise-delta.py --- old/cvise-1.9.0+git.20201110.a000f9e/cvise-delta.py 2020-11-10 09:54:40.000000000 +0100 +++ new/cvise-1.9.0+git.20201113.53eb76b/cvise-delta.py 2020-11-13 09:11:07.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 import subprocess import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.9.0+git.20201110.a000f9e/cvise.py new/cvise-1.9.0+git.20201113.53eb76b/cvise.py --- old/cvise-1.9.0+git.20201110.a000f9e/cvise.py 2020-11-10 09:54:40.000000000 +0100 +++ new/cvise-1.9.0+git.20201113.53eb76b/cvise.py 2020-11-13 09:11:07.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 import argparse import logging @@ -255,7 +255,7 @@ script = None if args.commands: with tempfile.NamedTemporaryFile(mode="w", delete=False, suffix=".sh") as script: - script.write('#!/bin/bash\n\n') + script.write('#!/usr/bin/bash\n\n') script.write(args.commands + '\n') os.chmod(script.name, 0o744) logging.info('Using temporary interestingness test: %s' % script.name) _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org