#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 15 years ago by
Owner: | changed from Mike Comb to Ryan J Ollos |
---|
comment:2 follow-up: 3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → 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 Changed 14 years ago by
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.
Reassigning ticket after changing maintainers.