1. 14 Nov, 2018 1 commit
    • Marius Gedminas's avatar
      Add a python_requires to setup.py · 8e5e9b85
      Marius Gedminas authored
      This means `pip install diffoscope` will not try to download new source
      distributions that then fail to build, if you run pip with an unsupported
      Python version.  (Unfortunately pip will still attempt to download older
      releases of diffoscope that did not have python_requires in the metadata.
      Still, it'll be useful when you eventually drop support for Python 3.5 and
      start requiring newer Pythons.)
  2. 25 Oct, 2018 1 commit
  3. 23 Oct, 2018 1 commit
  4. 09 Oct, 2018 1 commit
  5. 21 May, 2018 1 commit
  6. 20 Sep, 2017 1 commit
  7. 16 Sep, 2017 3 commits
  8. 14 Jul, 2017 1 commit
  9. 08 Jun, 2017 1 commit
  10. 07 Jun, 2017 2 commits
  11. 29 May, 2017 1 commit
  12. 01 Jan, 2017 1 commit
  13. 15 Aug, 2016 1 commit
  14. 09 Aug, 2016 1 commit
  15. 13 Nov, 2015 2 commits
  16. 07 Nov, 2015 6 commits
  17. 21 Sep, 2015 1 commit
  18. 03 Sep, 2015 1 commit
  19. 02 Sep, 2015 2 commits
  20. 20 Aug, 2015 2 commits
  21. 03 Aug, 2015 1 commit
    • Jérémy Bobbio's avatar
      Rename to diffoscope · 98ff014e
      Jérémy Bobbio authored
      debbindiff has grown way beyond a being just a tool to compare Debian packages.
      Let's rename it to better reflect this state of things.
      Kudos to Jocelyn Delalande for the name “diffoscope”!
      We introduce a new transitional binary package to keep too many things to
  22. 31 Jul, 2015 1 commit
    • Jérémy Bobbio's avatar
      Implement fuzzy-matching of files in the same container · 52271e74
      Jérémy Bobbio authored
      We now use ssdeep to perform fuzzy-matching of files. This is
      currently limited to a single container. It works good enough
      for comparing source tarballs with a different prefix. Sadly,
      it doesn't work for debug symbols which are not detect as similar
  23. 29 Jul, 2015 1 commit
    • Jérémy Bobbio's avatar
      Massive rearchitecturing: make each file type have their own class · 5c02e000
      Jérémy Bobbio authored
      A good amount of the code for comparators is now based on classes
      instead of methods. Each file type gets its own classs.
      The base class, File, is an abstract class that can represent files
      on the filesystem but also files that can be extracted from an archive.
      This design makes room for future implementation of fuzzy-matching.
      Each file type class implements a class method recognizes() that will
      receives an unspecialized File instance. This is way more flexible than
      the old constrained regex table approach. The new identification method
      used for Haskell interfaces is a good illustration. Appropriate caching
      for calls to libmagic methods is there as they are still frequently used
      and tend to be rather slow.
      An unspecialized File object will then be typecasted into the class that
      recognized it. If that does not happen, binary comparison is implemented
      by the File class.
      Instead of redefining the compare() method which returns a single
      Difference or None, file type classes can implement compare_details()
      which returns an array of “inside” differences. An empty array means no
      differences were found.
      This new approach makes room to handle special file types better. As an
      example, device files can now be compared directly as their extraction
      from archives is problematic without root access.
      To reduce a good amount of boilerplate code, the Container and its
      subclass Archive has been introduced to represent anything that
      “contains” more file to be compared. While the API might still be
      improved, this already helped a good amount of code become more
      consistent. This will also make it pretty straightforward to implement
      parallel processing in a near future.
      Some archive formats (at least cpio and iso9660) were pretty annoying
      to work with. To get rid of some painful code, we now use
      libarchive—through the ctypes based wrapper libarchive-c—to handle these
      archives in a generic manner. One downside is that libarchive is very
      stream-oriented which is not really suited to our random-access model.
      We'll see how this impacts performance in the future.
      Other less crucial changes:
       - `find` is now used to compare directory listings.
       - The fallback code in case the `rpm` module cannot be found has been
         isolated to a `comparators.rpm_fallback` module.
       - Symlinks and devices are now compared in a consistent manner.
       - `md5sums` files in Debian packages are now only recognized when
         they are part of a Debian package.
       - Files in squashfs are now extracted one by one.
       - Text files with different encodings can be compared and this difference
         is recorded as well.
       - Test coverage is now at 92% for comparators.
      Sincere apologies for this unreviewable commit.
  24. 26 Jun, 2015 1 commit
  25. 23 Jun, 2015 1 commit
  26. 10 Feb, 2015 1 commit
  27. 02 Oct, 2014 1 commit
  28. 30 Sep, 2014 1 commit