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

Unified Diff: my_activity.py

Issue 1754433002: my_activity fetches issues from monorail (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: my_activity.py
diff --git a/my_activity.py b/my_activity.py
index cecc2fbb19b4a9676014b22bcf11dc5220f45c50..92763d1d719767e69bee33679926f7f704cf4357 100755
--- a/my_activity.py
+++ b/my_activity.py
@@ -102,21 +102,10 @@ gerrit_instances = [
google_code_projects = [
{
- 'name': 'brillo',
- 'shorturl': 'brbug.com',
- },
- {
'name': 'chromium',
'shorturl': 'crbug.com',
},
{
- 'name': 'chromium-os',
- 'shorturl': 'crosbug.com',
- },
- {
- 'name': 'chrome-os-partner',
- },
- {
'name': 'google-breakpad',
},
{
@@ -410,10 +399,10 @@ class MyActivity(object):
def project_hosting_issue_search(self, instance):
auth_config = auth.extract_auth_config_from_options(self.options)
authenticator = auth.get_authenticator_for_host(
- "code.google.com", auth_config)
+ "bugs.chromium.org", auth_config)
http = authenticator.authorize(httplib2.Http())
- url = "https://www.googleapis.com/projecthosting/v2/projects/%s/issues" % (
- instance["name"])
+ url = ("https://monorail-prod.appspot.com/_ah/api/monorail/v1/projects"
+ "/%s/issues") % instance["name"]
epoch = datetime.utcfromtimestamp(0)
user_str = '%s@chromium.org' % self.user
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698