Re: [Reproducible-builds] [RFC] debbindiff

2014-09-30 Thread Patrick Schleizer
Hi! Jérémy Bobbio: > It's missing Debian packaging. I guess I should learn how to write a > setup.cfg or similar. Pointers or patches welcome. How do you like the "Generic Packaging" [1] method? To me it is easier than setup.cfg. Files in etc/... in root source folder will be installed to /etc/

Re: [Reproducible-builds] [RFC] debbindiff

2014-09-30 Thread Jérémy Bobbio
Hans-Christoph Steiner: > Also, I updated the setup.py for two small things. I recommend using code > checkers like pyflakes and pylint: > > $ pyflakes *.py debbindiff/*.py > debbindiff/difference.py:20: 'difflib' imported but unused > debbindiff/difference.py:41: redefinition of function 'comment

Re: [Reproducible-builds] [RFC] debbindiff

2014-09-30 Thread Hans-Christoph Steiner
Comparing jars gives a stacktrace, looks like a missing import. $ ./debbindiff.py ~/code/guardianproject/cacheword/cachewordlib/cachewordlib-v0.1-1-g04cb18e.jar /tmp/cachewordlib-v0.1-1-g04cb18e.jar Traceback (most recent call last): File "./debbindiff.py", line 53, in main() File "./deb

Re: [Reproducible-builds] [RFC] debbindiff

2014-09-30 Thread Hans-Christoph Steiner
Definitely use setup.py. It makes the packaging easy and standardized, and it is the standard way to build python. It also makes it easy to publish releases to pypi, the central package repository for python. I attached a quick untested one for you. .hc Jérémy Bobbio wrote: > Hi! > > I've be

[Reproducible-builds] [RFC] debbindiff

2014-09-30 Thread Jérémy Bobbio
Hi! I've been working at high pace since Sunday on a replacement for the diffp script [1]. These GPLv3 lines of Python are called debbindiff. Get it from Git: https://anonscm.debian.org/cgit/reproducible/debbindiff.git/ Attached is an output produced for the attr package. The new tool is at