You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2013/02/21 04:05:43 UTC
Re: [Apache Bloodhound] #409: Append `dev` to the version string of
development versions
#409: Append `dev` to the version string of development versions
------------------------+-----------------------
Reporter: rjollos | Owner: nobody
Type: task | Status: new
Priority: major | Milestone: Release 5
Component: siteadmin | Version:
Resolution: | Keywords:
------------------------+-----------------------
Comment (by rjollos):
After bumping the version numbers and adding a `setup.cfg` where needed,
we see displayed on the plugin admin panel:
[[Image(ManagePlugins.png)]]
Changing the ''Powered by Apache X.Y'' line is slightly more involved. The
`application_version` variable must be changed:
{{{
(bloodhound)user@debian-wheezy:~/Workspace/bh220$ grep -R --exclude-
dir=.svn --exclude=*.pyc "application_version"
../bloodhound_theme/bhtheme/theme.py: application_version =
".".join(map(str, application_version)))
./bloodhound_theme/bhtheme/theme.py:application_version = tuple(int(i) for
i in get_distribution('BloodhoundTheme')
./bloodhound_theme/bhtheme/templates/bloodhound_theme.html:
${chrome.labels.application_version}</a>
./bloodhound_theme/bhtheme/templates/bh_about.html:
${chrome.labels.application_version
}}}
Peter, I wanted to ask for your review of the following patch before I
commit, in case my changes have some unintended consequences to the white-
labeling: [attachment:t409-r1448441-1.patch].
The result is:
[[Image(Footer.png)]]
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/409#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker