[Git][reproducible-builds/trydiffoscope][master] 5 commits: Tidy previous changelog entry.
Chris Lamb
gitlab at salsa.debian.org
Sun Jan 12 17:25:44 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / trydiffoscope
Commits:
25aca859 by Chris Lamb at 2020-01-12T17:22:59+00:00
Tidy previous changelog entry.
- - - - -
7fd07619 by Chris Lamb at 2020-01-12T17:22:59+00:00
Update black source code formatting.
- - - - -
626ea14e by Chris Lamb at 2020-01-12T17:22:59+00:00
Add a suitable shebang and executable bit to setup.py.
- - - - -
d773ccb1 by Chris Lamb at 2020-01-12T17:22:59+00:00
Add trydiffoscope script to MANIFEST. (Closes: reproducible-builds/trydiffoscope#1)
- - - - -
ccf21c26 by Chris Lamb at 2020-01-12T17:23:58+00:00
releasing package trydiffoscope version 67.0.4
- - - - -
4 changed files:
- MANIFEST
- debian/changelog
- setup.py
- trydiffoscope
Changes:
=====================================
MANIFEST
=====================================
@@ -1,3 +1,4 @@
trydiffoscope.1.rst
README.rst
pyproject.toml
+trydiffoscope
=====================================
debian/changelog
=====================================
@@ -1,7 +1,16 @@
+trydiffoscope (67.0.4) unstable; urgency=medium
+
+ * Add trydiffoscope script to MANIFEST.
+ (Closes: reproducible-builds/trydiffoscope#1)
+ * Add a suitable shebang and executable bit to setup.py.
+ * Update Black source code formatting.
+
+ -- Chris Lamb <lamby at debian.org> Sun, 12 Jan 2020 17:23:32 +0000
+
trydiffoscope (67.0.3) unstable; urgency=medium
* Move to Build-Depends on python3-docutils over python-docutils to allow for
- * Python 2.x removal. (Closes: #943293)
+ Python 2.x removal. (Closes: #943293)
-- Chris Lamb <lamby at debian.org> Wed, 23 Oct 2019 09:35:43 +0100
=====================================
setup.py
=====================================
@@ -1,8 +1,10 @@
+#!/usr/bin/env python3
+
from distutils.core import setup
setup(
name='trydiffoscope',
- version='67.0.3',
+ version='67.0.4',
author="Chris Lamb",
author_email="lamby at debian.org",
scripts=('trydiffoscope',),
=====================================
trydiffoscope
=====================================
@@ -33,10 +33,13 @@ class TryDiffoscope(object):
self.session = requests.Session()
def main(self):
- response = self.session.post(self.args.endpoint, files={
- 'file_a': open(self.args.file[0], 'rb'),
- 'file_b': open(self.args.file[1], 'rb'),
- })
+ response = self.session.post(
+ self.args.endpoint,
+ files={
+ 'file_a': open(self.args.file[0], 'rb'),
+ 'file_b': open(self.args.file[1], 'rb'),
+ },
+ )
response.raise_for_status()
poll_uri = response.json()['result']['uri']
@@ -61,10 +64,12 @@ class TryDiffoscope(object):
time.sleep(1)
if comparison['state'] not in ('identical', 'different'):
- print("E: Received state '{}' from server. See {}".format(
- comparison['state'],
- comparison['uri'],
- ), file=sys.stderr)
+ print(
+ "E: Received state '{}' from server. See {}".format(
+ comparison['state'], comparison['uri'],
+ ),
+ file=sys.stderr,
+ )
return 2
if comparison['state'] == 'identical':
@@ -92,10 +97,7 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument(
- 'file',
- help="files to compare",
- nargs=2,
- default=[],
+ 'file', help="files to compare", nargs=2, default=[],
)
parser.add_argument(
@@ -105,15 +107,11 @@ if __name__ == '__main__':
)
parser.add_argument(
- '--text',
- help="write plain text output to given file",
- default=None,
+ '--text', help="write plain text output to given file", default=None,
)
parser.add_argument(
- '--html',
- help="write HTML report to given file",
- default=None,
+ '--html', help="write HTML report to given file", default=None,
)
parser.add_argument(
@@ -127,7 +125,7 @@ if __name__ == '__main__':
'-w',
'--webbrowser',
help="open webbrowser to URL instead of managing results "
- "locally (implies -u)",
+ "locally (implies -u)",
action='store_true',
)
View it on GitLab: https://salsa.debian.org/reproducible-builds/trydiffoscope/compare/f56966e41526f1f5329b8b013981bb5ed035f0e8...ccf21c262d1e68197913115f5b03cd0b0319c332
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/trydiffoscope/compare/f56966e41526f1f5329b8b013981bb5ed035f0e8...ccf21c262d1e68197913115f5b03cd0b0319c332
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/20200112/560eaa1b/attachment.htm>
More information about the rb-commits
mailing list