Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#6579 closed task (fixed)

Add revision info to macro

Reported by: rjollos Owned by: rjollos
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 5 years ago by rjollos

  • Owner changed from mcomb to rjollos

Reassigning ticket after changing maintainers.

comment:2 follow-up: Changed 4 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 4 years ago by rjollos

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.