Ticket #6574 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

Add revision info to macro

Reported by: rjollos Assigned to: rjollos
Priority: normal Component: DailyLolMacro
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

Change History

08/27/10 20:32:11 changed 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.

08/27/10 20:50:53 changed by insaneintenti0n

Go for it. I don't get a chance to play with Trac much right now and haven't seen trac .12. Do what you need to.

Hopefully the plugin even still works.

08/27/10 20:53:54 changed by rjollos

  • owner changed from insaneintenti0n to rjollos.

08/27/10 21:20:27 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

(In [8461]) Add revision info to macro, and add missing dependencies. Refs #6797, Fixes #6574.

08/27/10 21:22:20 changed by rjollos

(In [8462]) Add revision info to macro, and add missing dependencies. Refs #6797, Fixes #6574.


Add/Change #6574 (Add revision info to macro)




Change Properties
Action