Skip to main content

A changelog generator using simply structured git commit messages.

Project description

GitHub license GitHub Workflow Status PyPI - Python Version semver GitHub tag (latest SemVer) Code style: black

whathappened

A changelog generator using simply structured git commit messages

Inspired by

Install and Run

Installation is as simple as it gets:

$ pip install whathappened

To generate a changelog, run:

$ whathappened

Make sure to activate any virtual envrionment that you might be using first.

Package Changelog

Created by Whathappened itself - very meta.

For the complete changelog, please see CHANGELOG.md.

Whathappened Commit Message Format

Whathappened expects git commit messages in the format outlined below:

[optional breaking ]<type>[ optional (<scope>)]: <description>

[optional body]

<type> is recommended to be one of:

fix
feat
build
ci
docs
style
refactor
perf
test

<scope> is recommended to be a module, file, or folder name as appropiate.

For a nice summary of types and what they mean, please see Understanding Semantic Commit Messages Using Git and Angular.

Examples

All of the examples below are acceptable commit message formats:

The simplest message:

style: isn't it neat

Defining scope:

docs(gadgets): remember the gizmos

Signalling a breaking change

breaking feat: add the whozits

Defining scope, including a space:

fix (whatsits): repair the thingamabobs

Multiple lines:

test: How many have I got?

I've got twenty
But who cares?

I want more

For more examples, please see whathappened's own commits.

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

whathappened-0.2.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

whathappened-0.2.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file whathappened-0.2.0.tar.gz.

File metadata

  • Download URL: whathappened-0.2.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for whathappened-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7deaaddcfc35becbb1ce0215b541b91cbfefa2fb16c98b09fee2838228784d1e
MD5 3c628fe4a439c412fb9fc86be5cb741a
BLAKE2b-256 3c2a03f7e68b166184f02ee2527f6c68924ee0fb4210f1dddab329eda37ec719

See more details on using hashes here.

File details

Details for the file whathappened-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: whathappened-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for whathappened-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d83a4dfacc9ceffb48678ba7e8b68b24b706b850e3709d4d4bc78462821477f5
MD5 3ad3e4d340b71ba0189c4bfeb469561b
BLAKE2b-256 f7c1d4ec047ac2be78fcd83d45a6645075cef7924a143f030813cc5f5f5b4476

See more details on using hashes here.

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