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

Run this script in your project directory and see what happens.

python tacitus.py

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.1.tar.gz (4.5 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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tacitus_notes-0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tacitus_notes-0.1.tar.gz
Algorithm Hash digest
SHA256 bf65bd7f200af214242293b7a32e495201c563fb6c48dfaa59e7efcd192bed28
MD5 822d65b9b0d2066d025a3a1e0bc30fd9
BLAKE2b-256 99062bc63f3e9dcba71e449d81619437515bec9782f83330c3bf96ce0132a390

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tacitus_notes-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tacitus_notes-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee35050fe422ee484bfcf71e88219943eba8ce4776b23d5148f16a44a9704ce
MD5 3c1078c7b1c3aec6977f1de03ff78eb1
BLAKE2b-256 61e01daf3b833608d93194af94908d6e64d0a2725799f881031492d8e2111640

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