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:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tacitus_notes-0.3.tar.gz.
File metadata
- Download URL: tacitus_notes-0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db2641e99dabdf6dd413a30f37a7acd470dbe29315bca480ff0b8f11f3da36c0
|
|
| MD5 |
824687fe47fcfccd4c9318780c08b890
|
|
| BLAKE2b-256 |
cbb6df7eb4a20c2a6e23317f01846456c8affdb21fdf190424ea1fa36976b604
|
File details
Details for the file tacitus_notes-0.3-py3-none-any.whl.
File metadata
- Download URL: tacitus_notes-0.3-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff0b9f42957c190c37c276c527fffd9fcb80652b9b9544814b0b71b6630404a1
|
|
| MD5 |
f2606da17e2f5f1af1dc585111dbd677
|
|
| BLAKE2b-256 |
1afbce74da9dc9a51337031cbad0f3439506b1cba8c1d9de5e63b58c7ef299cd
|