Opened 10 years ago

Last modified 8 years ago

#1049 new enhancement

Run script on source repository file to generate GraphViz commands

Reported by: jeffk Owned by: cboos
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords: graphviz
Cc: Trac Release: 0.11


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/

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 8 years ago by cboos

  • Owner changed from pkropf to cboos

comment:2 Changed 8 years ago by cboos

  • Trac Release changed from 0.10 to 0.11

Add Comment

Modify Ticket

as new The owner will remain cboos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.