{"action":"created","comment":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/comments/36307113","id":36307113,"diff_hunk":"@@ -0,0 +1,28 @@\n+\"\"\"\n+This module allow us to interact with the various scheduling systems\n+in a very generic manner.\n+\n+Defined in here:\n+    * BaseSchedulingClient\n+    * TaskclusterSchedulingClient\n+\"\"\"","path":"mozci/scheduling.py","position":8,"original_position":8,"commit_id":"4b10b1c8495ac5ff0d79e9a1458cc6d73f2b9cdf","original_commit_id":"315d8a3bb70d6315dcfa86b5fb12b5dba7549779","user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"body":"Right now, I only want to add the minimal parts for TC rather than also add the pieces for BuildAPI to make this PR more focused.\r\n\r\nI can state it as such.\r\n\r\nI'm hoping that in the long term we would write a BuildapiSchedulingClient which would use the buildapi client (mozci/sources/buildapi.py)","created_at":"2015-08-05T14:26:16Z","updated_at":"2015-08-05T14:26:16Z","html_url":"https://github.com/armenzg/mozilla_ci_tools/pull/308#discussion_r36307113","pull_request_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308","_links":{"self":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/comments/36307113"},"html":{"href":"https://github.com/armenzg/mozilla_ci_tools/pull/308#discussion_r36307113"},"pull_request":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308"}}},"pull_request":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308","id":41381308,"html_url":"https://github.com/armenzg/mozilla_ci_tools/pull/308","diff_url":"https://github.com/armenzg/mozilla_ci_tools/pull/308.diff","patch_url":"https://github.com/armenzg/mozilla_ci_tools/pull/308.patch","issue_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/308","number":308,"state":"open","locked":false,"title":"Bug 1149738 - Add the ability to retrigger TaskCluster tasks","user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"body":"This code requires setting up a couple of env variables that are the credentials for a client in TaskCluster\r\nThis also solves a logging issue where we would only see the logging of modules named 'mozci'\r\n\r\nr? @chmanchester ","created_at":"2015-07-31T21:10:35Z","updated_at":"2015-08-05T14:26:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a724d5ba3b3da4a460cd0aceee96493d9cff3687","assignee":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/milestones/5","html_url":"https://github.com/armenzg/mozilla_ci_tools/milestones/TaskCluster%20support","labels_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/milestones/5/labels","id":1019332,"number":5,"title":"TaskCluster support","description":"All of mozci has been written and tested against the Buildbot CI.\r\n\r\nWe also need to support TaskCluster.","creator":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2015-03-12T20:13:51Z","updated_at":"2015-07-31T21:10:36Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308/commits","review_comments_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308/comments","review_comment_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/308/comments","statuses_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/statuses/4b10b1c8495ac5ff0d79e9a1458cc6d73f2b9cdf","head":{"label":"armenzg:taskcluster_retrigger","ref":"taskcluster_retrigger","sha":"4b10b1c8495ac5ff0d79e9a1458cc6d73f2b9cdf","user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"repo":{"id":25268704,"name":"mozilla_ci_tools","full_name":"armenzg/mozilla_ci_tools","owner":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/armenzg/mozilla_ci_tools","description":"This repositories contains a collection of tools that allows to interact with Mozilla's continuos integration.","fork":false,"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools","forks_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/forks","keys_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/teams","hooks_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/hooks","issue_events_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/events{/number}","events_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/events","assignees_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/assignees{/user}","branches_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/branches{/branch}","tags_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/tags","blobs_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/languages","stargazers_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/stargazers","contributors_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/contributors","subscribers_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/subscribers","subscription_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/subscription","commits_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/contents/{+path}","compare_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/merges","archive_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/downloads","issues_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues{/number}","pulls_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/labels{/name}","releases_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/releases{/id}","created_at":"2014-10-15T18:53:14Z","updated_at":"2015-07-23T20:51:52Z","pushed_at":"2015-08-05T14:22:12Z","git_url":"git://github.com/armenzg/mozilla_ci_tools.git","ssh_url":"git@github.com:armenzg/mozilla_ci_tools.git","clone_url":"https://github.com/armenzg/mozilla_ci_tools.git","svn_url":"https://github.com/armenzg/mozilla_ci_tools","homepage":null,"size":2031,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":40,"forks":13,"open_issues":40,"watchers":7,"default_branch":"master"}},"base":{"label":"armenzg:master","ref":"master","sha":"f25fbd6632322a6f0e580aea7c0806549080f757","user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"repo":{"id":25268704,"name":"mozilla_ci_tools","full_name":"armenzg/mozilla_ci_tools","owner":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/armenzg/mozilla_ci_tools","description":"This repositories contains a collection of tools that allows to interact with Mozilla's continuos integration.","fork":false,"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools","forks_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/forks","keys_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/teams","hooks_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/hooks","issue_events_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/events{/number}","events_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/events","assignees_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/assignees{/user}","branches_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/branches{/branch}","tags_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/tags","blobs_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/languages","stargazers_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/stargazers","contributors_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/contributors","subscribers_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/subscribers","subscription_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/subscription","commits_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/contents/{+path}","compare_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/merges","archive_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/downloads","issues_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues{/number}","pulls_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/labels{/name}","releases_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/releases{/id}","created_at":"2014-10-15T18:53:14Z","updated_at":"2015-07-23T20:51:52Z","pushed_at":"2015-08-05T14:22:12Z","git_url":"git://github.com/armenzg/mozilla_ci_tools.git","ssh_url":"git@github.com:armenzg/mozilla_ci_tools.git","clone_url":"https://github.com/armenzg/mozilla_ci_tools.git","svn_url":"https://github.com/armenzg/mozilla_ci_tools","homepage":null,"size":2031,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":40,"forks":13,"open_issues":40,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308"},"html":{"href":"https://github.com/armenzg/mozilla_ci_tools/pull/308"},"issue":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/308"},"comments":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/308/comments"},"review_comments":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308/comments"},"review_comment":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/308/commits"},"statuses":{"href":"https://api.github.com/repos/armenzg/mozilla_ci_tools/statuses/4b10b1c8495ac5ff0d79e9a1458cc6d73f2b9cdf"}}}}