Generate changelogs based on Github milestones or tags
Project description
Build status
Project information
Description
Changelog generator based on milestone or tags for github.
Installation
Using pip
pip install loghub
Using conda
conda install loghub -c conda-forge
Usage
loghub can be used to generate changelog based on milestones or on tags.
In projects where milestones are used to track a release we can use for example:
loghub spyder-ide/spyder -m v3.0
In projects where milestones are used to track chunks of work but not releases, we can use tags to get the changes after the latest release, for example:
loghub spyder-ide/spyder -st v3.0.0b7
Or if loghub is used to generate old changelogs (or update changelogs), we can also use tags to limit the range , for example:
loghub spyder-ide/spyder -st v3.0.0b7 -ut v3.0.0
For private repos, just add the username and password arguments, for example:
loghub spyder-ide/spyder -st v3.0.0b7 -ut v3.0.0 -u <username> -p <password>
Detailed CLI arguments
usage: loghub [-h] [-m MILESTONE] [-st SINCE_TAG] [-ut UNTIL_TAG]
[-f OUTPUT_FORMAT] [-u USER] [-p PASSWORD]
repository
Script to print the list of issues and pull requests closed in a given
milestone
positional arguments:
repository Repository name to generate the Changelog for, in the
form user/repo or org/repo (e.g. spyder-ide/spyder)
optional arguments:
-h, --help
Show this help message and exit
-m MILESTONE, --milestone MILESTONE
Github milestone to get issues and pull requests for
-st SINCE_TAG, --since-tag SINCE_TAG
Github issues and pull requests since tag
-ut UNTIL_TAG, --until-tag UNTIL_TAG
Github issues and pull requests until tag
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT
Format for print, either 'changelog' (for Changelog.md
file) or 'release' (for the Github Releases page).
Default is 'changelog'. The 'release' option doesn't
generate Markdown hyperlinks.
-u USER, --user USER
Github user name
-p PASSWORD, --password PASSWORD
Github user password
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file loghub-0.1.1.tar.gz
.
File metadata
- Download URL: loghub-0.1.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79c4867319f61257e7a643494910d35891fb08791951656731f315c73924b289 |
|
MD5 | 175a29b1f01afd8e4d38520487b14c62 |
|
BLAKE2b-256 | 951f1dc63f87fe46d88401f80aad01bf18a98ac60700c653019261cbb099a97b |
Provenance
File details
Details for the file loghub-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: loghub-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 521b0821172686b29b7d5a5da4e1d52cdc585243f13f3dfefb3d88a5ec45a61c |
|
MD5 | 03ca0808d3b3df02d02a708e7ce0340a |
|
BLAKE2b-256 | 919a1fb2030424028ff008ab1b662c048daf1026f72f49be884a47a0cbecee20 |