{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/12","id":94258553,"html_url":"https://github.com/git-for-windows/git-for-windows.github.io/pull/12","diff_url":"https://github.com/git-for-windows/git-for-windows.github.io/pull/12.diff","patch_url":"https://github.com/git-for-windows/git-for-windows.github.io/pull/12.patch","issue_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues/12","number":12,"state":"closed","locked":false,"title":"fix determineVersion, add static txt files that have URLs to download","user":{"login":"if-kenn","id":5553161,"avatar_url":"https://avatars.githubusercontent.com/u/5553161?v=3","gravatar_id":"","url":"https://api.github.com/users/if-kenn","html_url":"https://github.com/if-kenn","followers_url":"https://api.github.com/users/if-kenn/followers","following_url":"https://api.github.com/users/if-kenn/following{/other_user}","gists_url":"https://api.github.com/users/if-kenn/gists{/gist_id}","starred_url":"https://api.github.com/users/if-kenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if-kenn/subscriptions","organizations_url":"https://api.github.com/users/if-kenn/orgs","repos_url":"https://api.github.com/users/if-kenn/repos","events_url":"https://api.github.com/users/if-kenn/events{/privacy}","received_events_url":"https://api.github.com/users/if-kenn/received_events","type":"User","site_admin":false},"body":"The function determineVersion was breaking, instead of trying to work with the releases JSON as text, it was manipulated via JSON.\r\n\r\nPer issue #962 creating a static directory and files like:\r\n```\r\nstatic/Git-latest-32-bit.exe.txt\r\nstatic/Git-latest-32-bit.tar.bz2.txt\r\nstatic/Git-latest-64-bit.exe.txt\r\nstatic/Git-latest-64-bit.tar.bz2.txt\r\nstatic/MinGit-latest-32-bit.zip.txt\r\nstatic/MinGit-latest-64-bit.zip.txt\r\nstatic/PortableGit-latest-32-bit.7z.exe.txt\r\nstatic/PortableGit-latest-64-bit.7z.exe.txt\r\n```\r\n\r\nThat would have the corresponding download urls, e.g.:\r\n```\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/Git-2.10.2-32-bit.exe\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/Git-2.10.2-32-bit.tar.bz2\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/Git-2.10.2-64-bit.exe\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/Git-2.10.2-64-bit.tar.bz2\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/MinGit-2.10.2-32-bit.zip\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/MinGit-2.10.2-64-bit.zip\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/PortableGit-2.10.2-32-bit.7z.exe\r\nhttps://github.com/git-for-windows/git/releases/download/2.10.2.windows.1/PortableGit-2.10.2-64-bit.7z.exe\r\n```","created_at":"2016-11-17T21:51:59Z","updated_at":"2016-12-25T10:16:43Z","closed_at":"2016-12-25T10:16:43Z","merged_at":null,"merge_commit_sha":"da3401e3a246a7008eab915044f7cf8ace67de5c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/12/commits","review_comments_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/12/comments","review_comment_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues/12/comments","statuses_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/statuses/aa729820fe2b04ebdd640cac2f5278a42a4fde92","head":{"label":"if-kenn:master","ref":"master","sha":"aa729820fe2b04ebdd640cac2f5278a42a4fde92","user":{"login":"if-kenn","id":5553161,"avatar_url":"https://avatars.githubusercontent.com/u/5553161?v=3","gravatar_id":"","url":"https://api.github.com/users/if-kenn","html_url":"https://github.com/if-kenn","followers_url":"https://api.github.com/users/if-kenn/followers","following_url":"https://api.github.com/users/if-kenn/following{/other_user}","gists_url":"https://api.github.com/users/if-kenn/gists{/gist_id}","starred_url":"https://api.github.com/users/if-kenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if-kenn/subscriptions","organizations_url":"https://api.github.com/users/if-kenn/orgs","repos_url":"https://api.github.com/users/if-kenn/repos","events_url":"https://api.github.com/users/if-kenn/events{/privacy}","received_events_url":"https://api.github.com/users/if-kenn/received_events","type":"User","site_admin":false},"repo":{"id":74063055,"name":"git-for-windows.github.io","full_name":"if-kenn/git-for-windows.github.io","owner":{"login":"if-kenn","id":5553161,"avatar_url":"https://avatars.githubusercontent.com/u/5553161?v=3","gravatar_id":"","url":"https://api.github.com/users/if-kenn","html_url":"https://github.com/if-kenn","followers_url":"https://api.github.com/users/if-kenn/followers","following_url":"https://api.github.com/users/if-kenn/following{/other_user}","gists_url":"https://api.github.com/users/if-kenn/gists{/gist_id}","starred_url":"https://api.github.com/users/if-kenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/if-kenn/subscriptions","organizations_url":"https://api.github.com/users/if-kenn/orgs","repos_url":"https://api.github.com/users/if-kenn/repos","events_url":"https://api.github.com/users/if-kenn/events{/privacy}","received_events_url":"https://api.github.com/users/if-kenn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/if-kenn/git-for-windows.github.io","description":"The website for the upcoming version 2.x of Git for Windows","fork":true,"url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io","forks_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/forks","keys_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/teams","hooks_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/hooks","issue_events_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/events","assignees_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/tags","blobs_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/languages","stargazers_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/stargazers","contributors_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/contributors","subscribers_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/subscribers","subscription_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/subscription","commits_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/merges","archive_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/downloads","issues_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/labels{/name}","releases_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/if-kenn/git-for-windows.github.io/deployments","created_at":"2016-11-17T20:07:05Z","updated_at":"2016-11-17T20:07:06Z","pushed_at":"2016-11-17T21:44:07Z","git_url":"git://github.com/if-kenn/git-for-windows.github.io.git","ssh_url":"git@github.com:if-kenn/git-for-windows.github.io.git","clone_url":"https://github.com/if-kenn/git-for-windows.github.io.git","svn_url":"https://github.com/if-kenn/git-for-windows.github.io","homepage":"http://git-for-windows.github.io/","size":1351,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"git-for-windows:master","ref":"master","sha":"1b50d218c8f71afea701bdb9349f8fb10a7d0d7a","user":{"login":"git-for-windows","id":4571183,"avatar_url":"https://avatars.githubusercontent.com/u/4571183?v=3","gravatar_id":"","url":"https://api.github.com/users/git-for-windows","html_url":"https://github.com/git-for-windows","followers_url":"https://api.github.com/users/git-for-windows/followers","following_url":"https://api.github.com/users/git-for-windows/following{/other_user}","gists_url":"https://api.github.com/users/git-for-windows/gists{/gist_id}","starred_url":"https://api.github.com/users/git-for-windows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-for-windows/subscriptions","organizations_url":"https://api.github.com/users/git-for-windows/orgs","repos_url":"https://api.github.com/users/git-for-windows/repos","events_url":"https://api.github.com/users/git-for-windows/events{/privacy}","received_events_url":"https://api.github.com/users/git-for-windows/received_events","type":"Organization","site_admin":false},"repo":{"id":10385274,"name":"git-for-windows.github.io","full_name":"git-for-windows/git-for-windows.github.io","owner":{"login":"git-for-windows","id":4571183,"avatar_url":"https://avatars.githubusercontent.com/u/4571183?v=3","gravatar_id":"","url":"https://api.github.com/users/git-for-windows","html_url":"https://github.com/git-for-windows","followers_url":"https://api.github.com/users/git-for-windows/followers","following_url":"https://api.github.com/users/git-for-windows/following{/other_user}","gists_url":"https://api.github.com/users/git-for-windows/gists{/gist_id}","starred_url":"https://api.github.com/users/git-for-windows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-for-windows/subscriptions","organizations_url":"https://api.github.com/users/git-for-windows/orgs","repos_url":"https://api.github.com/users/git-for-windows/repos","events_url":"https://api.github.com/users/git-for-windows/events{/privacy}","received_events_url":"https://api.github.com/users/git-for-windows/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/git-for-windows/git-for-windows.github.io","description":"The website for the upcoming version 2.x of Git for Windows","fork":false,"url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io","forks_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/forks","keys_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/teams","hooks_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/hooks","issue_events_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/events","assignees_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/tags","blobs_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/languages","stargazers_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/stargazers","contributors_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/contributors","subscribers_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/subscribers","subscription_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/subscription","commits_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/merges","archive_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/downloads","issues_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/labels{/name}","releases_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/deployments","created_at":"2013-05-30T15:02:11Z","updated_at":"2016-12-22T12:51:28Z","pushed_at":"2016-12-01T12:31:10Z","git_url":"git://github.com/git-for-windows/git-for-windows.github.io.git","ssh_url":"git@github.com:git-for-windows/git-for-windows.github.io.git","clone_url":"https://github.com/git-for-windows/git-for-windows.github.io.git","svn_url":"https://github.com/git-for-windows/git-for-windows.github.io","homepage":"http://git-for-windows.github.io/","size":1457,"stargazers_count":49,"watchers_count":49,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":0,"forks":35,"open_issues":0,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/12"},"html":{"href":"https://github.com/git-for-windows/git-for-windows.github.io/pull/12"},"issue":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues/12"},"comments":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/git-for-windows/git-for-windows.github.io/statuses/aa729820fe2b04ebdd640cac2f5278a42a4fde92"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":55,"deletions":20,"changed_files":2}}
{"actor":{"display_login":"dscho"}}