Opened 7 years ago

Closed 7 years ago

Reported by: Owned by: rjollos rjollos normal WikiTicketCalendarMacro normal 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.

comment:1 Changed 7 years ago by rjollos

• Owner changed from mcomb to rjollos

Reassigning ticket after changing maintainers.

comment:2 follow-up: ↓ 3 Changed 7 years ago by hasienda

• Resolution set to fixed
• Status changed from new to closed

(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 rjollos

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.