{"action":"created","comment":{"url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments/41503966","id":41503966,"diff_hunk":"@@ -46,7 +46,7 @@\n     \"semver\": \"~5.0.1\",\n     \"serve-static\": \"~1.10.0\",\n     \"signals\": \"~1.0.0\",\n-    \"socket.io\": \"~0.9.16\",\n+    \"socket.io\": \"~1.3.6\",","path":"package.json","position":5,"original_position":5,"commit_id":"3a24dea15dbcc20a41ed6a67ae5c8331ee935b94","original_commit_id":"bbb5ce49d98cb4e9a3c1a5d31bc6cbdcb89ea659","user":{"login":"linquize","id":791115,"avatar_url":"https://avatars.githubusercontent.com/u/791115?v=3","gravatar_id":"","url":"https://api.github.com/users/linquize","html_url":"https://github.com/linquize","followers_url":"https://api.github.com/users/linquize/followers","following_url":"https://api.github.com/users/linquize/following{/other_user}","gists_url":"https://api.github.com/users/linquize/gists{/gist_id}","starred_url":"https://api.github.com/users/linquize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linquize/subscriptions","organizations_url":"https://api.github.com/users/linquize/orgs","repos_url":"https://api.github.com/users/linquize/repos","events_url":"https://api.github.com/users/linquize/events{/privacy}","received_events_url":"https://api.github.com/users/linquize/received_events","type":"User","site_admin":false},"body":"as at today, the latest version is 1.3.7","created_at":"2015-10-08T11:57:22Z","updated_at":"2015-10-08T11:57:22Z","html_url":"https://github.com/FredrikNoren/ungit/pull/609#discussion_r41503966","pull_request_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609","_links":{"self":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments/41503966"},"html":{"href":"https://github.com/FredrikNoren/ungit/pull/609#discussion_r41503966"},"pull_request":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609"}}},"pull_request":{"url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609","id":43319195,"html_url":"https://github.com/FredrikNoren/ungit/pull/609","diff_url":"https://github.com/FredrikNoren/ungit/pull/609.diff","patch_url":"https://github.com/FredrikNoren/ungit/pull/609.patch","issue_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/609","number":609,"state":"open","locked":false,"title":"Support the use of a URL root path","user":{"login":"geeklain","id":1218193,"avatar_url":"https://avatars.githubusercontent.com/u/1218193?v=3","gravatar_id":"","url":"https://api.github.com/users/geeklain","html_url":"https://github.com/geeklain","followers_url":"https://api.github.com/users/geeklain/followers","following_url":"https://api.github.com/users/geeklain/following{/other_user}","gists_url":"https://api.github.com/users/geeklain/gists{/gist_id}","starred_url":"https://api.github.com/users/geeklain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeklain/subscriptions","organizations_url":"https://api.github.com/users/geeklain/orgs","repos_url":"https://api.github.com/users/geeklain/repos","events_url":"https://api.github.com/users/geeklain/events{/privacy}","received_events_url":"https://api.github.com/users/geeklain/received_events","type":"User","site_admin":false},"body":"It adds support to run ungit under a specific URL root path like http://host:port/root/path .\r\nThis fixes https://github.com/FredrikNoren/ungit/issues/313\r\n\r\nOn the server side, the basic idea is to add a top level middleware in express that rewrites URLs to remove the root path and then moves forward to other middlewares (that do not need any change).\r\nThe socket io version had to be bumped up to better support the root path starting with a slash (http://socket.io/docs/migrating-from-0-9/#configuration-differences)\r\n\r\nOn the client side, there was quite a few changes to support the concept of a root path.\r\n\r\nAll the tests are succeeding.","created_at":"2015-08-25T18:22:44Z","updated_at":"2015-10-08T11:57:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93397977ab2115b8b8a8b20ac5739a39cf81210c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609/commits","review_comments_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609/comments","review_comment_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/609/comments","statuses_url":"https://api.github.com/repos/FredrikNoren/ungit/statuses/3a24dea15dbcc20a41ed6a67ae5c8331ee935b94","head":{"label":"geeklain:master","ref":"master","sha":"3a24dea15dbcc20a41ed6a67ae5c8331ee935b94","user":{"login":"geeklain","id":1218193,"avatar_url":"https://avatars.githubusercontent.com/u/1218193?v=3","gravatar_id":"","url":"https://api.github.com/users/geeklain","html_url":"https://github.com/geeklain","followers_url":"https://api.github.com/users/geeklain/followers","following_url":"https://api.github.com/users/geeklain/following{/other_user}","gists_url":"https://api.github.com/users/geeklain/gists{/gist_id}","starred_url":"https://api.github.com/users/geeklain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeklain/subscriptions","organizations_url":"https://api.github.com/users/geeklain/orgs","repos_url":"https://api.github.com/users/geeklain/repos","events_url":"https://api.github.com/users/geeklain/events{/privacy}","received_events_url":"https://api.github.com/users/geeklain/received_events","type":"User","site_admin":false},"repo":{"id":41224254,"name":"ungit","full_name":"geeklain/ungit","owner":{"login":"geeklain","id":1218193,"avatar_url":"https://avatars.githubusercontent.com/u/1218193?v=3","gravatar_id":"","url":"https://api.github.com/users/geeklain","html_url":"https://github.com/geeklain","followers_url":"https://api.github.com/users/geeklain/followers","following_url":"https://api.github.com/users/geeklain/following{/other_user}","gists_url":"https://api.github.com/users/geeklain/gists{/gist_id}","starred_url":"https://api.github.com/users/geeklain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeklain/subscriptions","organizations_url":"https://api.github.com/users/geeklain/orgs","repos_url":"https://api.github.com/users/geeklain/repos","events_url":"https://api.github.com/users/geeklain/events{/privacy}","received_events_url":"https://api.github.com/users/geeklain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geeklain/ungit","description":"The easiest way to use git. On any platform. Anywhere.","fork":true,"url":"https://api.github.com/repos/geeklain/ungit","forks_url":"https://api.github.com/repos/geeklain/ungit/forks","keys_url":"https://api.github.com/repos/geeklain/ungit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geeklain/ungit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geeklain/ungit/teams","hooks_url":"https://api.github.com/repos/geeklain/ungit/hooks","issue_events_url":"https://api.github.com/repos/geeklain/ungit/issues/events{/number}","events_url":"https://api.github.com/repos/geeklain/ungit/events","assignees_url":"https://api.github.com/repos/geeklain/ungit/assignees{/user}","branches_url":"https://api.github.com/repos/geeklain/ungit/branches{/branch}","tags_url":"https://api.github.com/repos/geeklain/ungit/tags","blobs_url":"https://api.github.com/repos/geeklain/ungit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geeklain/ungit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geeklain/ungit/git/refs{/sha}","trees_url":"https://api.github.com/repos/geeklain/ungit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geeklain/ungit/statuses/{sha}","languages_url":"https://api.github.com/repos/geeklain/ungit/languages","stargazers_url":"https://api.github.com/repos/geeklain/ungit/stargazers","contributors_url":"https://api.github.com/repos/geeklain/ungit/contributors","subscribers_url":"https://api.github.com/repos/geeklain/ungit/subscribers","subscription_url":"https://api.github.com/repos/geeklain/ungit/subscription","commits_url":"https://api.github.com/repos/geeklain/ungit/commits{/sha}","git_commits_url":"https://api.github.com/repos/geeklain/ungit/git/commits{/sha}","comments_url":"https://api.github.com/repos/geeklain/ungit/comments{/number}","issue_comment_url":"https://api.github.com/repos/geeklain/ungit/issues/comments{/number}","contents_url":"https://api.github.com/repos/geeklain/ungit/contents/{+path}","compare_url":"https://api.github.com/repos/geeklain/ungit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geeklain/ungit/merges","archive_url":"https://api.github.com/repos/geeklain/ungit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geeklain/ungit/downloads","issues_url":"https://api.github.com/repos/geeklain/ungit/issues{/number}","pulls_url":"https://api.github.com/repos/geeklain/ungit/pulls{/number}","milestones_url":"https://api.github.com/repos/geeklain/ungit/milestones{/number}","notifications_url":"https://api.github.com/repos/geeklain/ungit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geeklain/ungit/labels{/name}","releases_url":"https://api.github.com/repos/geeklain/ungit/releases{/id}","created_at":"2015-08-22T21:02:15Z","updated_at":"2015-08-22T21:02:15Z","pushed_at":"2015-10-08T03:08:48Z","git_url":"git://github.com/geeklain/ungit.git","ssh_url":"git@github.com:geeklain/ungit.git","clone_url":"https://github.com/geeklain/ungit.git","svn_url":"https://github.com/geeklain/ungit","homepage":"","size":12720,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"FredrikNoren:master","ref":"master","sha":"a46b33ad77d45be86bd72011d36e56b74a4eb147","user":{"login":"FredrikNoren","id":1288009,"avatar_url":"https://avatars.githubusercontent.com/u/1288009?v=3","gravatar_id":"","url":"https://api.github.com/users/FredrikNoren","html_url":"https://github.com/FredrikNoren","followers_url":"https://api.github.com/users/FredrikNoren/followers","following_url":"https://api.github.com/users/FredrikNoren/following{/other_user}","gists_url":"https://api.github.com/users/FredrikNoren/gists{/gist_id}","starred_url":"https://api.github.com/users/FredrikNoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredrikNoren/subscriptions","organizations_url":"https://api.github.com/users/FredrikNoren/orgs","repos_url":"https://api.github.com/users/FredrikNoren/repos","events_url":"https://api.github.com/users/FredrikNoren/events{/privacy}","received_events_url":"https://api.github.com/users/FredrikNoren/received_events","type":"User","site_admin":false},"repo":{"id":10154151,"name":"ungit","full_name":"FredrikNoren/ungit","owner":{"login":"FredrikNoren","id":1288009,"avatar_url":"https://avatars.githubusercontent.com/u/1288009?v=3","gravatar_id":"","url":"https://api.github.com/users/FredrikNoren","html_url":"https://github.com/FredrikNoren","followers_url":"https://api.github.com/users/FredrikNoren/followers","following_url":"https://api.github.com/users/FredrikNoren/following{/other_user}","gists_url":"https://api.github.com/users/FredrikNoren/gists{/gist_id}","starred_url":"https://api.github.com/users/FredrikNoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredrikNoren/subscriptions","organizations_url":"https://api.github.com/users/FredrikNoren/orgs","repos_url":"https://api.github.com/users/FredrikNoren/repos","events_url":"https://api.github.com/users/FredrikNoren/events{/privacy}","received_events_url":"https://api.github.com/users/FredrikNoren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FredrikNoren/ungit","description":"The easiest way to use git. On any platform. Anywhere.","fork":false,"url":"https://api.github.com/repos/FredrikNoren/ungit","forks_url":"https://api.github.com/repos/FredrikNoren/ungit/forks","keys_url":"https://api.github.com/repos/FredrikNoren/ungit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FredrikNoren/ungit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FredrikNoren/ungit/teams","hooks_url":"https://api.github.com/repos/FredrikNoren/ungit/hooks","issue_events_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/events{/number}","events_url":"https://api.github.com/repos/FredrikNoren/ungit/events","assignees_url":"https://api.github.com/repos/FredrikNoren/ungit/assignees{/user}","branches_url":"https://api.github.com/repos/FredrikNoren/ungit/branches{/branch}","tags_url":"https://api.github.com/repos/FredrikNoren/ungit/tags","blobs_url":"https://api.github.com/repos/FredrikNoren/ungit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FredrikNoren/ungit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FredrikNoren/ungit/git/refs{/sha}","trees_url":"https://api.github.com/repos/FredrikNoren/ungit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FredrikNoren/ungit/statuses/{sha}","languages_url":"https://api.github.com/repos/FredrikNoren/ungit/languages","stargazers_url":"https://api.github.com/repos/FredrikNoren/ungit/stargazers","contributors_url":"https://api.github.com/repos/FredrikNoren/ungit/contributors","subscribers_url":"https://api.github.com/repos/FredrikNoren/ungit/subscribers","subscription_url":"https://api.github.com/repos/FredrikNoren/ungit/subscription","commits_url":"https://api.github.com/repos/FredrikNoren/ungit/commits{/sha}","git_commits_url":"https://api.github.com/repos/FredrikNoren/ungit/git/commits{/sha}","comments_url":"https://api.github.com/repos/FredrikNoren/ungit/comments{/number}","issue_comment_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/comments{/number}","contents_url":"https://api.github.com/repos/FredrikNoren/ungit/contents/{+path}","compare_url":"https://api.github.com/repos/FredrikNoren/ungit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FredrikNoren/ungit/merges","archive_url":"https://api.github.com/repos/FredrikNoren/ungit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FredrikNoren/ungit/downloads","issues_url":"https://api.github.com/repos/FredrikNoren/ungit/issues{/number}","pulls_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls{/number}","milestones_url":"https://api.github.com/repos/FredrikNoren/ungit/milestones{/number}","notifications_url":"https://api.github.com/repos/FredrikNoren/ungit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FredrikNoren/ungit/labels{/name}","releases_url":"https://api.github.com/repos/FredrikNoren/ungit/releases{/id}","created_at":"2013-05-19T10:44:44Z","updated_at":"2015-10-08T06:28:17Z","pushed_at":"2015-10-08T03:08:48Z","git_url":"git://github.com/FredrikNoren/ungit.git","ssh_url":"git@github.com:FredrikNoren/ungit.git","clone_url":"https://github.com/FredrikNoren/ungit.git","svn_url":"https://github.com/FredrikNoren/ungit","homepage":"","size":22621,"stargazers_count":6128,"watchers_count":6128,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":349,"mirror_url":null,"open_issues_count":103,"forks":349,"open_issues":103,"watchers":6128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609"},"html":{"href":"https://github.com/FredrikNoren/ungit/pull/609"},"issue":{"href":"https://api.github.com/repos/FredrikNoren/ungit/issues/609"},"comments":{"href":"https://api.github.com/repos/FredrikNoren/ungit/issues/609/comments"},"review_comments":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609/comments"},"review_comment":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/609/commits"},"statuses":{"href":"https://api.github.com/repos/FredrikNoren/ungit/statuses/3a24dea15dbcc20a41ed6a67ae5c8331ee935b94"}}}}