Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion patchset-created
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# Copyright (c) 2008-2011 Tobias Hieta <[email protected]>
# Copyright (c) 2014 Rossen Apostolov <[email protected]>
# Copyright (c) 2015 Thomas Löffler <[email protected]>
#

# This is a simple Gerrit hook for updating Redmine with information about what changes
Expand All @@ -15,7 +16,7 @@
# data. It can also change the status of the issue to indicate that this issue is now
# under gerrit review.
#
# Script is tested with Redmine 2.4.1 and Gerrit 2.6.1
# Script is tested with Redmine 2.6.1 and Gerrit 2.10.4

# set your API key here. You can find it under "My account" in Redmine, i.e. http://redmine.mydomain.com/my/account
REDMINE_API_KEY = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
Expand Down Expand Up @@ -58,6 +59,8 @@ if __name__ == '__main__':
parser.add_option('-a', '--patchset', dest='patchset')
parser.add_option('-d', '--is-draft', dest='isdraft')
parser.add_option('-t', '--topic', dest='topic')
parser.add_option('--kind', dest='kind')
parser.add_option('--change-owner', dest='change-owner')

(options, x) = parser.parse_args(sys.argv)

Expand Down