2
0
Fork 0
forked from zynk/zynk

Full mode for !gitlog/!changelog, optional pull for !rebuild. (0.38.2)

- Added optional full keyword to !gitlog and !changelog for showing
  full commit messages and changelog entries instead of just headers.
- !gitlog full uses git log (without --oneline) and strips leading
  indentation from commit blocks, collapses multiple spaces.
- !changelog full collects full entry text with bullet points and
  shows the newest entries (first N in file, not last N).
- Added optional pull argument to !rebuild: !rebuild pull runs git
  pull before make clean/make, plain !rebuild only rebuilds.
- Added collapse_spaces() call in !gitlog oneline path to remove
  double spaces in compact output.
- Changed default GITLOG_COUNT and CHANGELOG_COUNT from 5 to 1.
- Reduced GITLOG_MAX from 10 to 5.
- Updated !help text to document [full] and [pull] options.
- Updated README.md with full option for !gitlog/!changelog and
  pull option for !rebuild.
- Added CHANGELOG.md entry for v0.38.2.
This commit is contained in:
Johannes Findeisen 2026-07-21 14:08:53 +02:00
commit 52b1627d69
3 changed files with 189 additions and 73 deletions

View file

@ -1,3 +1,14 @@
2026.07.21 – Full mode for !gitlog/!changelog, optional pull for !rebuild. (0.38.2)
- Added optional `full` keyword to `!gitlog` and `!changelog`: `!gitlog 5 full` shows full commit messages (author, date, body), `!changelog 5 full` shows the complete entry text including bullet points.
- `!gitlog` full mode collapses multiple spaces and strips leading whitespace from each commit block for cleaner IRC output.
- Changed `!rebuild` to skip `git pull` by default; pass `pull` to pull before rebuilding (e.g. `!rebuild pull`).
- Changed the default count `GITLOG_COUNT` for `!gitlog` from 5 to 1 and `CHANGELOG_COUNT` for `!changelog` from 5 to 1.
- Reduced `GITLOG_MAX` from 10 to 5.
- Updated `!help` text to reflect new `[full]` and `[pull]` arguments.
- Updated README.md with `full` option for `!gitlog`/`!changelog` and `pull` option for `!rebuild`.
- Version bumped to 0.38.2.
2026.07.21 – Exempt ops from rate limiting. (0.38.1)
- Op users in channels are now exempt from rate limiting: `rate_limit_check()` calls `chan_is_op()` and allows ops through immediately.