Opened 16 years ago
Closed 15 years ago
#4540 closed enhancement (duplicate)
use svn repo too
Reported by: | Owned by: | robert_martin | |
---|---|---|---|
Priority: | normal | Component: | DiaVisViewPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
is there a way too use svn:/trunk/bla.dia in addition to attachements? Uploading versioned diagrams to wikipages as attachement feels like half the battle.
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Status: | new → assigned |
---|
By the looks of it the original drawing source file will have to be imported into a local directory. It can then be rendered using dia. This will require some additional work. To minimise page loading times the modification times of the original and rendered png file are compared, and only update the png file if it is older or a different size is wanted. The modification time will probably have to be set using the age of the file in the repository.
I'm assuming that it will always display the newest version.
Another thought might be if there was some form of post commit script that created the png file, and then there was just a simple link from trac to it?
comment:3 Changed 16 years ago by
writing a hook would be a solution for one diagram, but not for a group of developers with a lot of diagrams and without access at trac serving host. It would ever feel like a hack.
comment:4 Changed 15 years ago by
comment:5 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Closed as duplicate of 4531.
I'll investigate to see how this can be done. The Image macro does it OK, so I should be able to use that as a basis. Please allow a couple of weeks, as I don't have much time available.
The Image macro uses . Please see the pages on wiki macros.