Skip to main content

Generate changelogs based on Github milestones or tags

Project description

Build status

Travis-CI build status Appveyor build status Circle-CI build status Quantified Code issues Scrutinizer Code Quality

Project information

License Latest PyPI version Join the chat at https://gitter.im/spyder-ide/public

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loghub-0.1.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

loghub-0.1.2-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file loghub-0.1.2.tar.gz.

File metadata

  • Download URL: loghub-0.1.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for loghub-0.1.2.tar.gz
Algorithm Hash digest
SHA256 029c4da992b82d158a779dcb90ef966017e24de93a38383fd482ca790eba5af5
MD5 0b936ea458577569932031050dfd5559
BLAKE2b-256 6ecf364891b13cad6caeeb9e3fd530ed4507e7912d36550d8efeb71026912d8c

See more details on using hashes here.

Provenance

File details

Details for the file loghub-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for loghub-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1abfc2cee533a8fb68bc15f8f2b503bee7fdf625168244bbd7528f52610f384c
MD5 10043532e9827d0ca28d01aff6420d59
BLAKE2b-256 835748910ab8b83aaf896da2589ccba6d8f8f7ee874ed061e228a7d526ab801d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page