From ba041bc942056d52804acd5011ae5fe7877be045 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 26 Mar 2019 09:27:36 +0100 Subject: Initial version of the JIRA-Gerrit bot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This bot listens to Gerrit ssh events and closes JIRA issues when the commit message contains a Fixes: QTBUG-### line. Change-Id: I6d68b69e624143e2aae84ad0b172583d3855703d Reviewed-by: Jędrzej Nowacki --- scripts/jira/jira-bug-closer/gerrit/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/jira/jira-bug-closer/gerrit/__init__.py (limited to 'scripts/jira/jira-bug-closer/gerrit/__init__.py') diff --git a/scripts/jira/jira-bug-closer/gerrit/__init__.py b/scripts/jira/jira-bug-closer/gerrit/__init__.py new file mode 100644 index 00000000..8c6b22f3 --- /dev/null +++ b/scripts/jira/jira-bug-closer/gerrit/__init__.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +__all__ = [ + "GerritStreamEvents", + "GerritStreamParser", + "GerritEvent", +] + +from .streamevents import GerritStreamEvents +from .streamparser import GerritStreamParser, GerritEvent -- cgit v1.2.3