Opened 14 years ago
Closed 14 years ago
#8986 closed enhancement (fixed)
Add SVN revision info to egg
| Reported by: | Ryan J Ollos | Owned by: | Chris Nelson | 
|---|---|---|---|
| Priority: | normal | Component: | TracJsGanttPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 | 
Description
Minor configuration management suggestion ...
Would you consider adding a setup.cfg file, like that shown here?
This makes it slightly easier to determine exactly the SVN revision number of an installed egg. This is helpful in case of an installation between version bumps (and as a second check in case a version bump is ever forgotten).
After adding that file to the DateFieldPlugin (and also bumping the version in setup.py) I get TracDateField-1.0.2_r10435-py2.6.egg rather than TracDateField-1.0.1-py2.6.egg.
The SVN revision also shows on the WebAdmin panel:
It is a very minor issue, but I don't know of any downsides. This seems to be a fairly common practice with Trac plugins.
Attachments (1)
Change History (6)
Changed 14 years ago by
| Attachment: | SvnRevisionOnWebAdmin.png added | 
|---|
comment:1 follow-up: 2 Changed 14 years ago by
comment:2 follow-up: 3 Changed 14 years ago by
Replying to ChrisNelson:
And I wonder what my egg would look like here if I check out from
gitand build?
I have not tried this, but I think it comes down to what setuptools supports. I'd be really interested to know however, since I've dropped this file into the directory of all the plugins I maintain, and many are using Git and Hg.
comment:3 Changed 14 years ago by
Replying to rjollos:
Replying to ChrisNelson:
And I wonder what my egg would look like here if I check out from
gitand build?I have not tried this, but I think it comes down to what setuptools supports. I'd be really interested to know however, since I've dropped this file into the directory of all the plugins I maintain, and many are using Git and Hg.
I guess I'd expect a tag_git_revision that works like tag_svn_revision.
comment:4 Changed 14 years ago by
comment:5 Changed 14 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 





That seems like a fine change. While it works fine for TH, we use
githere so it seems I'd be carrying around a useless file for my local needs. And I wonder what my egg would look like here if I check out fromgitand build?