Modify

Opened 7 years ago

Closed 7 years ago

#6454 closed enhancement (fixed)

[Patch] Add revision info

Reported by: Ryan J Ollos Owned by: Terry Brown
Priority: normal Component: ComponentsProcessorMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Trac 0.12 displays plugin revision info in a Installed Plugins table on the /about page (you must have CONFIG_VIEW permission to see this info). See t:#8921.

The attached patch adds revision info to the content of the macro and adds svn revision keywords to the .py file.

See #6391 for screen capture of new Installed Plugins section on the About page.

Attachments (2)

ComponentsListMacro.patch (584 bytes) - added by Ryan J Ollos 7 years ago.
Patch file
ComponentsListMacro.2.patch (564 bytes) - added by Ryan J Ollos 7 years ago.
Correct patch, please ignore the first.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by Ryan J Ollos

Attachment: ComponentsListMacro.patch added

Patch file

Changed 7 years ago by Ryan J Ollos

Attachment: ComponentsListMacro.2.patch added

Correct patch, please ignore the first.

comment:1 Changed 7 years ago by Ryan J Ollos

ComponentsListMacro.2.patch is the correct patch. I made an error with the first patch.

comment:2 Changed 7 years ago by Terry Brown

Resolution: fixed
Status: newclosed

applied patch

comment:3 Changed 7 years ago by Ryan J Ollos

It looks like I made an error and the svn:keywords didn't get applied through the patch, but you can do that with the following:

svn propset svn:keywords "LastChangedRevision HeadURL" ComponentsListMacro.py

comment:4 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: closedreopened

comment:5 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: reopenedclosed

(In [8457]) Applied svn:keywords so that with changes in [7432] revision info is shown on webadmin plugin's panel. Fixes #6454.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Terry Brown.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.