Edgewall Software

Opened 10 years ago

Last modified 10 years ago

#11653 closed enhancement

Don't display version or revision in single-file plugin if keyword is not expanded — at Version 1

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.2
Component: admin/web Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

Single-file plugins use the version and revision module attributes to specify the plugin version, and this version is displayed on the plugin admin page: trunk/trac/loader.py?rev=12785&marks=182-185#L179.

The attributes may be set to an svn keyword that gets expanded, however the svn keyword won't get expanded if the source is downloaded in a zip, or the SVN repository is cloned to Git. This leads to only Rev being displayed. In this case, it would be better to display nothing.

Change History (2)

by Ryan J Ollos, 10 years ago

Attachment: PluginAdminPage.png added

comment:1 by Ryan J Ollos, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.