{"action":"created","comment":{"url":"https://api.github.com/repos/badges/shields/pulls/comments/212820943","pull_request_review_id":149532404,"id":212820943,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjgyMDk0Mw==","diff_hunk":"@@ -0,0 +1,35 @@\n+'use strict'\n+\n+const ServiceTester = require('../service-tester')\n+const t = new ServiceTester({ id: 'f-droid', title: 'F-Droid' })\n+module.exports = t\n+\n+const manyVersions =\n+  '<span></span><span class=\"doctype\">&lt;!DOCTYPE html&gt;</span><span>\\n\\t<ul class=\"package-versions-list\">\\n\\t\\t\\t\\n\\t\\t\\t<li class=\"package-version\">\\n\\t\\t\\t\\t<div class=\"package-version-header\">\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n                                        <a name=\"0.19\"></a>\\n                                        <a name=\"19\"></a>\\n\\t\\t\\t\\t\\t<b>Version 0.19</b> (19) - Added on 2018-08-23\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<p class=\"package-version-requirement\">\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tThis version requires Android 5.0 or newer.\\n\\t\\t\\t\\t</p>\\n\\n\\t\\t\\t\\t<p class=\"package-version-source\">\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tIt is built and signed by F-Droid, and guaranteed to correspond to <a href=\"https://f-droid.org/repo/org.pacien.tincapp_19_src.tar.gz\">this source tarball</a>.\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t</p>\\n\\n\\t\\t\\t\\t<p class=\"package-version-download\">\\n\\t\\t\\t\\t\\t<a href=\"https://f-droid.org/repo/org.pacien.tincapp_19.apk\">\\n\\t\\t\\t\\t\\t\\tDownload APK\\n\\t\\t\\t\\t\\t</a>\\n\\t\\t\\t\\t\\t6.9 MiB\\n\\t\\t\\t\\t\\t<a href=\"https://f-droid.org/repo/org.pacien.tincapp_19.apk.asc\">PGP Signature</a>\\n\\t\\t\\t\\t</p>\\n\\n\\t\\t\\t\\t<div class=\"package-version-permissions\">\\n                    <details open=\"\">\\n                        <summary class=\"package-version-permissions-summary\">\\n                            Permissions\\n                        </summary>\\n                        <ul class=\"package-version-permissions-list\">\\n                            \\n                            <li>\\n                                android.permission.INTERNET\\n                                \\n                            </li>\\n                            \\n                            <li>\\n                                android.permission.CAMERA\\n                                \\n                            </li>\\n                            \\n                        </ul>\\n                    </details>\\n\\t\\t\\t\\t</div>\\n\\n\\t\\t\\t</li>\\n\\n\\t\\t\\t\\n\\t\\t\\t<li class=\"package-version\">\\n\\t\\t\\t\\t<div class=\"package-version-header\">\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n                                        <a name=\"0.18\"></a>\\n                                        <a name=\"18\"></a>\\n\\t\\t\\t\\t\\t<b>Version 0.18</b> (18) - Added on 2018-08-12\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<p class=\"package-version-requirement\">\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tThis version requires Android 5.0 or newer.\\n\\t\\t\\t\\t</p>\\n\\n\\t\\t\\t\\t<p class=\"package-version-source\">\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tIt is built and signed by F-Droid, and guaranteed to correspond to <a href=\"https://f-droid.org/repo/org.pacien.tincapp_18_src.tar.gz\">this source tarball</a>.\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t</p>\\n\\n\\t\\t\\t\\t<p class=\"package-version-download\">\\n\\t\\t\\t\\t\\t<a href=\"https://f-droid.org/repo/org.pacien.tincapp_18.apk\">\\n\\t\\t\\t\\t\\t\\tDownload APK\\n\\t\\t\\t\\t\\t</a>\\n\\t\\t\\t\\t\\t6.7 MiB\\n\\t\\t\\t\\t\\t<a href=\"https://f-droid.org/repo/org.pacien.tincapp_18.apk.asc\">PGP Signature</a>\\n\\t\\t\\t\\t</p>\\n\\n\\t\\t\\t\\t<div class=\"package-version-permissions\">\\n                    <details>\\n                        <summary class=\"package-version-permissions-summary\">\\n                            Permissions\\n                        </summary>\\n                        <ul class=\"package-version-permissions-list\">\\n                            \\n                            <li>\\n                                android.permission.INTERNET\\n                                \\n                            </li>\\n                            \\n                        </ul>\\n                    </details>\\n\\t\\t\\t\\t</div>\\n\\n\\t\\t\\t</li>\\n\\n</ul></span>'\n+\n+t.create('Package is found')\n+  .get('/version/org.pacien.tincapp.json')\n+  .intercept(nock =>\n+    nock('https://f-droid.org')\n+      .get('/en/packages/org.pacien.tincapp/')\n+      .reply(200, manyVersions)","path":"services/f-droid/f-droid.tester.js","position":15,"original_position":15,"commit_id":"c688b685ab75eff5ee703ffc9c3717cd87aa97cd","original_commit_id":"c688b685ab75eff5ee703ffc9c3717cd87aa97cd","user":{"login":"PyvesB","id":10694593,"node_id":"MDQ6VXNlcjEwNjk0NTkz","avatar_url":"https://avatars2.githubusercontent.com/u/10694593?v=4","gravatar_id":"","url":"https://api.github.com/users/PyvesB","html_url":"https://github.com/PyvesB","followers_url":"https://api.github.com/users/PyvesB/followers","following_url":"https://api.github.com/users/PyvesB/following{/other_user}","gists_url":"https://api.github.com/users/PyvesB/gists{/gist_id}","starred_url":"https://api.github.com/users/PyvesB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyvesB/subscriptions","organizations_url":"https://api.github.com/users/PyvesB/orgs","repos_url":"https://api.github.com/users/PyvesB/repos","events_url":"https://api.github.com/users/PyvesB/events{/privacy}","received_events_url":"https://api.github.com/users/PyvesB/received_events","type":"User","site_admin":false},"body":"Could we not make this test hit the real service? It will be easier to spot changes to the website that way. 😉 ","created_at":"2018-08-26T10:09:32Z","updated_at":"2018-08-26T10:11:21Z","html_url":"https://github.com/badges/shields/pull/1965#discussion_r212820943","pull_request_url":"https://api.github.com/repos/badges/shields/pulls/1965","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/badges/shields/pulls/comments/212820943"},"html":{"href":"https://github.com/badges/shields/pull/1965#discussion_r212820943"},"pull_request":{"href":"https://api.github.com/repos/badges/shields/pulls/1965"}}},"pull_request":{"url":"https://api.github.com/repos/badges/shields/pulls/1965","id":210569332,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNTY5MzMy","html_url":"https://github.com/badges/shields/pull/1965","diff_url":"https://github.com/badges/shields/pull/1965.diff","patch_url":"https://github.com/badges/shields/pull/1965.patch","issue_url":"https://api.github.com/repos/badges/shields/issues/1965","number":1965,"state":"open","locked":false,"title":"new badge: f-droid ","user":{"login":"niccokunzmann","id":564768,"node_id":"MDQ6VXNlcjU2NDc2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/564768?v=4","gravatar_id":"","url":"https://api.github.com/users/niccokunzmann","html_url":"https://github.com/niccokunzmann","followers_url":"https://api.github.com/users/niccokunzmann/followers","following_url":"https://api.github.com/users/niccokunzmann/following{/other_user}","gists_url":"https://api.github.com/users/niccokunzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/niccokunzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccokunzmann/subscriptions","organizations_url":"https://api.github.com/users/niccokunzmann/orgs","repos_url":"https://api.github.com/users/niccokunzmann/repos","events_url":"https://api.github.com/users/niccokunzmann/events{/privacy}","received_events_url":"https://api.github.com/users/niccokunzmann/received_events","type":"User","site_admin":false},"body":"I document the progress here as an imperfect PR and ask for review once I am confident it works.\r\n\r\n- edit server.js\r\n- first untested version\r\n  - get the website\r\n  - regex query as string\r\n  - get version info\r\n\r\nfixes #1963 ","created_at":"2018-08-23T20:38:57Z","updated_at":"2018-08-26T10:11:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cef8b231e5f36c4c00fff0ee7f2af026716c9a68","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":316395868,"node_id":"MDU6TGFiZWwzMTYzOTU4Njg=","url":"https://api.github.com/repos/badges/shields/labels/service-badge","name":"service-badge","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/badges/shields/pulls/1965/commits","review_comments_url":"https://api.github.com/repos/badges/shields/pulls/1965/comments","review_comment_url":"https://api.github.com/repos/badges/shields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/badges/shields/issues/1965/comments","statuses_url":"https://api.github.com/repos/badges/shields/statuses/c688b685ab75eff5ee703ffc9c3717cd87aa97cd","head":{"label":"niccokunzmann:fdroid","ref":"fdroid","sha":"c688b685ab75eff5ee703ffc9c3717cd87aa97cd","user":{"login":"niccokunzmann","id":564768,"node_id":"MDQ6VXNlcjU2NDc2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/564768?v=4","gravatar_id":"","url":"https://api.github.com/users/niccokunzmann","html_url":"https://github.com/niccokunzmann","followers_url":"https://api.github.com/users/niccokunzmann/followers","following_url":"https://api.github.com/users/niccokunzmann/following{/other_user}","gists_url":"https://api.github.com/users/niccokunzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/niccokunzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccokunzmann/subscriptions","organizations_url":"https://api.github.com/users/niccokunzmann/orgs","repos_url":"https://api.github.com/users/niccokunzmann/repos","events_url":"https://api.github.com/users/niccokunzmann/events{/privacy}","received_events_url":"https://api.github.com/users/niccokunzmann/received_events","type":"User","site_admin":false},"repo":{"id":85234299,"node_id":"MDEwOlJlcG9zaXRvcnk4NTIzNDI5OQ==","name":"shields","full_name":"niccokunzmann/shields","owner":{"login":"niccokunzmann","id":564768,"node_id":"MDQ6VXNlcjU2NDc2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/564768?v=4","gravatar_id":"","url":"https://api.github.com/users/niccokunzmann","html_url":"https://github.com/niccokunzmann","followers_url":"https://api.github.com/users/niccokunzmann/followers","following_url":"https://api.github.com/users/niccokunzmann/following{/other_user}","gists_url":"https://api.github.com/users/niccokunzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/niccokunzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccokunzmann/subscriptions","organizations_url":"https://api.github.com/users/niccokunzmann/orgs","repos_url":"https://api.github.com/users/niccokunzmann/repos","events_url":"https://api.github.com/users/niccokunzmann/events{/privacy}","received_events_url":"https://api.github.com/users/niccokunzmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/niccokunzmann/shields","description":"Shields badge specification, website and default API server","fork":true,"url":"https://api.github.com/repos/niccokunzmann/shields","forks_url":"https://api.github.com/repos/niccokunzmann/shields/forks","keys_url":"https://api.github.com/repos/niccokunzmann/shields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/niccokunzmann/shields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/niccokunzmann/shields/teams","hooks_url":"https://api.github.com/repos/niccokunzmann/shields/hooks","issue_events_url":"https://api.github.com/repos/niccokunzmann/shields/issues/events{/number}","events_url":"https://api.github.com/repos/niccokunzmann/shields/events","assignees_url":"https://api.github.com/repos/niccokunzmann/shields/assignees{/user}","branches_url":"https://api.github.com/repos/niccokunzmann/shields/branches{/branch}","tags_url":"https://api.github.com/repos/niccokunzmann/shields/tags","blobs_url":"https://api.github.com/repos/niccokunzmann/shields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/niccokunzmann/shields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/niccokunzmann/shields/git/refs{/sha}","trees_url":"https://api.github.com/repos/niccokunzmann/shields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/niccokunzmann/shields/statuses/{sha}","languages_url":"https://api.github.com/repos/niccokunzmann/shields/languages","stargazers_url":"https://api.github.com/repos/niccokunzmann/shields/stargazers","contributors_url":"https://api.github.com/repos/niccokunzmann/shields/contributors","subscribers_url":"https://api.github.com/repos/niccokunzmann/shields/subscribers","subscription_url":"https://api.github.com/repos/niccokunzmann/shields/subscription","commits_url":"https://api.github.com/repos/niccokunzmann/shields/commits{/sha}","git_commits_url":"https://api.github.com/repos/niccokunzmann/shields/git/commits{/sha}","comments_url":"https://api.github.com/repos/niccokunzmann/shields/comments{/number}","issue_comment_url":"https://api.github.com/repos/niccokunzmann/shields/issues/comments{/number}","contents_url":"https://api.github.com/repos/niccokunzmann/shields/contents/{+path}","compare_url":"https://api.github.com/repos/niccokunzmann/shields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/niccokunzmann/shields/merges","archive_url":"https://api.github.com/repos/niccokunzmann/shields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/niccokunzmann/shields/downloads","issues_url":"https://api.github.com/repos/niccokunzmann/shields/issues{/number}","pulls_url":"https://api.github.com/repos/niccokunzmann/shields/pulls{/number}","milestones_url":"https://api.github.com/repos/niccokunzmann/shields/milestones{/number}","notifications_url":"https://api.github.com/repos/niccokunzmann/shields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/niccokunzmann/shields/labels{/name}","releases_url":"https://api.github.com/repos/niccokunzmann/shields/releases{/id}","deployments_url":"https://api.github.com/repos/niccokunzmann/shields/deployments","created_at":"2017-03-16T19:30:53Z","updated_at":"2017-03-16T19:30:54Z","pushed_at":"2018-08-26T01:38:53Z","git_url":"git://github.com/niccokunzmann/shields.git","ssh_url":"git@github.com:niccokunzmann/shields.git","clone_url":"https://github.com/niccokunzmann/shields.git","svn_url":"https://github.com/niccokunzmann/shields","homepage":"http://shields.io","size":9657,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"badges:master","ref":"master","sha":"ddb3bf4256289d9a9829a04c04159b25dc969e01","user":{"login":"badges","id":6254238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6254238?v=4","gravatar_id":"","url":"https://api.github.com/users/badges","html_url":"https://github.com/badges","followers_url":"https://api.github.com/users/badges/followers","following_url":"https://api.github.com/users/badges/following{/other_user}","gists_url":"https://api.github.com/users/badges/gists{/gist_id}","starred_url":"https://api.github.com/users/badges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badges/subscriptions","organizations_url":"https://api.github.com/users/badges/orgs","repos_url":"https://api.github.com/users/badges/repos","events_url":"https://api.github.com/users/badges/events{/privacy}","received_events_url":"https://api.github.com/users/badges/received_events","type":"Organization","site_admin":false},"repo":{"id":7910045,"node_id":"MDEwOlJlcG9zaXRvcnk3OTEwMDQ1","name":"shields","full_name":"badges/shields","owner":{"login":"badges","id":6254238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6254238?v=4","gravatar_id":"","url":"https://api.github.com/users/badges","html_url":"https://github.com/badges","followers_url":"https://api.github.com/users/badges/followers","following_url":"https://api.github.com/users/badges/following{/other_user}","gists_url":"https://api.github.com/users/badges/gists{/gist_id}","starred_url":"https://api.github.com/users/badges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badges/subscriptions","organizations_url":"https://api.github.com/users/badges/orgs","repos_url":"https://api.github.com/users/badges/repos","events_url":"https://api.github.com/users/badges/events{/privacy}","received_events_url":"https://api.github.com/users/badges/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/badges/shields","description":"Concise, consistent, and legible badges in SVG and raster format","fork":false,"url":"https://api.github.com/repos/badges/shields","forks_url":"https://api.github.com/repos/badges/shields/forks","keys_url":"https://api.github.com/repos/badges/shields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/badges/shields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/badges/shields/teams","hooks_url":"https://api.github.com/repos/badges/shields/hooks","issue_events_url":"https://api.github.com/repos/badges/shields/issues/events{/number}","events_url":"https://api.github.com/repos/badges/shields/events","assignees_url":"https://api.github.com/repos/badges/shields/assignees{/user}","branches_url":"https://api.github.com/repos/badges/shields/branches{/branch}","tags_url":"https://api.github.com/repos/badges/shields/tags","blobs_url":"https://api.github.com/repos/badges/shields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/badges/shields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/badges/shields/git/refs{/sha}","trees_url":"https://api.github.com/repos/badges/shields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/badges/shields/statuses/{sha}","languages_url":"https://api.github.com/repos/badges/shields/languages","stargazers_url":"https://api.github.com/repos/badges/shields/stargazers","contributors_url":"https://api.github.com/repos/badges/shields/contributors","subscribers_url":"https://api.github.com/repos/badges/shields/subscribers","subscription_url":"https://api.github.com/repos/badges/shields/subscription","commits_url":"https://api.github.com/repos/badges/shields/commits{/sha}","git_commits_url":"https://api.github.com/repos/badges/shields/git/commits{/sha}","comments_url":"https://api.github.com/repos/badges/shields/comments{/number}","issue_comment_url":"https://api.github.com/repos/badges/shields/issues/comments{/number}","contents_url":"https://api.github.com/repos/badges/shields/contents/{+path}","compare_url":"https://api.github.com/repos/badges/shields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/badges/shields/merges","archive_url":"https://api.github.com/repos/badges/shields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/badges/shields/downloads","issues_url":"https://api.github.com/repos/badges/shields/issues{/number}","pulls_url":"https://api.github.com/repos/badges/shields/pulls{/number}","milestones_url":"https://api.github.com/repos/badges/shields/milestones{/number}","notifications_url":"https://api.github.com/repos/badges/shields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/badges/shields/labels{/name}","releases_url":"https://api.github.com/repos/badges/shields/releases{/id}","deployments_url":"https://api.github.com/repos/badges/shields/deployments","created_at":"2013-01-30T07:41:54Z","updated_at":"2018-08-26T09:50:20Z","pushed_at":"2018-08-26T08:21:18Z","git_url":"git://github.com/badges/shields.git","ssh_url":"git@github.com:badges/shields.git","clone_url":"https://github.com/badges/shields.git","svn_url":"https://github.com/badges/shields","homepage":"https://shields.io","size":9748,"stargazers_count":6098,"watchers_count":6098,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1370,"mirror_url":null,"archived":false,"open_issues_count":190,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1370,"open_issues":190,"watchers":6098,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/badges/shields/pulls/1965"},"html":{"href":"https://github.com/badges/shields/pull/1965"},"issue":{"href":"https://api.github.com/repos/badges/shields/issues/1965"},"comments":{"href":"https://api.github.com/repos/badges/shields/issues/1965/comments"},"review_comments":{"href":"https://api.github.com/repos/badges/shields/pulls/1965/comments"},"review_comment":{"href":"https://api.github.com/repos/badges/shields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/badges/shields/pulls/1965/commits"},"statuses":{"href":"https://api.github.com/repos/badges/shields/statuses/c688b685ab75eff5ee703ffc9c3717cd87aa97cd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"PyvesB"}}