{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/mozdownload/pulls/comments/24417902","id":24417902,"diff_hunk":"@@ -0,0 +1,56 @@\n+#!/usr/bin/env python\n+\n+# This Source Code Form is subject to the terms of the Mozilla Public\n+# License, v. 2.0. If a copy of the MPL was not distributed with this file,\n+# You can obtain one at http://mozilla.org/MPL/2.0/.\n+\n+import os\n+import unittest\n+import urllib\n+\n+from mozdownload import TryScraper\n+from mozdownload.utils import urljoin\n+import mozhttpd_base_test as mhttpd\n+\n+firefox_tests = [\n+    # -p mac64 --changeset=8fcac92cfcad","path":"tests/try_scraper/test_try_scraper.py","position":16,"original_position":16,"commit_id":"19bf378e79d6e90bc5ccaa8be4236d3ecd6e260a","original_commit_id":"19bf378e79d6e90bc5ccaa8be4236d3ecd6e260a","user":{"login":"whimboo","id":129603,"avatar_url":"https://avatars.githubusercontent.com/u/129603?v=3","gravatar_id":"","url":"https://api.github.com/users/whimboo","html_url":"https://github.com/whimboo","followers_url":"https://api.github.com/users/whimboo/followers","following_url":"https://api.github.com/users/whimboo/following{/other_user}","gists_url":"https://api.github.com/users/whimboo/gists{/gist_id}","starred_url":"https://api.github.com/users/whimboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whimboo/subscriptions","organizations_url":"https://api.github.com/users/whimboo/orgs","repos_url":"https://api.github.com/users/whimboo/repos","events_url":"https://api.github.com/users/whimboo/events{/privacy}","received_events_url":"https://api.github.com/users/whimboo/received_events","type":"User","site_admin":false},"body":"You also want to test `mac` as platform.","created_at":"2015-02-10T15:06:52Z","updated_at":"2015-02-10T15:06:52Z","html_url":"https://github.com/mozilla/mozdownload/pull/240#discussion_r24417902","pull_request_url":"https://api.github.com/repos/mozilla/mozdownload/pulls/240","_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozdownload/pulls/comments/24417902"},"html":{"href":"https://github.com/mozilla/mozdownload/pull/240#discussion_r24417902"},"pull_request":{"href":"https://api.github.com/repos/mozilla/mozdownload/pulls/240"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/mozdownload/pulls/240","id":28247916,"html_url":"https://github.com/mozilla/mozdownload/pull/240","diff_url":"https://github.com/mozilla/mozdownload/pull/240.diff","patch_url":"https://github.com/mozilla/mozdownload/pull/240.patch","issue_url":"https://api.github.com/repos/mozilla/mozdownload/issues/240","number":240,"state":"open","locked":false,"title":"Firefox try support","user":{"login":"EricRahm","id":426919,"avatar_url":"https://avatars.githubusercontent.com/u/426919?v=3","gravatar_id":"","url":"https://api.github.com/users/EricRahm","html_url":"https://github.com/EricRahm","followers_url":"https://api.github.com/users/EricRahm/followers","following_url":"https://api.github.com/users/EricRahm/following{/other_user}","gists_url":"https://api.github.com/users/EricRahm/gists{/gist_id}","starred_url":"https://api.github.com/users/EricRahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricRahm/subscriptions","organizations_url":"https://api.github.com/users/EricRahm/orgs","repos_url":"https://api.github.com/users/EricRahm/repos","events_url":"https://api.github.com/users/EricRahm/events{/privacy}","received_events_url":"https://api.github.com/users/EricRahm/received_events","type":"User","site_admin":false},"body":"Adds support for downloading Firefox try builds. The implementation and tests are primarily based on TinderboxScraper. \r\n\r\nExample usage: |mozdownload -t try --changeset=635d76cdfe1e|\r\n\r\nThis fixes issue #239 ","created_at":"2015-01-29T02:00:56Z","updated_at":"2015-02-10T15:06:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e08222b03e1d08558e7298584ce99564895883d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mozdownload/pulls/240/commits","review_comments_url":"https://api.github.com/repos/mozilla/mozdownload/pulls/240/comments","review_comment_url":"https://api.github.com/repos/mozilla/mozdownload/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/mozdownload/issues/240/comments","statuses_url":"https://api.github.com/repos/mozilla/mozdownload/statuses/19bf378e79d6e90bc5ccaa8be4236d3ecd6e260a","head":{"label":"EricRahm:try_support","ref":"try_support","sha":"19bf378e79d6e90bc5ccaa8be4236d3ecd6e260a","user":{"login":"EricRahm","id":426919,"avatar_url":"https://avatars.githubusercontent.com/u/426919?v=3","gravatar_id":"","url":"https://api.github.com/users/EricRahm","html_url":"https://github.com/EricRahm","followers_url":"https://api.github.com/users/EricRahm/followers","following_url":"https://api.github.com/users/EricRahm/following{/other_user}","gists_url":"https://api.github.com/users/EricRahm/gists{/gist_id}","starred_url":"https://api.github.com/users/EricRahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricRahm/subscriptions","organizations_url":"https://api.github.com/users/EricRahm/orgs","repos_url":"https://api.github.com/users/EricRahm/repos","events_url":"https://api.github.com/users/EricRahm/events{/privacy}","received_events_url":"https://api.github.com/users/EricRahm/received_events","type":"User","site_admin":false},"repo":{"id":29991364,"name":"mozdownload","full_name":"EricRahm/mozdownload","owner":{"login":"EricRahm","id":426919,"avatar_url":"https://avatars.githubusercontent.com/u/426919?v=3","gravatar_id":"","url":"https://api.github.com/users/EricRahm","html_url":"https://github.com/EricRahm","followers_url":"https://api.github.com/users/EricRahm/followers","following_url":"https://api.github.com/users/EricRahm/following{/other_user}","gists_url":"https://api.github.com/users/EricRahm/gists{/gist_id}","starred_url":"https://api.github.com/users/EricRahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricRahm/subscriptions","organizations_url":"https://api.github.com/users/EricRahm/orgs","repos_url":"https://api.github.com/users/EricRahm/repos","events_url":"https://api.github.com/users/EricRahm/events{/privacy}","received_events_url":"https://api.github.com/users/EricRahm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EricRahm/mozdownload","description":"Easy to use download tool and API for different types of Firefox and Thunderbird builds","fork":true,"url":"https://api.github.com/repos/EricRahm/mozdownload","forks_url":"https://api.github.com/repos/EricRahm/mozdownload/forks","keys_url":"https://api.github.com/repos/EricRahm/mozdownload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EricRahm/mozdownload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EricRahm/mozdownload/teams","hooks_url":"https://api.github.com/repos/EricRahm/mozdownload/hooks","issue_events_url":"https://api.github.com/repos/EricRahm/mozdownload/issues/events{/number}","events_url":"https://api.github.com/repos/EricRahm/mozdownload/events","assignees_url":"https://api.github.com/repos/EricRahm/mozdownload/assignees{/user}","branches_url":"https://api.github.com/repos/EricRahm/mozdownload/branches{/branch}","tags_url":"https://api.github.com/repos/EricRahm/mozdownload/tags","blobs_url":"https://api.github.com/repos/EricRahm/mozdownload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EricRahm/mozdownload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EricRahm/mozdownload/git/refs{/sha}","trees_url":"https://api.github.com/repos/EricRahm/mozdownload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EricRahm/mozdownload/statuses/{sha}","languages_url":"https://api.github.com/repos/EricRahm/mozdownload/languages","stargazers_url":"https://api.github.com/repos/EricRahm/mozdownload/stargazers","contributors_url":"https://api.github.com/repos/EricRahm/mozdownload/contributors","subscribers_url":"https://api.github.com/repos/EricRahm/mozdownload/subscribers","subscription_url":"https://api.github.com/repos/EricRahm/mozdownload/subscription","commits_url":"https://api.github.com/repos/EricRahm/mozdownload/commits{/sha}","git_commits_url":"https://api.github.com/repos/EricRahm/mozdownload/git/commits{/sha}","comments_url":"https://api.github.com/repos/EricRahm/mozdownload/comments{/number}","issue_comment_url":"https://api.github.com/repos/EricRahm/mozdownload/issues/comments/{number}","contents_url":"https://api.github.com/repos/EricRahm/mozdownload/contents/{+path}","compare_url":"https://api.github.com/repos/EricRahm/mozdownload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EricRahm/mozdownload/merges","archive_url":"https://api.github.com/repos/EricRahm/mozdownload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EricRahm/mozdownload/downloads","issues_url":"https://api.github.com/repos/EricRahm/mozdownload/issues{/number}","pulls_url":"https://api.github.com/repos/EricRahm/mozdownload/pulls{/number}","milestones_url":"https://api.github.com/repos/EricRahm/mozdownload/milestones{/number}","notifications_url":"https://api.github.com/repos/EricRahm/mozdownload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EricRahm/mozdownload/labels{/name}","releases_url":"https://api.github.com/repos/EricRahm/mozdownload/releases{/id}","created_at":"2015-01-28T22:21:24Z","updated_at":"2015-01-28T22:21:25Z","pushed_at":"2015-02-01T20:53:24Z","git_url":"git://github.com/EricRahm/mozdownload.git","ssh_url":"git@github.com:EricRahm/mozdownload.git","clone_url":"https://github.com/EricRahm/mozdownload.git","svn_url":"https://github.com/EricRahm/mozdownload","homepage":"http://pypi.python.org/pypi/mozdownload","size":266,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"e102ac515b7de55ad165ae7833f25fca7d8722e9","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":4421513,"name":"mozdownload","full_name":"mozilla/mozdownload","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/mozdownload","description":"Easy to use download tool and API for different types of Firefox and Thunderbird builds","fork":false,"url":"https://api.github.com/repos/mozilla/mozdownload","forks_url":"https://api.github.com/repos/mozilla/mozdownload/forks","keys_url":"https://api.github.com/repos/mozilla/mozdownload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mozdownload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mozdownload/teams","hooks_url":"https://api.github.com/repos/mozilla/mozdownload/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mozdownload/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mozdownload/events","assignees_url":"https://api.github.com/repos/mozilla/mozdownload/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mozdownload/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mozdownload/tags","blobs_url":"https://api.github.com/repos/mozilla/mozdownload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mozdownload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mozdownload/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mozdownload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mozdownload/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mozdownload/languages","stargazers_url":"https://api.github.com/repos/mozilla/mozdownload/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mozdownload/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mozdownload/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mozdownload/subscription","commits_url":"https://api.github.com/repos/mozilla/mozdownload/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mozdownload/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mozdownload/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mozdownload/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/mozdownload/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mozdownload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mozdownload/merges","archive_url":"https://api.github.com/repos/mozilla/mozdownload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mozdownload/downloads","issues_url":"https://api.github.com/repos/mozilla/mozdownload/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mozdownload/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mozdownload/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mozdownload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mozdownload/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mozdownload/releases{/id}","created_at":"2012-05-23T15:06:09Z","updated_at":"2015-02-10T11:27:35Z","pushed_at":"2015-02-10T11:27:34Z","git_url":"git://github.com/mozilla/mozdownload.git","ssh_url":"git@github.com:mozilla/mozdownload.git","clone_url":"https://github.com/mozilla/mozdownload.git","svn_url":"https://github.com/mozilla/mozdownload","homepage":"http://pypi.python.org/pypi/mozdownload","size":23488,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":52,"forks":23,"open_issues":52,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozdownload/pulls/240"},"html":{"href":"https://github.com/mozilla/mozdownload/pull/240"},"issue":{"href":"https://api.github.com/repos/mozilla/mozdownload/issues/240"},"comments":{"href":"https://api.github.com/repos/mozilla/mozdownload/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mozdownload/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mozdownload/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mozdownload/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mozdownload/statuses/19bf378e79d6e90bc5ccaa8be4236d3ecd6e260a"}}}}