1. 22 Dec, 2016 4 commits
  2. 18 Dec, 2016 1 commit
  3. 09 Dec, 2016 1 commit
  4. 15 Aug, 2016 1 commit
  5. 14 Aug, 2016 1 commit
  6. 13 Aug, 2016 4 commits
  7. 09 Aug, 2016 1 commit
  8. 04 Aug, 2016 1 commit
  9. 02 Aug, 2016 2 commits
  10. 01 Aug, 2016 2 commits
  11. 20 Jun, 2016 1 commit
    • Satyam Zode's avatar
      Add argument completion feature to diffoscope · d733cb47
      Satyam Zode authored
      This should enable argument completion for diffoscope.
      
      For argument completion `python-argcomplete` module needs to be installed.
      
      If `python-argcomplete` module is not installed and tab is pressed then
      diffoscope returns with status 1.
      
      RangeCompleter class is used as completer for different options having
      integer arguments.
      
      Add documentation for argcomplete in README.rst.
      
      Closes: #826711
      d733cb47
  12. 21 Sep, 2015 1 commit
  13. 02 Sep, 2015 1 commit
    • Jérémy Bobbio's avatar
      Rework how diffoscope main() is run · 63523e8d
      Jérémy Bobbio authored
      What used to be in diffoscope.py has now moved to diffoscope.__main__. This
      will allow easier testing of main(). We now leave to setuptools to create
      the glue script that will run the main function when `diffoscope` is called.
      
      diffoscope can also be run by specifying `python -m diffoscope`.
      
      For development purposes, `bin/diffoscope` should now be used instead of
      `./diffoscope.py`. The executable name now stays the same in development
      and production. This little script will mangle the import path before
      calling the main function.
      
      This was inspired by Chris Warrick's blog post:
      https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
      and Yaroslav Halchenko's suggestions on the bug report.
      
      Closes: #796196
      63523e8d