{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/amo-validator/pulls/comments/60127510","id":60127510,"diff_hunk":"@@ -230,308 +234,162 @@ def get_pattern(prefix, url_pattern, library):\n \n PROTOTYPE_VERSIONS = {\n     ALLOWED: [\n-        \"1.6.0.2\",\n-        \"1.6.0.3\",\n-        \"1.6.1.0\",\n-        \"1.7.0.0\",\n         \"1.7.1.0\",\n         \"1.7.2.0\",\n     ]\n }\n \n-SCRIPTACULOUS_VERSIONS = {\n-    ALLOWED: [\n-        \"1.8.1\",\n-        \"1.8.2\",\n-        \"1.8.3\",\n-        \"1.9.0\",\n-    ]\n-}\n-\n-SWFOBJECT_VERSIONS = {\n-    ALLOWED: [\n-        \"2.1\",\n-        \"2.2\",\n-    ]\n-}\n-\n UNDERSCORE_VERSIONS = {\n     ALLOWED: [\n-        \"1.8.3\",\n-        \"1.8.2\",\n-        \"1.8.1\",\n-        \"1.8.0\",\n-        \"1.7.0\",\n-        \"1.6.0\",\n-        \"1.5.2\",\n-        \"1.5.1\",\n-        \"1.5.0\",\n-        \"1.4.4\",\n-        \"1.4.3\",\n-        \"1.4.2\",\n-        \"1.4.1\",\n-        \"1.4.0\",\n-        \"1.3.3\",\n-        \"1.3.2\",\n-        \"1.3.1\",\n-        \"1.3.0\",\n-        \"1.2.4\",\n-        \"1.2.3\",\n-        \"1.2.2\",\n-        \"1.2.1\",\n-        \"1.2.0\",\n-        \"1.1.7\",\n-        \"1.1.6\",\n-        \"1.1.5\",\n-        \"1.1.4\",\n-        \"1.1.3\",\n-        \"1.1.2\",\n-        \"1.1.1\",\n-        \"1.1.0\",\n-        \"1.0.4\",\n-        \"1.0.3\",\n-        \"1.0.2\",\n-        \"1.0.1\",\n-        \"1.0.0\",\n-    ]\n-}\n-\n-YUI_VERSIONS = {\n-    ALLOWED: [\n-        \"2.6.0\",\n-        \"2.7.0\",\n-        \"2.8.0r4\",\n-        \"2.8.1\",\n-        \"2.8.2\",\n-        \"2.9.0\",\n-    ]\n-}\n-\n-YUI_NEW_VERSIONS = {\n-    ALLOWED: [\n-        \"3.3.0\",\n-        \"3.4.0\",\n-        \"3.4.1\",\n-        \"3.5.0\",\n-        \"3.5.1\",\n-        \"3.6.0\",\n-    ]\n-}\n-\n-# AngularJS (Google), no rc, no beta\n-ANGULARJS_VERSIONS = {\n-    WARNING: [\n-        \"1.0.1\",\n-        \"1.0.2\",\n-        \"1.0.3\",\n-        \"1.0.4\",\n-        \"1.0.5\",\n-        \"1.0.6\",\n-        \"1.0.7\",\n-        \"1.0.8\",\n-        \"1.1.0\",\n-        \"1.1.1\",\n-        \"1.1.2\",\n-        \"1.1.3\",\n         \"1.1.4\",\n         \"1.1.5\",\n+        \"1.1.7\",\n         \"1.2.0\",\n         \"1.2.1\",\n         \"1.2.2\",\n         \"1.2.3\",\n         \"1.2.4\",\n-        \"1.2.5\",\n-        \"1.2.6\",\n-        \"1.2.7\",\n-        \"1.2.8\",\n-        \"1.2.9\",\n-        \"1.2.10\",\n-        \"1.2.11\",\n-        \"1.2.12\",\n-        \"1.2.13\",\n-        \"1.2.14\",\n-        \"1.2.15\",\n-        \"1.2.16\",\n-        \"1.2.17\",\n-        \"1.2.18\",\n-        \"1.2.19\",\n-        \"1.2.20\",\n-        \"1.2.21\",\n-        \"1.2.22\",\n-        \"1.2.23\",\n-        \"1.2.24\",\n-        \"1.2.25\",\n-        \"1.2.26\",\n-        \"1.2.27\",\n-        \"1.2.28\",\n-        \"1.2.29\",\n         \"1.3.0\",\n         \"1.3.1\",\n         \"1.3.2\",\n         \"1.3.3\",\n-        \"1.3.4\",\n-        \"1.3.5\",\n-        \"1.3.6\",\n-        \"1.3.7\",\n-        \"1.3.8\",\n-        \"1.3.9\",\n-        \"1.3.10\",\n-        \"1.3.11\",\n-        \"1.3.12\",\n-        \"1.3.13\",\n-        \"1.3.14\",\n-        \"1.3.15\",\n-        \"1.3.16\",\n-        \"1.3.17\",\n-        \"1.3.18\",\n-        \"1.3.19\",\n-        \"1.3.20\",\n         \"1.4.0\",\n         \"1.4.1\",\n         \"1.4.2\",\n         \"1.4.3\",\n         \"1.4.4\",\n-        \"1.4.5\",\n-        \"1.4.6\",\n-        \"1.4.7\",\n-        \"1.4.8\",\n-        \"1.4.9\",\n         \"1.5.0\",\n         \"1.5.1\",\n         \"1.5.2\",\n-    ],\n-    ALLOWED: [\n-        \"1.5.3\",\n-    ],\n+        \"1.6.0\",\n+        \"1.7.0\",\n+        \"1.8.0\",\n+        \"1.8.1\",\n+        \"1.8.2\",\n+        \"1.8.3\",\n+    ]\n }\n \n \n-# AngularJS (Google)\n-get_pattern(\"angularjs\",\n-            \"https://ajax.googleapis.com/ajax/libs/angularjs/%s/angular.js\",\n-            ANGULARJS_VERSIONS)\n-get_pattern(\"angularjs\",\n-            \"https://ajax.googleapis.com/ajax/libs/angularjs/%s/angular.min.js\",\n-            ANGULARJS_VERSIONS)\n-\n-\n-# Backbone\n-get_pattern(\"backbone\",\n-            \"https://raw.githubusercontent.com/jashkenas/backbone/%s/backbone.js\",\n-            BACKBONE_VERSIONS)\n-get_pattern(\"backbone\",\n-            \"https://raw.githubusercontent.com/jashkenas/backbone/%s/backbone-min.js\",\n-            BACKBONE_VERSIONS)\n-\n-# Backbone.localStorage versions\n-get_pattern(\"backbone.localStorage\",\n-            \"https://raw.githubusercontent.com/jeromegn/Backbone.localStorage/v%s/backbone.localStorage.js\",\n-            BACKBONE_LOCALSTORAGE_VERSIONS)\n-get_pattern(\"backbone.localStorage\",\n-            \"https://raw.githubusercontent.com/jeromegn/Backbone.localStorage/v%s/backbone.localStorage-min.js\",\n-            BACKBONE_LOCALSTORAGE_VERSIONS)\n-\n-# Dojo Toolkit\n-get_pattern(\"dojo\",\n-            \"http://download.dojotoolkit.org/release-%s/dojo.js\",\n-            DOJO_VERSIONS)\n-get_pattern(\"dojo\",\n-            \"http://download.dojotoolkit.org/release-%s/dojo.js.uncompressed.js\",\n-            DOJO_VERSIONS)\n-\n-# EXT.js\n-get_pattern(\"ext-core\",\n-            \"https://ajax.googleapis.com/ajax/libs/ext-core/%s/ext-core.js\",\n-            EXT_VERSIONS)\n-get_pattern(\"ext-debug\",\n-            \"https://ajax.googleapis.com/ajax/libs/ext-core/%s/ext-core-debug.js\",\n-            EXT_VERSIONS)\n-\n-# jQuery\n-get_pattern(\"jquery\",\n-            \"http://code.jquery.com/jquery-%s.js\",\n-            JQUERY_VERSIONS)\n-get_pattern(\"jquery\",\n-            \"http://code.jquery.com/jquery-%s.min.js\",\n-            JQUERY_VERSIONS)\n-\n-# jQueryUI\n-get_pattern(\"jqueryui\",\n-            \"https://ajax.googleapis.com/ajax/libs/jqueryui/%s/jquery-ui.min.js\",\n-            JQUERYUI_VERSIONS)\n-get_pattern(\"jqueryui\",\n-            \"https://ajax.googleapis.com/ajax/libs/jqueryui/%s/jquery-ui.js\",\n-            JQUERYUI_VERSIONS)\n-\n-# moment.js\n-get_pattern(\"moment\",\n-            \"https://raw.githubusercontent.com/moment/moment/%s/moment.js\",\n-            MOMENTJS_VERSIONS)\n-get_pattern(\"moment\",\n-            \"https://raw.githubusercontent.com/moment/moment/%s/min/moment.min.js\",\n-            MOMENTJS_VERSIONS)\n-\n-\n-# MooTools\n-get_pattern(\"mootools\",\n-            \"https://ajax.googleapis.com/ajax/libs/mootools/%s/mootools-yui-compressed.js\",\n-            MOOTOOLS_VERSIONS)\n-get_pattern(\"mootools\",\n-            \"https://ajax.googleapis.com/ajax/libs/mootools/%s/mootools.js\",\n-            MOOTOOLS_VERSIONS)\n-\n-# Prototype.js\n-get_pattern(\"prototype\",\n-            \"https://ajax.googleapis.com/ajax/libs/prototype/%s/prototype.js\",\n-            PROTOTYPE_VERSIONS)\n-\n-# Scriptaculous\n-get_pattern(\"scriptaculous\",\n-            \"https://ajax.googleapis.com/ajax/libs/scriptaculous/%s/scriptaculous.js\",\n-            SCRIPTACULOUS_VERSIONS)\n-\n-# SWFObject\n-get_pattern(\"swfobject\",\n-            \"https://ajax.googleapis.com/ajax/libs/swfobject/%s/swfobject.js\",\n-            SWFOBJECT_VERSIONS)\n-get_pattern(\"swfobject\",\n-            \"https://ajax.googleapis.com/ajax/libs/swfobject/%s/swfobject_src.js\",\n-            SWFOBJECT_VERSIONS)\n-\n-# Underscore\n-get_pattern(\"underscore\",\n-            \"https://raw.github.com/documentcloud/underscore/%s/underscore.js\",\n-            UNDERSCORE_VERSIONS)\n-get_pattern(\"underscore\",\n-            \"https://raw.github.com/documentcloud/underscore/%s/underscore-min.js\",\n-            UNDERSCORE_VERSIONS)\n-\n-# Old-style YUI loader libraries:\n-get_pattern(\"yui\",\n-            \"http://yui.yahooapis.com/%s/build/yuiloader/yuiloader-min.js\",\n-            YUI_VERSIONS)\n-get_pattern(\"yui\",\n-            \"http://yui.yahooapis.com/%s/build/yuiloader/yuiloader.js\",\n-            YUI_VERSIONS)\n-\n-# New-style YUI libraries\n-get_pattern(\"yui\",\n-            \"http://yui.yahooapis.com/%s/build/yui-base/yui-base-min.js\",\n-            YUI_NEW_VERSIONS)\n-get_pattern(\"yui\",\n-            \"http://yui.yahooapis.com/%s/build/yui-base/yui-base.js\",\n-            YUI_NEW_VERSIONS)\n-\n-\n-CRYPTO_FILES = {\n-    ALLOWED: [\"aes\", \"cipher-core\", \"core\", \"enc-base64\", \"enc-utf16\",\n-                 \"evpkdf\", \"hmac\", \"md5\", \"mode-cfb\", \"mode-ctr\", \"mode-ecb\",\n-                 \"mode-ofb\", \"pad-ansix923\", \"pad-iso10126\", \"pad-iso97971\",\n-                 \"pad-nopadding\", \"pad-zeropadding\", \"pbkdf2\", \"rabbit\", \"rc4\",\n-                 \"sha1\", \"sha224\", \"sha256\", \"sha384\", \"sha512\", \"tripledes\",\n-                 \"x64-core\"]\n-}\n+def process(url, rule, file):\n+    dest_folder = os.path.join(os.path.abspath(os.path.dirname(__file__)),\n+                               sys.argv[1], rule)\n+\n+    if not os.path.exists(dest_folder):\n+        os.makedirs(dest_folder)\n+\n+    destination = os.path.join(dest_folder, file)\n+    if os.path.exists(destination):\n+        return\n+\n+    try:\n+        response = requests.get(url)\n+        response.raise_for_status()\n+        with open(destination, \"wb\") as code:\n+            code.write(response.content)\n+            print \"Downloaded: {}\".format(url)\n+    except requests.exceptions.HTTPError as e:\n+        global download_errors\n+        download_errors.append((response.url, response.status_code, response.reason))\n+\n+\n+def get_pattern(prefix, url_pattern, library):\n+    for rule, versions in library.iteritems():\n+        for version in versions:\n+            url = url_pattern % version\n+            process(url, rule, \"%s.%s.%s\" % (prefix, version, url.split(\"/\")[-1]))\n+\n \n-get_pattern(\n-    \"crypto_js\", \"http://crypto-js.googlecode.com/svn/tags/3.0.2/src/%s.js\",\n-    CRYPTO_FILES)\n+def get_patterns():\n+    # AngularJS\n+    get_pattern(\"angularjs\",\n+                \"https://code.angularjs.org/%s/angular.js\",\n+                ANGULARJS_VERSIONS)\n+    get_pattern(\"angularjs\",\n+                \"https://code.angularjs.org/%s/angular.min.js\",\n+                ANGULARJS_VERSIONS)\n+\n+    # Backbone\n+    get_pattern(\"backbone\",\n+                \"https://raw.githubusercontent.com/jashkenas/backbone/%s/backbone.js\",\n+                BACKBONE_VERSIONS)\n+    get_pattern(\"backbone\",\n+                \"https://raw.githubusercontent.com/jashkenas/backbone/%s/backbone-min.js\",\n+                BACKBONE_VERSIONS)\n+\n+    # Dojo Toolkit\n+    get_pattern(\"dojo\",\n+                \"https://download.dojotoolkit.org/release-%s/dojo.js\",\n+                DOJO_VERSIONS)\n+    get_pattern(\"dojo\",\n+                \"https://download.dojotoolkit.org/release-%s/dojo.js.uncompressed.js\",\n+                DOJO_VERSIONS)\n+\n+    # jQuery\n+    get_pattern(\"jquery\",\n+                \"https://code.jquery.com/jquery-%s.js\",\n+                JQUERY_VERSIONS)\n+    get_pattern(\"jquery\",\n+                \"https://code.jquery.com/jquery-%s.min.js\",\n+                JQUERY_VERSIONS)\n+\n+    # jQueryUI\n+    get_pattern(\"jqueryui\",\n+                \"https://code.jquery.com/ui/%s/jquery-ui.min.js\",\n+                JQUERYUI_VERSIONS)\n+    get_pattern(\"jqueryui\",\n+                \"https://code.jquery.com/ui/%s/jquery-ui.js\",\n+                JQUERYUI_VERSIONS)\n+\n+    # moment.js\n+    get_pattern(\"moment\",\n+                \"https://raw.githubusercontent.com/moment/moment/%s/moment.js\",\n+                MOMENTJS_VERSIONS)\n+    get_pattern(\"moment\",\n+                \"https://raw.githubusercontent.com/moment/moment/%s/min/moment.min.js\",\n+                MOMENTJS_VERSIONS)\n+\n+    # MooTools\n+    get_pattern(\"mootools\",\n+                \"https://ajax.googleapis.com/ajax/libs/mootools/%s/mootools-yui-compressed.js\",\n+                MOOTOOLS_VERSIONS)\n+    get_pattern(\"mootools\",\n+                \"https://ajax.googleapis.com/ajax/libs/mootools/%s/mootools.js\",\n+                MOOTOOLS_VERSIONS)\n+\n+    # Prototype.js\n+    get_pattern(\"prototype\",\n+                \"https://ajax.googleapis.com/ajax/libs/prototype/%s/prototype.js\",\n+                PROTOTYPE_VERSIONS)\n+\n+    # Underscore\n+    get_pattern(\"underscore\",\n+                \"https://raw.github.com/documentcloud/underscore/%s/underscore.js\",\n+                UNDERSCORE_VERSIONS)\n+    get_pattern(\"underscore\",\n+                \"https://raw.github.com/documentcloud/underscore/%s/underscore-min.js\",\n+                UNDERSCORE_VERSIONS)\n+\n+    CRYPTO_FILES = {","path":"extras/jslibfetcher.py","position":665,"original_position":665,"commit_id":"29a2b97a5c91f7fb3fba4dff3b42b801d42e89f9","original_commit_id":"29a2b97a5c91f7fb3fba4dff3b42b801d42e89f9","user":{"login":"wagnerand","id":873258,"avatar_url":"https://avatars.githubusercontent.com/u/873258?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnerand","html_url":"https://github.com/wagnerand","followers_url":"https://api.github.com/users/wagnerand/followers","following_url":"https://api.github.com/users/wagnerand/following{/other_user}","gists_url":"https://api.github.com/users/wagnerand/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnerand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnerand/subscriptions","organizations_url":"https://api.github.com/users/wagnerand/orgs","repos_url":"https://api.github.com/users/wagnerand/repos","events_url":"https://api.github.com/users/wagnerand/events{/privacy}","received_events_url":"https://api.github.com/users/wagnerand/received_events","type":"User","site_admin":false},"body":"This has been like that before, I did not change the order. I think it would make more sense to keep this close to the corresponding `get_pattern` because it does contain versions of one single library, but instead uses the a particular (=the latest) version for several files of a library collection.","created_at":"2016-04-18T20:23:12Z","updated_at":"2016-04-18T20:23:12Z","html_url":"https://github.com/mozilla/amo-validator/pull/417#discussion_r60127510","pull_request_url":"https://api.github.com/repos/mozilla/amo-validator/pulls/417","_links":{"self":{"href":"https://api.github.com/repos/mozilla/amo-validator/pulls/comments/60127510"},"html":{"href":"https://github.com/mozilla/amo-validator/pull/417#discussion_r60127510"},"pull_request":{"href":"https://api.github.com/repos/mozilla/amo-validator/pulls/417"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/amo-validator/pulls/417","id":66671993,"html_url":"https://github.com/mozilla/amo-validator/pull/417","diff_url":"https://github.com/mozilla/amo-validator/pull/417.diff","patch_url":"https://github.com/mozilla/amo-validator/pull/417.patch","issue_url":"https://api.github.com/repos/mozilla/amo-validator/issues/417","number":417,"state":"open","locked":false,"title":"Cleanup JS third-party lib fetching","user":{"login":"wagnerand","id":873258,"avatar_url":"https://avatars.githubusercontent.com/u/873258?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnerand","html_url":"https://github.com/wagnerand","followers_url":"https://api.github.com/users/wagnerand/followers","following_url":"https://api.github.com/users/wagnerand/following{/other_user}","gists_url":"https://api.github.com/users/wagnerand/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnerand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnerand/subscriptions","organizations_url":"https://api.github.com/users/wagnerand/orgs","repos_url":"https://api.github.com/users/wagnerand/repos","events_url":"https://api.github.com/users/wagnerand/events{/privacy}","received_events_url":"https://api.github.com/users/wagnerand/received_events","type":"User","site_admin":false},"body":"This does a bunch of things:\r\n\r\n* Add proper output\r\n* All files are fetched from HTTPS and the official maintainer (if available)\r\n* Catch file download errors (we had a couple of 404 hashes in the past and no one noticed)\r\n* Catch duplicate hashes\r\n* Remove very old or discontinued versions/libraries\r\n* Add new jQuery versions\r\n\r\nr? @mstriemer","created_at":"2016-04-15T16:48:13Z","updated_at":"2016-04-18T20:23:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"190aedfa21f5f677a36350f811a85240adcd2d6e","assignee":{"login":"mstriemer","id":211578,"avatar_url":"https://avatars.githubusercontent.com/u/211578?v=3","gravatar_id":"","url":"https://api.github.com/users/mstriemer","html_url":"https://github.com/mstriemer","followers_url":"https://api.github.com/users/mstriemer/followers","following_url":"https://api.github.com/users/mstriemer/following{/other_user}","gists_url":"https://api.github.com/users/mstriemer/gists{/gist_id}","starred_url":"https://api.github.com/users/mstriemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstriemer/subscriptions","organizations_url":"https://api.github.com/users/mstriemer/orgs","repos_url":"https://api.github.com/users/mstriemer/repos","events_url":"https://api.github.com/users/mstriemer/events{/privacy}","received_events_url":"https://api.github.com/users/mstriemer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/amo-validator/pulls/417/commits","review_comments_url":"https://api.github.com/repos/mozilla/amo-validator/pulls/417/comments","review_comment_url":"https://api.github.com/repos/mozilla/amo-validator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/amo-validator/issues/417/comments","statuses_url":"https://api.github.com/repos/mozilla/amo-validator/statuses/29a2b97a5c91f7fb3fba4dff3b42b801d42e89f9","head":{"label":"wagnerand:library-cleanup","ref":"library-cleanup","sha":"29a2b97a5c91f7fb3fba4dff3b42b801d42e89f9","user":{"login":"wagnerand","id":873258,"avatar_url":"https://avatars.githubusercontent.com/u/873258?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnerand","html_url":"https://github.com/wagnerand","followers_url":"https://api.github.com/users/wagnerand/followers","following_url":"https://api.github.com/users/wagnerand/following{/other_user}","gists_url":"https://api.github.com/users/wagnerand/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnerand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnerand/subscriptions","organizations_url":"https://api.github.com/users/wagnerand/orgs","repos_url":"https://api.github.com/users/wagnerand/repos","events_url":"https://api.github.com/users/wagnerand/events{/privacy}","received_events_url":"https://api.github.com/users/wagnerand/received_events","type":"User","site_admin":false},"repo":{"id":6298698,"name":"amo-validator","full_name":"wagnerand/amo-validator","owner":{"login":"wagnerand","id":873258,"avatar_url":"https://avatars.githubusercontent.com/u/873258?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnerand","html_url":"https://github.com/wagnerand","followers_url":"https://api.github.com/users/wagnerand/followers","following_url":"https://api.github.com/users/wagnerand/following{/other_user}","gists_url":"https://api.github.com/users/wagnerand/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnerand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnerand/subscriptions","organizations_url":"https://api.github.com/users/wagnerand/orgs","repos_url":"https://api.github.com/users/wagnerand/repos","events_url":"https://api.github.com/users/wagnerand/events{/privacy}","received_events_url":"https://api.github.com/users/wagnerand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wagnerand/amo-validator","description":"Validator for addons.mozilla.org","fork":true,"url":"https://api.github.com/repos/wagnerand/amo-validator","forks_url":"https://api.github.com/repos/wagnerand/amo-validator/forks","keys_url":"https://api.github.com/repos/wagnerand/amo-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wagnerand/amo-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wagnerand/amo-validator/teams","hooks_url":"https://api.github.com/repos/wagnerand/amo-validator/hooks","issue_events_url":"https://api.github.com/repos/wagnerand/amo-validator/issues/events{/number}","events_url":"https://api.github.com/repos/wagnerand/amo-validator/events","assignees_url":"https://api.github.com/repos/wagnerand/amo-validator/assignees{/user}","branches_url":"https://api.github.com/repos/wagnerand/amo-validator/branches{/branch}","tags_url":"https://api.github.com/repos/wagnerand/amo-validator/tags","blobs_url":"https://api.github.com/repos/wagnerand/amo-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wagnerand/amo-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wagnerand/amo-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/wagnerand/amo-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wagnerand/amo-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/wagnerand/amo-validator/languages","stargazers_url":"https://api.github.com/repos/wagnerand/amo-validator/stargazers","contributors_url":"https://api.github.com/repos/wagnerand/amo-validator/contributors","subscribers_url":"https://api.github.com/repos/wagnerand/amo-validator/subscribers","subscription_url":"https://api.github.com/repos/wagnerand/amo-validator/subscription","commits_url":"https://api.github.com/repos/wagnerand/amo-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/wagnerand/amo-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/wagnerand/amo-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/wagnerand/amo-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/wagnerand/amo-validator/contents/{+path}","compare_url":"https://api.github.com/repos/wagnerand/amo-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wagnerand/amo-validator/merges","archive_url":"https://api.github.com/repos/wagnerand/amo-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wagnerand/amo-validator/downloads","issues_url":"https://api.github.com/repos/wagnerand/amo-validator/issues{/number}","pulls_url":"https://api.github.com/repos/wagnerand/amo-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/wagnerand/amo-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/wagnerand/amo-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wagnerand/amo-validator/labels{/name}","releases_url":"https://api.github.com/repos/wagnerand/amo-validator/releases{/id}","deployments_url":"https://api.github.com/repos/wagnerand/amo-validator/deployments","created_at":"2012-10-19T17:18:57Z","updated_at":"2015-02-03T14:47:55Z","pushed_at":"2016-04-15T16:53:15Z","git_url":"git://github.com/wagnerand/amo-validator.git","ssh_url":"git@github.com:wagnerand/amo-validator.git","clone_url":"https://github.com/wagnerand/amo-validator.git","svn_url":"https://github.com/wagnerand/amo-validator","homepage":"","size":41193,"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":"6a1b1ca17299d805b392567f2db5fe411da72859","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":1441734,"name":"amo-validator","full_name":"mozilla/amo-validator","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/amo-validator","description":"Validator for addons.mozilla.org","fork":false,"url":"https://api.github.com/repos/mozilla/amo-validator","forks_url":"https://api.github.com/repos/mozilla/amo-validator/forks","keys_url":"https://api.github.com/repos/mozilla/amo-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/amo-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/amo-validator/teams","hooks_url":"https://api.github.com/repos/mozilla/amo-validator/hooks","issue_events_url":"https://api.github.com/repos/mozilla/amo-validator/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/amo-validator/events","assignees_url":"https://api.github.com/repos/mozilla/amo-validator/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/amo-validator/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/amo-validator/tags","blobs_url":"https://api.github.com/repos/mozilla/amo-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/amo-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/amo-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/amo-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/amo-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/amo-validator/languages","stargazers_url":"https://api.github.com/repos/mozilla/amo-validator/stargazers","contributors_url":"https://api.github.com/repos/mozilla/amo-validator/contributors","subscribers_url":"https://api.github.com/repos/mozilla/amo-validator/subscribers","subscription_url":"https://api.github.com/repos/mozilla/amo-validator/subscription","commits_url":"https://api.github.com/repos/mozilla/amo-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/amo-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/amo-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/amo-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/amo-validator/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/amo-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/amo-validator/merges","archive_url":"https://api.github.com/repos/mozilla/amo-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/amo-validator/downloads","issues_url":"https://api.github.com/repos/mozilla/amo-validator/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/amo-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/amo-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/amo-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/amo-validator/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/amo-validator/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/amo-validator/deployments","created_at":"2011-03-05T00:24:22Z","updated_at":"2016-04-17T23:05:04Z","pushed_at":"2016-04-18T04:16:26Z","git_url":"git://github.com/mozilla/amo-validator.git","ssh_url":"git@github.com:mozilla/amo-validator.git","clone_url":"https://github.com/mozilla/amo-validator.git","svn_url":"https://github.com/mozilla/amo-validator","homepage":"","size":410022,"stargazers_count":52,"watchers_count":52,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":12,"forks":45,"open_issues":12,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/amo-validator/pulls/417"},"html":{"href":"https://github.com/mozilla/amo-validator/pull/417"},"issue":{"href":"https://api.github.com/repos/mozilla/amo-validator/issues/417"},"comments":{"href":"https://api.github.com/repos/mozilla/amo-validator/issues/417/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/amo-validator/pulls/417/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/amo-validator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/amo-validator/pulls/417/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/amo-validator/statuses/29a2b97a5c91f7fb3fba4dff3b42b801d42e89f9"}}}}