Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: dashboard/dashboard/services/gerrit_service.py

Issue 3019553002: [pinpoint] Gerrit patch support. (Closed)
Patch Set: Example URL Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Functions for interfacing with Gerrit, a web-based code review tool for Git.
6
7 API doc: https://gerrit-review.googlesource.com/Documentation/rest-api.html
8 """
9
10 from dashboard.services import request
11
12
13 def GetChange(server_url, change_id, fields=None):
14 url = '%s/changes/%s' % (server_url, change_id)
15 return request.RequestJson(url, o=fields)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698