[PATCH v2 00/16] Improve various non-functional aspects of project

Stephen Finucane stephen.finucane at intel.com
Sat Aug 22 00:32:04 AEST 2015


This series introduces a number of changes around the areas of
documentation, code coverage and testing. These changes conclude my
refactoring work (with the exception of Python3 compatibility, which
is low priority) in preparation for more tangible feature development.

v2:
- Split whitespace/PEP8 changes from more meaningful changes
- Add ENV passthroughs for tox>2.0
- Add missing code for new 'test/test_user' tests
- Document bugfixes in more detail

Stephen Finucane (16):
  Add missing explicit state fixture load
  tox: Update versions of Django to be tested
  docs: Rewrite documentation
  trivial: Remove dead files/code
  trivial: Resolve some PEP8 issues
  trivial: Remove Python < 2.5 code
  tests: Move 'reverse' calls inside 'setUp'
  tests/test_user: Add "profile unlink" tests
  tests/test_user: Add "profile POST" tests
  trivial: Remove dead imports from 'tests'
  management: Resolve bugs with 'cron' command
  management: Resolve a bug with 'retag' command
  trivial: Resolve PEP8 issues with 'management'
  trivial: Add missing licenses to 'management'
  settings: Fix deprecated 'TEST_CHARSET' warning
  settings: Move 'TEST_RUNNER' to correct location

 docs/HACKING                             |  69 -------
 docs/INSTALL                             | 305 -------------------------------
 docs/development.md                      |  95 ++++++++++
 docs/index.md                            |  66 +++++++
 docs/installation.md                     | 290 +++++++++++++++++++++++++++++
 docs/requirements-base.txt               |   2 +-
 docs/requirements-prod.txt               |   2 +-
 mkdocs.yml                               |  10 +
 patchwork/bin/parsemail.py               |   9 +-
 patchwork/context_processors.py          |  32 ----
 patchwork/management/commands/cron.py    |  30 ++-
 patchwork/management/commands/retag.py   |  41 +++--
 patchwork/parser.py                      |  10 +-
 patchwork/requestcontext.py              |  46 +++--
 patchwork/settings/base.py               |   6 +-
 patchwork/settings/dev.py                |   8 +-
 patchwork/settings/production.example.py |   2 +-
 patchwork/templatetags/filter.py         |  36 ----
 patchwork/templatetags/listurl.py        |  71 ++-----
 patchwork/templatetags/order.py          |  66 -------
 patchwork/templatetags/patch.py          |  46 +----
 patchwork/templatetags/pwurl.py          |  76 --------
 patchwork/tests/test_confirm.py          |   1 -
 patchwork/tests/test_mail_settings.py    |  41 ++---
 patchwork/tests/test_notifications.py    |   4 +-
 patchwork/tests/test_patchparser.py      |   6 +-
 patchwork/tests/test_user.py             | 129 +++++++++++--
 patchwork/tests/test_xmlrpc.py           |   5 +-
 patchwork/tests/utils.py                 |   9 +-
 patchwork/views/__init__.py              |  19 +-
 patchwork/views/xmlrpc.py                |  21 +--
 templates/base.html                      |   1 -
 tox.ini                                  |  42 +++--
 33 files changed, 745 insertions(+), 851 deletions(-)
 delete mode 100644 docs/HACKING
 delete mode 100644 docs/INSTALL
 create mode 100644 docs/development.md
 create mode 100644 docs/index.md
 create mode 100644 docs/installation.md
 create mode 100644 mkdocs.yml
 delete mode 100644 patchwork/context_processors.py
 delete mode 100644 patchwork/templatetags/filter.py
 delete mode 100644 patchwork/templatetags/order.py
 delete mode 100644 patchwork/templatetags/pwurl.py

-- 
2.0.0



More information about the Patchwork mailing list