Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install redmine-releasedate

How to install redmine-releasedate

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install redmine-releasedate
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.2 Available View build log
Windows (64-bit)
0.1.2 Available View build log
Mac OS X (10.5+)
0.1.2 Available View build log
Linux (32-bit)
0.1.2 Available View build log
Linux (64-bit)
0.1.2 Available View build log
 
Author
License
MIT
Dependencies
Imports
Lastest release
version 0.1.2 on Jul 2nd, 2013

Redmine releasedate

Track when your features are shipped to production in Redmine. Currently supports git & jenkins.

https://travis-ci.org/futurecolors/redmine-releasedate.png?branch=master https://coveralls.io/repos/futurecolors/redmine-releasedate/badge.png?branch=master https://pypip.in/v/redmine-releasedate/badge.png
How it works

Upon finishing deploy job, jenkins creates a git tag, so it can track commits that refer to the build. We can use these tags to track which tickets were deployed. Date of deploy is stored in custom field of each ticket that was mentioned in commit. A comment is left for every ticket in release as well for readability.

Installation
Server

Install it where your git repo resides. We only support local git repos, so make sure you have enough permissions.

  • pip install redmine-releasedate
  • Specify redmine access options in releasedate.cfg
  • run redmine-release-server and make it available via http

System Message: WARNING/2 (<string>, line 35)

Bullet list ends without a blank line; unexpected unindent.
# releasedate.cfg
[redmine]
url = http://example.com
token = your_api_token_goes_here
released_at_id = 42  ;custom field id goes here

[releasedate]
message = Deployed on %(instance)s at %(date)s in release "%(release_id)s":%(release_url)s
address = 0.0.0.0  ; optional
port = 8080  ; optional
Jenkins
  • Pip install redmine-releasedate on your jenkins server. No configuration is needed.

  • Add this to your Jenkins build step (preferably, in post-build task):

    git push --tags
    redmine-release http://releasedate_url/ /path/to/repo/ [instance_url]
    
Redmine

Create a user with permissions to edit tickets and post notes in your project. Obtain his API token and put it into releasedate.cfg. Add custom field to store releasedate information.

Limitations
  • second run of client command will make second comment and overwrite release date, so please make sure

System Message: WARNING/2 (<string>, line 74)

Bullet list ends without a blank line; unexpected unindent.

you run redmine-release only once per deploy.

Changelog

0.1.2 (01-07-2013)
  • Fixed setup.py
0.1.1 (01-07-2013)

System Message: WARNING/2 (<string>, line 95)

Title underline too short.

0.1.1 (01-07-2013)
-----------------
  • Added 3rd optional instance_url argument to redmine-release command
  • Fixed redmine-release-server cli command
  • Fixed unicode message handling in config
  • Improved logging
0.1 (01-07-2013)
  • Initial release

Subscribe to package updates

Last updated Jul 2nd, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.