Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6579 closed task (fixed)

Add revision info to macro

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: WikiTicketCalendarMacro
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 (3)

comment:1 Changed 7 years ago by Ryan J Ollos

Owner: changed from Mike Comb to Ryan J Ollos

Reassigning ticket after changing maintainers.

comment:2 Changed 7 years ago by Steffen Hoffmann

Resolution: fixed
Status: newclosed

(In [8062]) WikiTicketCalendarMacro: Add revision, URL info and corresponding svn properties, closes #6579.

This change was done in SVN r7524 before, but only propagated to 0.10 branch, where it is pointless anyway, so will be removed again.

comment:3 in reply to:  2 Changed 7 years ago by Ryan J Ollos

Replying to hasienda:

This change was done in SVN r7524 before, but only propagated to 0.10 branch, where it is pointless anyway, so will be removed again.

The previous change was actually only added to the 0.12 version and I had intended to completely remove any 0.10 versions, but I think that the version I added in [7524] may not have been yet functional on 0.12.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.