Modify ↓
Opened 18 years ago
Last modified 15 years ago
#1049 new enhancement
Run script on source repository file to generate GraphViz commands
Reported by: | Jeff Kowalczyk | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Component: | GraphvizPlugin |
Severity: | normal | Keywords: | graphviz |
Cc: | Trac Release: | 0.11 |
Description
Building on #1048, it would be useful to have a syntax to run a (python) script with arguments to retrieve Graphviz commands. The typical argument would be a file in the source repository. Something like this:
{{{ #!graphviz py2uml source:myproject/trunk/doc/model.py }}}
Presuming a fictional py2uml script that would do the job, this would allow the Wiki to display an appropriately versioned UML model, without a manually maintained .dot file.
The GraphvizPlugin config file sections could be used to define allowed scripts (and short path-free aliases), as well as define the temporary directory where the rendering of the script could be cached based on the repository source revision. Thanks.
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Owner: | changed from Peter Kropf to Christian Boos |
---|
comment:2 Changed 15 years ago by
Trac Release: | 0.10 → 0.11 |
---|
Note: See
TracTickets for help on using
tickets.