Skip to content

Commit

Permalink
Automatically generate changelog entries from the CLI (#15)
Browse files Browse the repository at this point in the history
* Make changelog rendering configurable

Signed-off-by: Thane Thomson <[email protected]>

* Add support for optional project URL to config

Signed-off-by: Thane Thomson <[email protected]>

* Enable (somewhat elegant) writing of config to file

Signed-off-by: Thane Thomson <[email protected]>

* Use constants for default param values

Signed-off-by: Thane Thomson <[email protected]>

* Add --quiet flag

Signed-off-by: Thane Thomson <[email protected]>

* Refactor to facilitate automatic entry rendering and configuration

Signed-off-by: Thane Thomson <[email protected]>

* Add changelog entry

Signed-off-by: Thane Thomson <[email protected]>

* Do not overwrite epilogue file if it already exists

Signed-off-by: Thane Thomson <[email protected]>

* Increase log level to info

Signed-off-by: Thane Thomson <[email protected]>

* Add support for automatically wrapping and indenting changelog entries added directly from the CLI

Signed-off-by: Thane Thomson <[email protected]>

* Regenerate changelog entry with automatic wrapping

Signed-off-by: Thane Thomson <[email protected]>

* Update Cargo.lock dependencies

Signed-off-by: Thane Thomson <[email protected]>

* Fix CLI parameter naming

Signed-off-by: Thane Thomson <[email protected]>

* Add test for pull requests

Signed-off-by: Thane Thomson <[email protected]>

* Make entry automatic generation respect configured bullet style

Signed-off-by: Thane Thomson <[email protected]>

* Add ability to automatically generate config.toml file with GitHub project details

Signed-off-by: Thane Thomson <[email protected]>

* Allow for automatic config.toml generation during init

Signed-off-by: Thane Thomson <[email protected]>

* Update README to reflect latest changes

Signed-off-by: Thane Thomson <[email protected]>

* Make configuration its own section

Signed-off-by: Thane Thomson <[email protected]>

* Remove all notions of projects and rather let config determine components

Signed-off-by: Thane Thomson <[email protected]>

* Remove all notions of projects and rather let config determine components

Signed-off-by: Thane Thomson <[email protected]>

* Update README for component-related changes

Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson authored Sep 12, 2021
1 parent d6cdffe commit ab19fce
Show file tree
Hide file tree
Showing 24 changed files with 1,697 additions and 464 deletions.
3 changes: 3 additions & 0 deletions .changelog/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# The configuration file for unclog's changelog

project_url = "https://github.com/informalsystems/unclog"
3 changes: 3 additions & 0 deletions .changelog/unreleased/breaking-changes/13-entry-autogen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Unreleased entries can now automatically be added to changelogs from the CLI.
This necessarily introduces configuration to be able to specify the project's
GitHub URL ([#13](https://github.com/informalsystems/unclog/issues/13))
Loading

0 comments on commit ab19fce

Please sign in to comment.