Skip to content

monikma/releasenotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

releasenotes

This script is for outputting the release notes based on JIRA for copy-pasting.

Requirements

You need to install https://pypi.python.org/pypi/jira first. Tested for Python 3.5.1 and Python 2.7.11.

Quick start

Put this file in your git repository root directory and add to global .gitignore if you don't want to commit it. Run it.

Pay attention that it picks up the right tag, if not, play with the tags argument (--help displays usage info).

Configuration

Default configuration can be changed in release_notes.py below initial description block.

Examples

Example usage:

# help
./release_notes.py --help
# long format
./release_notes.py --tags 2 --output markdown
./release_notes.py --tags 1 --output html
./release_notes.py --tags 2 --output markdown
# short format
./release_notes.py -t 1 -o html
# using default settings
./release_notes.py

Example output:

./release_notes.py --tags 2 --output markdown

[INFO] Looking for commits since 1 last tags
[INFO] Extracting commits since tag: 4.5.0, since timestamp: 2015-11-05 13:14:46 +0100.
[INFO] Filtering STA-[0-9]+ issues
[INFO] Connecting to JIRA to retrieve the issue titles.
Enter your JIRA username (Enter to skip): [email protected]
Enter your JIRA password (will be transferred insecurely):
Printing release notes:

 ### Sub-tasks
  - [STA-2222](https://jira.hybris.com/browse/STA-2222) - Throw inside finally (Spot check)

 ### User stories
  - [STA-2224](https://jira.hybris.com/browse/STA-2224) - Fortify findings for Servcie SDK - Compulsory

 ### Tasks
  - [STA-2225](https://jira.hybris.com/browse/STA-2225) - Update Dependencies for service sdk and services

 ### Bugs
 - [STA-2228](https://jira.hybris.com/browse/STA-2228) - raml-rewriter: rewrite of baseUri / fails

About

Python script for generating release notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages