Modify

Opened 16 years ago

Closed 15 years ago

#4540 closed enhancement (duplicate)

use svn repo too

Reported by: tac@… 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 anonymous

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 source:trunk/bla.dia. Please see the pages on wiki macros.

comment:2 Changed 16 years ago by robert_martin

Status: newassigned

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 tac@…

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 Martin

4540 and 6982 seem to be duplicates of 4531 and should be closed as such.

comment:5 Changed 15 years ago by Martin

Resolution: duplicate
Status: assignedclosed

Closed as duplicate of 4531.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain robert_martin.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.