Skip to main content

Include checklists in ticket, sourced from wiki pages

Project description

TracChecklist

This plugin allows you to define checklists as a wiki page, and then embed them in tickets as templates for recurring tasks. For example, if your workflow for a bug ticket includes steps for fix/test/release, each of these can be defined as a step and checked off as the assignee works on the ticket.

This prevents people from forgetting something (e.g. tag a new version), and allows for ongoing process improvements by updating the checklist whenever gaps in the existing process are discovered.

This plugin was developed and is maintained by Outlyer

Install

A plugin can either be deployed globally, or only for a specific environment. Global deployment is done by installing the plugin:

cd /path/to/plugin_source
python setup.py install

The plugin is also available on PyPI and can be installed globally using pip:

pip install TracChecklist

To deploy a plugin only to a specific Trac environment, copy the egg file into the plugins directory of that environment:

cd /path/to/plugin_source
python setup.py bdist_egg
cp dist/*.egg /path/to/project_environment/plugins

Setup

Enable the plugin in your trac.ini file:

[components]
checklist.* = enabled

The plugin requires a new database table; update the environment to create it:

$ trac-admin /path/to/env upgrade

The plugin uses static resources (CSS, JS). If you mapped static resources so they are served by the web server, the resources need to be deployed to the location on the filesystem that is served by the web server. Execute the deploy command, as is done during install and upgrade:

$ trac-admin /path/to/env deploy /deploy/path

The plugin creates a "wiki:ChecklistTemplates" page as the root below which all checklist definitions are located. If you move the page, update the entry in your trac.ini file:

[checklist]
template_root = /path/to/ChecklistTemplates

Restart the server once fully configured.

Use

Create at least one checklist as a sub-page below the "Ticket Template" page using the template provided in the "ChecklistTemplates" root page. You can also create pages below non-existing parents, which will then be treated as category headers. For example:

wiki:ChecklistTemplates
|- CatOne (not a page)
   |- wiki:ChecklistTemplates/CatOne/Checklist One
   |- wiki:ChecklistTemplates/CatOne/Checklist Two
|- CatTwo (not a page)
   |- wiki:ChecklistTemplates/CatTwo/Checklist Three
   |- wiki:ChecklistTemplates/CatTwo/Checklist Four

Then use the dropdown menu at the top-right of any ticket description entry box when in edit mode to select & insert a template. The preview will show the checklist in your ticket.

Revision Log

  • 0.1 - Initial release to PyPI (build) & TracHacks (source)

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

TracChecklist-0.3.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

TracChecklist-0.3.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file TracChecklist-0.3.0.tar.gz.

File metadata

  • Download URL: TracChecklist-0.3.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for TracChecklist-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6493dcf260d7499bc023568053119d87b586837ef256585fb202c6b137515ec6
MD5 ed764a16cf858d98ccec0874a0a90f17
BLAKE2b-256 94fbfbf9cbd14ec2becbcb4f2f5aed1608eb58bbca44059c871be3ee7fd79171

See more details on using hashes here.

File details

Details for the file TracChecklist-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: TracChecklist-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for TracChecklist-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc195b93428f5619c21bf488a0c92a595d474b48d3f216114bace8647540c8bb
MD5 9b9759a5e6e530615b0faafd9f0db6cc
BLAKE2b-256 5a0840a12b0a6a5dbff827c882b078b4351c2b78792ab05dd8b3db8578ad7fb0

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