Sign inSign up

whitepages/github-changelog

By whitepages

Updated over 6 years ago

Pull-request based conventional changelog generator for GitHub projects

Image
0

1.0K

whitepages/github-changelog repository overview

GitHub changelog

Continuous Integration status Docker Build Status Docker pulls GitHub license

Pull-request based conventional changelog generator for GitHub projects which follow the AngularJS Commit Message Format.

Releases and Dependency Information

Usage

Jar

It should be started with a edn config file with the following content:

{:user       "user"
 :repo       "repo"
 :token      "0123456789abcdef0123456789abcdef01234567"}

Then start with:

$ java -cp github-changelog.jar clojure.main -m github-changelog.cli config.edn

This will clone the user/repo repository from GitHub into the current directory and will generate the changelog for it.

You could also pass in a configuration on stdin if you set the config filename to -.

Here is an example usage:

$ java -cp github-changelog.jar clojure.main -m github-changelog.cli - < config.edn
Docker image
$ cat config.edn | docker run -i --rm whitepages/github-changelog -
Config options
keydescriptionrequired
:userUsername for the repo
:repoRepository name
:tokenGitHub access token to reach the API
:githubGitHub URL
:github-apiURL for GitHub Enterprise API
:jiraJIRA URL if you're using that for issue tracking
:dirThe destination directory for the repo
:update?Clones or fetches the repository before generating the changelog
:git-urlGit URL for cloning if automatic generation does not suit you

A more complete config example:

{:user       "user"
 :repo       "repo"
 :token      "0123456789abcdef0123456789abcdef01234567"
 :github     "https://github.example.com/"
 :github-api "https://github.example.com/api/v3/"
 :jira       "https://jira.atlassian.com/"
 :dir        "/tmp/destination-dir/"
 :update?    false}

Changes and example output

Can be found here CHANGELOG.md

Copyright © 2015-2019 Whitepages Inc.

Distributed under MIT license.

Tag summary

Content type

Image

Digest

Size

67.5 MB

Last updated

over 6 years ago

docker pull whitepages/github-changelog