Skip to content

Releases: MichaelSims/gerrit-slack-bot

Properly format change URL when patch set number is missing

02 Feb 22:52
Compare
Choose a tag to compare

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

01 Feb 18:29
Compare
Choose a tag to compare

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)

22 Jan 15:43
Compare
Choose a tag to compare
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

22 Jan 01:36
Compare
Choose a tag to compare

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

07 Nov 15:20
Compare
Choose a tag to compare
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

28 Sep 21:59
Compare
Choose a tag to compare
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

28 Sep 17:13
Compare
Choose a tag to compare
2.0.1

2.0.1: changeKind should match patch set created events only

Change matcher enhancements

28 Sep 16:05
Compare
Choose a tag to compare

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

27 Sep 16:47
Compare
Choose a tag to compare
1.1.0

1.1.0: Support JVMs >= 1.6

Initial release

26 Sep 16:32
Compare
Choose a tag to compare
1.0

Initial revision