Releases: MichaelSims/gerrit-slack-bot
Releases · MichaelSims/gerrit-slack-bot
Properly format change URL when patch set number is missing
If the patch set number was missing, the text "null" was appearing in
the URL rather than "" as was intended. This change addresses that and
also drops the trailing "/" if patch set is missing (which should be
considered equivalent by Gerrit)
Introduce regular expression matching for project & branch, unify matching logic
Project and branch patterns are now interpreted as regular expressions, exactly as commit subjects already were. (Thanks to Dawid Jarosz ([email protected]) for the pull request.)
NOTE: This potentially breaks backwards compatibility for existing configuration files so please check your configs.
Fix HTML entity escaping for Slack messages (closes #11)
Slack only requires three HTML entities to be escaped, "&", "<", and ">". See https://api.slack.com/docs/message-formatting#how_to_escape_characters
Gerrit URL and SSH ports are configurable, plus other minor changes and bug fixes
Changes:
- Added ability to override gerrit URL formatting and specify base URL (Dawid Jarosz [email protected])
- Added ability to specify SSH port for gerrit stream (Dawid Jarosz [email protected])
- Slack username is an optional config parameter now (Dawid Jarosz [email protected])
- Slack notification properly handles Verified=0 approval (Dawid Jarosz [email protected])
- Slack notification for a singular merged change now uses correct grammar ("change was merged" instead of "change were merged")
New comments and merged changes grouped by change owner
2.2.0 2.2.0: Group new comments and merged changes by change owner (closes …
New feature to include emoji in merged change notifications
2.1.0: New feature to include emoji in merged change notifications Also get YamlTests working again
changeKind should match patch set created events only
2.0.1 2.0.1: changeKind should match patch set created events only
Change matcher enhancements
Add support for:
- Matching on comment added events that are verifications only
- Matching on change kind (i.e. excluding non-REWORK patch sets)
Support JVMs >= 1.6
1.1.0 1.1.0: Support JVMs >= 1.6
Initial release
1.0 Initial revision