/usr/lib/python2.7/dist-packages/TracMasterTickets-3.0.2.egg-info/PKG-INFO is in trac-mastertickets 3.0.2+20111224-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | Metadata-Version: 1.1
Name: TracMasterTickets
Version: 3.0.2
Summary: Provides support for ticket dependencies and master tickets.
Home-page: http://github.com/coderanger/trac-mastertickets
Author: Noah Kantrowitz
Author-email: noah@coderanger.net
License: BSD
Description: Notes
=====
Adds basic ticket dependencies for Trac.
Note: MasterTickets 3.0 requires Trac 0.12 or higher.
What is it?
-----------
This plugin adds "blocking" and "blocked_by" fields to each ticket, enabling you
to express dependencies between tickets. It also provides a graphviz-based
dependency-graph feature for those tickets having dependencies specified,
allowing you to visually understand the dependency tree. The dependency graph
is viewable by clicking 'depgraph' in the context (in the upper right corner)
menu when viewing a ticket that blocks or is blocked by another ticket.
What is it not?
---------------
* It does not provide ticket-hiding for sub-tasks of a top-level ticket.
* There is no orthogonal parent/child relationship possible
* You cannot view the descriptions of tickets depending on the current
ticket
* In fact, there are no explicit features that can assist you with sub-task
management
* Although it would be cool.
* It does not allow you to create a dependent ticket from the current ticket
* It does not include reporting features to show how tasks are interrelated
(other than the dependency graph already described above).
Configuration
=============
To use this plugin you must configure two custom fields named ``blocking``
and ``blocked_by``.
All other configuration options go in the ``[mastertickets]`` section.
``dot_path`` : *optional, default: dot*
Path to the dot executable. This is only used for the dependency graph.
``use_gs`` : *optional, default: False*
If enabled, use ghostscript to produce a nicer dependency graph.
``gs_path`` : *optional, default: gs*
Path to the ghostscript executable.
``closed_color`` : *optional, default: green*
Color of closed tickets
``opened_color`` : *optional, default: red*
Color of opened tickets
``graph_direction`` : *optional, default: TD*
Direction of the dependency graph (TD = Top Down, DT = Down Top, LR = Left Right, RL = Right Left)
To enable the plugin::
[components]
mastertickets.* = enabled
[ticket-custom]
blocking = text
blocking.label = Blocking
blockedby = text
blockedby.label = Blocked By
Custom fields
-------------
While the two field names must be ``blocking`` and ``blocked_by``, you are
free to use any text for the field labels.
Example
=======
To use a locally-built graphviz::
[mastertickets]
dot_path = /usr/local/bin/dot
[components]
mastertickets.* = enabled
[ticket-custom]
blocking = text
blocking.label = Blocking
blockedby = text
blockedby.label = Blocked By
Example reports
--------------
To only show the tickets that are currently not blocked by other non-closed
tickets, use this SQL (eg in a new report):
SELECT p.value AS __color__,
id AS ticket, summary, component, version, milestone, t.type AS type,
owner, status,
time AS created,
changetime AS _changetime, description AS _description,
reporter AS _reporter,
(SELECT COUNT(*) FROM mastertickets m, ticket t2 WHERE t.id=m.dest AND m.source=t2.id AND t2.status <> 'closed') AS _blocked
FROM ticket t
LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
WHERE status <> 'closed' AND _blocked = 0
ORDER BY CAST(p.value AS integer), milestone, t.type, time
Basically it is the default report, with an aditional, hidden field (the sub query),
named _blocked. The value of this field is checked to be zero.
Using this method, other reports can be modified as well, eg to show the number of tickets
blocking a ticket and/or the number of tickets that the ticked is blocking itself.
Keywords: trac plugin ticket dependencies master
Platform: UNKNOWN
Classifier: Framework :: Trac
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
|