Opened 10 years ago
Closed 10 years ago
#11653 closed enhancement (fixed)
Don't display version or revision in single-file plugin if keyword is not expanded
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: |
The |
||
API Changes: | |||
Internal Changes: |
Description (last modified by )
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.
Attachments (1)
Change History (5)
by , 10 years ago
Attachment: | PluginAdminPage.png added |
---|
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Milestone: | next-stable-1.0.x → 1.0.2 |
---|---|
Status: | new → assigned |
comment:4 by , 10 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Proposed change in log:rjollos.git:t11653. Tests will be added.