Modify

Opened 5 years ago

Closed 4 years ago

Last modified 20 months ago

#6580 closed enhancement (fixed)

Add revision info to macro

Reported by: rjollos Owned by: aviram
Priority: normal Component: TicketChartsMacro
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 4 years ago by rjollos

I'd like to make this change, and have global rw access to t-h.o, so please post a quick message if you are okay with this harmless change.

comment:2 Changed 4 years ago by rjollos

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

(In [8488]) Added revision info to macro. Fixes #6580.

comment:3 Changed 20 months ago by rjollos

(In [13065]) Refs #6580: Fixed typo in [8488].

Add Comment

Modify Ticket

Action
as closed The owner will remain aviram.
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.