Skip to main content

Generate release notes from git history, using markdown syntax.

Project description

tacitus-notes

Publius Cornelius Tacitus was a Roman historian and politician. And quite recently, he started writing notes on our git repositories.

the dream

Walk through git log, up to last tag or target commit, and collect each commit message in a markdown format:

  • prettify it,
  • replace ticket numbers with urls
  • print on console

shellscript version

git describe --tags --abbrev=0
git log $(git describe --tags --abbrev=0)..HEAD --oneline

python version

First, install the tiny script:

$ pip install tacitus-notes

Then, run this command in your project directory and see what happens:

$ tacitus-notes

You can use --first and --last arguments to define ranges

$ tacitus-notes --first=<commit_hash> --last=<commit_hash>

BSD 2-Clause License

Copyright (c) 2021, Florin Ciurcanu All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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

tacitus_notes-0.3.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tacitus_notes-0.3.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file tacitus_notes-0.3.1.tar.gz.

File metadata

  • Download URL: tacitus_notes-0.3.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for tacitus_notes-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f953d5ac4a9a9b7d78c7c37329fbf37a1559801cd71dd8f86902f5246868cfd8
MD5 a4ee1cefb6c171764c36d107eefa01ae
BLAKE2b-256 ee8210640337d405d05c05414ac632e8697c0c3f8af1b3dd2b4d4a73031533cd

See more details on using hashes here.

File details

Details for the file tacitus_notes-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: tacitus_notes-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for tacitus_notes-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3315cdaf12be5dd58f3324302eaac534ead2e45232603b9057038def9d41b054
MD5 1a6e695842db718c9b60ab0594357616
BLAKE2b-256 935d4ccbd6111471f1b164b321b79e208892086c9dd505f3c83b0b8a35615bd5

See more details on using hashes here.

Supported by

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