{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/comments/50420345","id":50420345,"diff_hunk":"@@ -109,6 +110,18 @@ def trigger_missing_jobs_for_revision(self, repo_name, revision, dry_run=False,\n                 trigger_build_if_missing=trigger_build_if_missing\n             )\n \n+    def trigger_range(self, buildername, repo_name, revisions, times, dry_run, files,\n+                      trigger_build_if_missing):\n+        trigger_range(","path":"mozci/ci_manager.py","position":14,"original_position":14,"commit_id":"73f8330cc835c003120920a432aa558218a1f4b1","original_commit_id":"73f8330cc835c003120920a432aa558218a1f4b1","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":"Oh right. Instead of self.trigger_range()\r\nNevermind :)","created_at":"2016-01-21T16:04:11Z","updated_at":"2016-01-21T16:04:11Z","html_url":"https://github.com/mozilla/mozilla_ci_tools/pull/390#discussion_r50420345","pull_request_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390","_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/comments/50420345"},"html":{"href":"https://github.com/mozilla/mozilla_ci_tools/pull/390#discussion_r50420345"},"pull_request":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390","id":51624885,"html_url":"https://github.com/mozilla/mozilla_ci_tools/pull/390","diff_url":"https://github.com/mozilla/mozilla_ci_tools/pull/390.diff","patch_url":"https://github.com/mozilla/mozilla_ci_tools/pull/390.patch","issue_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/390","number":390,"state":"open","locked":false,"title":"Issue 384 - Make trigger.py to schedule jobs through TaskCluster instead of Buildapi","user":{"login":"MikeLing","id":2166227,"avatar_url":"https://avatars.githubusercontent.com/u/2166227?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeLing","html_url":"https://github.com/MikeLing","followers_url":"https://api.github.com/users/MikeLing/followers","following_url":"https://api.github.com/users/MikeLing/following{/other_user}","gists_url":"https://api.github.com/users/MikeLing/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeLing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeLing/subscriptions","organizations_url":"https://api.github.com/users/MikeLing/orgs","repos_url":"https://api.github.com/users/MikeLing/repos","events_url":"https://api.github.com/users/MikeLing/events{/privacy}","received_events_url":"https://api.github.com/users/MikeLing/received_events","type":"User","site_admin":false},"body":"It's PR for https://github.com/mozilla/mozilla_ci_tools/issues/384, But it's not good to go yet.\r\n\r\nThe ideal of this PR is:\r\n\r\n> get build_graph\r\n> if schedule_way == \"taskCluster\"(which is default):\r\n>    trigger_job(option.uuid)\r\n>else:\r\n>    use buildapi(just like we used before)","created_at":"2015-11-24T07:20:25Z","updated_at":"2016-01-21T16:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b30e6a83f0ff076627fea1b91bb81696e3c3bc5","assignee":{"login":"MikeLing","id":2166227,"avatar_url":"https://avatars.githubusercontent.com/u/2166227?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeLing","html_url":"https://github.com/MikeLing","followers_url":"https://api.github.com/users/MikeLing/followers","following_url":"https://api.github.com/users/MikeLing/following{/other_user}","gists_url":"https://api.github.com/users/MikeLing/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeLing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeLing/subscriptions","organizations_url":"https://api.github.com/users/MikeLing/orgs","repos_url":"https://api.github.com/users/MikeLing/repos","events_url":"https://api.github.com/users/MikeLing/events{/privacy}","received_events_url":"https://api.github.com/users/MikeLing/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390/commits","review_comments_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390/comments","review_comment_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/390/comments","statuses_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/statuses/73f8330cc835c003120920a432aa558218a1f4b1","head":{"label":"MikeLing:issuefix-384","ref":"issuefix-384","sha":"73f8330cc835c003120920a432aa558218a1f4b1","user":{"login":"MikeLing","id":2166227,"avatar_url":"https://avatars.githubusercontent.com/u/2166227?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeLing","html_url":"https://github.com/MikeLing","followers_url":"https://api.github.com/users/MikeLing/followers","following_url":"https://api.github.com/users/MikeLing/following{/other_user}","gists_url":"https://api.github.com/users/MikeLing/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeLing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeLing/subscriptions","organizations_url":"https://api.github.com/users/MikeLing/orgs","repos_url":"https://api.github.com/users/MikeLing/repos","events_url":"https://api.github.com/users/MikeLing/events{/privacy}","received_events_url":"https://api.github.com/users/MikeLing/received_events","type":"User","site_admin":false},"repo":{"id":45397710,"name":"mozilla_ci_tools","full_name":"MikeLing/mozilla_ci_tools","owner":{"login":"MikeLing","id":2166227,"avatar_url":"https://avatars.githubusercontent.com/u/2166227?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeLing","html_url":"https://github.com/MikeLing","followers_url":"https://api.github.com/users/MikeLing/followers","following_url":"https://api.github.com/users/MikeLing/following{/other_user}","gists_url":"https://api.github.com/users/MikeLing/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeLing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeLing/subscriptions","organizations_url":"https://api.github.com/users/MikeLing/orgs","repos_url":"https://api.github.com/users/MikeLing/repos","events_url":"https://api.github.com/users/MikeLing/events{/privacy}","received_events_url":"https://api.github.com/users/MikeLing/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikeLing/mozilla_ci_tools","description":"This repositories contains a collection of tools that allows to interact with Mozilla's continuos integration.","fork":true,"url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools","forks_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/forks","keys_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/teams","hooks_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/hooks","issue_events_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/issues/events{/number}","events_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/events","assignees_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/assignees{/user}","branches_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/branches{/branch}","tags_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/tags","blobs_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/languages","stargazers_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/stargazers","contributors_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/contributors","subscribers_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/subscribers","subscription_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/subscription","commits_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/contents/{+path}","compare_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/merges","archive_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/downloads","issues_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/issues{/number}","pulls_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/labels{/name}","releases_url":"https://api.github.com/repos/MikeLing/mozilla_ci_tools/releases{/id}","created_at":"2015-11-02T13:58:28Z","updated_at":"2016-01-12T12:49:46Z","pushed_at":"2016-01-21T07:28:11Z","git_url":"git://github.com/MikeLing/mozilla_ci_tools.git","ssh_url":"git@github.com:MikeLing/mozilla_ci_tools.git","clone_url":"https://github.com/MikeLing/mozilla_ci_tools.git","svn_url":"https://github.com/MikeLing/mozilla_ci_tools","homepage":null,"size":920,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"3c2fca75f4b8e1ea73c7570a831e8a70208f6cce","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":25268704,"name":"mozilla_ci_tools","full_name":"mozilla/mozilla_ci_tools","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/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/mozilla/mozilla_ci_tools","forks_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/forks","keys_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/teams","hooks_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/events","assignees_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/tags","blobs_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/languages","stargazers_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/subscription","commits_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/merges","archive_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/downloads","issues_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mozilla_ci_tools/releases{/id}","created_at":"2014-10-15T18:53:14Z","updated_at":"2016-01-11T20:08:54Z","pushed_at":"2016-01-21T07:21:00Z","git_url":"git://github.com/mozilla/mozilla_ci_tools.git","ssh_url":"git@github.com:mozilla/mozilla_ci_tools.git","clone_url":"https://github.com/mozilla/mozilla_ci_tools.git","svn_url":"https://github.com/mozilla/mozilla_ci_tools","homepage":null,"size":976,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":35,"forks":21,"open_issues":35,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390"},"html":{"href":"https://github.com/mozilla/mozilla_ci_tools/pull/390"},"issue":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/390"},"comments":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mozilla_ci_tools/statuses/73f8330cc835c003120920a432aa558218a1f4b1"}}}}