Crates.io | git-glance |
lib.rs | git-glance |
version | 0.1.0 |
source | src |
created_at | 2024-07-06 12:56:56.43973 |
updated_at | 2024-07-06 12:56:56.43973 |
description | AI assisted GitHub PR-based Git changelog generator |
homepage | https://github.com/schacon/git-glance |
repository | https://github.com/schacon/git-glance |
max_upload_size | |
id | 1294023 |
size | 49,495 |
This is a very simple Git changelog generator.
It does not rely on any specific style of commit messages (such as "conventional commits") and assumes that you're using GitHub pull requests as the main path to feature integration.
It figures out what the commit range is you are trying to generate a changelog for, then gathers all the associated pull request data, then generates tagged summaries via OpenAI.
Once all that data is gathered, it will output a markdown based changelog with links to relevant PRs.
In order to get the PR data, it assumes that you have gh
cli tool setup and that we can execute it.
It also uses OpenAI to help with classification and summarization. You will need an OpenAI key or it will bail.
$ git config --global --add glance.openai.key sk_blahblahblah
This is horrible, horrible software and it will probably break. I'm not great at Rust and I've done little testing. It works for me, but if you're looking for solid code, this isn't a great place to look. Have fun. :)