Skip to main content

Python implementation of Ditz (http://rubygems.org/gems/ditz).

Project description

https://drone.io/bitbucket.org/zondo/pyditz/status.png

Introduction

This package is intended to be a drop-in replacement for the Ditz distributed issue tracker. It provides a pyditz command-line program, which acts (mostly) the same way as ditz, and it adds several other nice things too:

  • Whereas ditz, when typed on its own, runs the todo command, pyditz drops you into a command shell where you can run Ditz commands and get completion on command names, issue names and release names according to context.

  • With PyDitz, you don’t have to run it from the same directory where the issue database is; it will look in parent directories for it.

  • It keeps an intelligent cache of issues, so parsing of all the YAML files isn’t necessary for each command. This greatly improves speed when you have lots of issues.

  • You can extend PyDitz using plugins that you write—either simple standalone files (similar to the ditz ‘hook’ feature), or packages that use setuptools entrypoints.

  • You can use the database engine of PyDitz in Python programs to migrate bug databases to and from Ditz format, or create summary reports in your own favourite format. Me, I prefer reStructuredText and rst2pdf.

Requirements

To install and run it:

PyYAML, Jinja2, cerberus and six

To have nice terminal highlighting output:

Pygments (and colorama if you’re on Windows)

To mark up description and comment text in HTML output:

Markups (and the modules it needs to function)

To run the test suite:

Nose, Mock and Coverage

To build the documentation:

Sphinx, and the alabaster theme.

Installation

The usual incantation will install things:

pip install pyditz

This will install the ditz module and a console command called pyditz to invoke in a similar manner to the original ditz.

If you want to shadow the original completely, and have the ditz command run this instead, you have two options:

  1. Define the environment variable DITZCMD to be ditz. This only takes effect at installation time. Of course, instead of ditz you can choose anything else more keyboard-friendly.

  2. Create your own shell alias.

Documentation

The current documentation can be found online here. You can also look at an example of the HTML output.

License

PyDitz is distributed under the GNU Lesser General Public License, v2 or later.

Changes

Version 0.10.3 (2019-01-11)

  • bugfix: Fix highlighting customization

Version 0.10.2 (2018-08-31)

  • bugfix: Resolve problems with cerberus update

  • bugfix: Resolve problems with markups update

Version 0.10.1 (2017-07-31)

  • bugfix: Crash when trying to create db

Version 0.10 (2016-11-27)

  • Improve startup operations

  • Allow abbreviation of issue names

  • Sort issues by last-modified time

  • Implement issue-claiming commands

  • Use cerberus for data validation

Version 0.9.1 (2016-03-24)

  • bugfix: Line wrapping problem in terminal

  • bugfix: Fix problems with version detection

  • Minor package improvements

Version 0.9 (2015-09-27)

  • bugfix: Bytes output if pygments is not installed

  • bugfix: Initialization command doesn’t work

  • Implement the ‘edit’ command

  • Implement command plugins

  • Add support for markup in HTML output

  • Allow per-project config file

  • New command to list all issues

  • Add project file to version control

  • Add validation schemas

  • Search more fields with grep

Version 0.8.1 (2015-08-18)

  • bugfix: Fix non-ASCII text in issue data

  • bugfix: HTML plugin load failure

Version 0.8 (2014-12-05)

  • bugfix: Grep arguments not handled correctly

  • Allow customization of HTML output

  • Allow issues to be specified by ID

  • Add progress time indicator to ‘show’ and HTML

  • Implement exporting directly to archive

  • Add section arg to config command

  • Add exporter plugin system

  • Add python 3 support

  • Improve the default HTML style

  • Move ~/.ditzrc to ~/.ditz/ditz.cfg

  • Relicense under LGPL

Version 0.7 (2014-09-28)

  • bugfix: Handle YAML comment char in strings

  • Add VCS support

  • Add unicode support

  • Add issue type column to HTML output

  • Add command to display configuration

  • Implement the ‘validate’ command

  • Add output highlighting

  • Add support for command aliases

  • Add pager support

  • Improve the documentation

  • Wire up the remaining program options

  • Improve configuration settings

  • Improve logging command output

Version 0.6.2 (2014-08-10)

  • bugfix: Name substitution not done in issue description

Version 0.6.1 (2014-08-09)

  • bugfix: Print message on successful unassignment

  • bugfix: Ignore unreleased releases when assigning issues

Version 0.6 (2014-03-28)

  • bugfix: Handle non-ASCII characters when writing output

  • Install as ‘ditz’ if required by user

  • Add HTML component column if multiple components in use

  • Don’t show HTML release column for unassigned issues

  • Print message on successful issue assignment

Version 0.5.2 (2013-12-20)

  • bugfix: Blank lines shouldn’t end a comment

Version 0.5.1 (2013-12-18)

  • bugfix: Prompt for component when creating issues

  • bugfix: Show issue status even if not closed

Version 0.5 (2013-12-12)

  • bugfix: Issue names not replaced in comment text

  • bugfix: Reconfigure clobbers existing file

  • Add sortable tables to HTML output

  • Write some user documentation

  • Add a user config file

Version 0.4 (2013-12-09)

  • Implement the ‘html’ command

Version 0.3 (2013-11-23)

  • bugfix: Multiple ‘issuedir’ keywords in init

Version 0.2 (2013-11-23)

  • bugfix: Fix up problems with blank comments

Version 0.1 (2013-11-23)

  • bugfix: Fix round-tripping of issue files

  • Implement all the ditz commands

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyditz-0.10.3.tar.gz (128.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyditz-0.10.3-py2.py3-none-any.whl (74.7 kB view details)

Uploaded Python 2Python 3

pyditz-0.10.3-py2.7.egg (138.3 kB view details)

Uploaded Egg

File details

Details for the file pyditz-0.10.3.tar.gz.

File metadata

  • Download URL: pyditz-0.10.3.tar.gz
  • Upload date:
  • Size: 128.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for pyditz-0.10.3.tar.gz
Algorithm Hash digest
SHA256 4ee18271b6a60a968a69b02f18037f4ab0755e184c336650cefaa5dde7f9bd43
MD5 24d58b01050c3bbab97ee13d8a00ea1b
BLAKE2b-256 e49b92507d68a26728ddd9086ce42f8cfc4e1ef1ce1f20aeeafc305d7df6f11f

See more details on using hashes here.

File details

Details for the file pyditz-0.10.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pyditz-0.10.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for pyditz-0.10.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80d813524a8b6014cb719fa8e8350a24aecbb0df1b7ed503273c99b89eea105b
MD5 c8b0781dfb6b0401ce769392218ba8d3
BLAKE2b-256 a8fa21a96645682b6e313c69035483f6a90c7b0724073be15aecc005cc23b327

See more details on using hashes here.

File details

Details for the file pyditz-0.10.3-py2.7.egg.

File metadata

  • Download URL: pyditz-0.10.3-py2.7.egg
  • Upload date:
  • Size: 138.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for pyditz-0.10.3-py2.7.egg
Algorithm Hash digest
SHA256 e7dde325f8a7c4a92d1271e0ecdb3f2c6a3423a123edcfe5073d194490f1bfe6
MD5 fe163ce67d2f515d0621b8223e57ad62
BLAKE2b-256 f090987cbc03a5bbb2cf56c8d726ecbf9622f85bb6a107296ad154f2cf529e0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page