Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#6562 closed enhancement (fixed)

Add revision info to macro

Reported by: Ryan J Ollos Owned by: Shun-ichi Goto
Priority: normal Component: TicketBoxMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Trac 0.12 allows revision info for plugins and macros to be displayed on the About page. For single file macros, revision info is made available by including the following two lines below the section of import statements:

revison="$Rev$"
url="$URL$"

and applying the following svn:keywords properties:

svn propset svn:keywords "LastChangedRevision HeadURL" <filename>.py

For example, see changelogmacro/0.11/ChangeLogMacro.py@7473:9-10.

Attachments (0)

Change History (5)

comment:1 Changed 15 years ago by Shun-ichi Goto

Resolution: fixed
Status: newclosed

(In [7506]) Add plugin module info supported by Trac 0.12. close #6562.

comment:2 Changed 15 years ago by Shun-ichi Goto

Thanks, I've updated like you said.

comment:3 Changed 15 years ago by Ryan J Ollos

Thanks, I'll test it out with 0.12 to see if it works with the new version. Have you tested with 0.12dev?

comment:4 Changed 15 years ago by Shun-ichi Goto

I've tested and fixed some more (r7508). Now it should work with 0.12dev.

comment:5 Changed 15 years ago by Ryan J Ollos

Thanks. I tested it out and it is also working well for me with Trac 0.12dev-r9098.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Shun-ichi Goto.
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.