{"action":"created","comment":{"url":"https://api.github.com/repos/restic/restic/pulls/comments/36353753","id":36353753,"diff_hunk":"@@ -132,7 +133,10 @@ func (o GlobalOptions) OpenRepository() (*repository.Repository, error) {\n // * s3://region/bucket -> amazon s3 bucket\n // * sftp://user@host/foo/bar -> remote sftp repository on host for user at path foo/bar\n // * sftp://host//tmp/backup -> remote sftp repository on host at path /tmp/backup\n+// * http://host -> remote and public http repository\n func open(u string) (backend.Backend, error) {\n+\tfmt.Println(u)","path":"cmd/restic/global.go","position":14,"original_position":14,"commit_id":"010c9ed1764e5b97e40d1c598e2fcdff3a48c750","original_commit_id":"010c9ed1764e5b97e40d1c598e2fcdff3a48c750","user":{"login":"fd0","id":123276,"avatar_url":"https://avatars.githubusercontent.com/u/123276?v=3","gravatar_id":"","url":"https://api.github.com/users/fd0","html_url":"https://github.com/fd0","followers_url":"https://api.github.com/users/fd0/followers","following_url":"https://api.github.com/users/fd0/following{/other_user}","gists_url":"https://api.github.com/users/fd0/gists{/gist_id}","starred_url":"https://api.github.com/users/fd0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fd0/subscriptions","organizations_url":"https://api.github.com/users/fd0/orgs","repos_url":"https://api.github.com/users/fd0/repos","events_url":"https://api.github.com/users/fd0/events{/privacy}","received_events_url":"https://api.github.com/users/fd0/received_events","type":"User","site_admin":false},"body":"Please remove this obviously forgotten debug function call.","created_at":"2015-08-05T21:02:43Z","updated_at":"2015-08-05T21:02:43Z","html_url":"https://github.com/restic/restic/pull/253#discussion_r36353753","pull_request_url":"https://api.github.com/repos/restic/restic/pulls/253","_links":{"self":{"href":"https://api.github.com/repos/restic/restic/pulls/comments/36353753"},"html":{"href":"https://github.com/restic/restic/pull/253#discussion_r36353753"},"pull_request":{"href":"https://api.github.com/repos/restic/restic/pulls/253"}}},"pull_request":{"url":"https://api.github.com/repos/restic/restic/pulls/253","id":41570388,"html_url":"https://github.com/restic/restic/pull/253","diff_url":"https://github.com/restic/restic/pull/253.diff","patch_url":"https://github.com/restic/restic/pull/253.patch","issue_url":"https://api.github.com/repos/restic/restic/issues/253","number":253,"state":"open","locked":false,"title":"Basic REST backend","user":{"login":"bchapuis","id":238747,"avatar_url":"https://avatars.githubusercontent.com/u/238747?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapuis","html_url":"https://github.com/bchapuis","followers_url":"https://api.github.com/users/bchapuis/followers","following_url":"https://api.github.com/users/bchapuis/following{/other_user}","gists_url":"https://api.github.com/users/bchapuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapuis/subscriptions","organizations_url":"https://api.github.com/users/bchapuis/orgs","repos_url":"https://api.github.com/users/bchapuis/repos","events_url":"https://api.github.com/users/bchapuis/events{/privacy}","received_events_url":"https://api.github.com/users/bchapuis/received_events","type":"User","site_admin":false},"body":"I started working on a very basic REST backend (#23) and test server ([server.go](https://gist.githubusercontent.com/bchapuis/16d9dd0a8ae1ba80bcdd/raw/054dd9dec3360f63a98a682715b729614f7dfa44/server.go)). At this point, the test server must be started in the background before running the tests. The I'm not really familiar with go and I don't really know how to stop the server after the execution. Feedbacks appreciated... ;)","created_at":"2015-08-04T13:38:41Z","updated_at":"2015-08-05T21:02:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f520b08b881241a7b94730d02477153292cabbc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/restic/restic/pulls/253/commits","review_comments_url":"https://api.github.com/repos/restic/restic/pulls/253/comments","review_comment_url":"https://api.github.com/repos/restic/restic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/restic/restic/issues/253/comments","statuses_url":"https://api.github.com/repos/restic/restic/statuses/010c9ed1764e5b97e40d1c598e2fcdff3a48c750","head":{"label":"bchapuis:master","ref":"master","sha":"010c9ed1764e5b97e40d1c598e2fcdff3a48c750","user":{"login":"bchapuis","id":238747,"avatar_url":"https://avatars.githubusercontent.com/u/238747?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapuis","html_url":"https://github.com/bchapuis","followers_url":"https://api.github.com/users/bchapuis/followers","following_url":"https://api.github.com/users/bchapuis/following{/other_user}","gists_url":"https://api.github.com/users/bchapuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapuis/subscriptions","organizations_url":"https://api.github.com/users/bchapuis/orgs","repos_url":"https://api.github.com/users/bchapuis/repos","events_url":"https://api.github.com/users/bchapuis/events{/privacy}","received_events_url":"https://api.github.com/users/bchapuis/received_events","type":"User","site_admin":false},"repo":{"id":39762477,"name":"restic","full_name":"bchapuis/restic","owner":{"login":"bchapuis","id":238747,"avatar_url":"https://avatars.githubusercontent.com/u/238747?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapuis","html_url":"https://github.com/bchapuis","followers_url":"https://api.github.com/users/bchapuis/followers","following_url":"https://api.github.com/users/bchapuis/following{/other_user}","gists_url":"https://api.github.com/users/bchapuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapuis/subscriptions","organizations_url":"https://api.github.com/users/bchapuis/orgs","repos_url":"https://api.github.com/users/bchapuis/repos","events_url":"https://api.github.com/users/bchapuis/events{/privacy}","received_events_url":"https://api.github.com/users/bchapuis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bchapuis/restic","description":"restic backup program","fork":true,"url":"https://api.github.com/repos/bchapuis/restic","forks_url":"https://api.github.com/repos/bchapuis/restic/forks","keys_url":"https://api.github.com/repos/bchapuis/restic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bchapuis/restic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bchapuis/restic/teams","hooks_url":"https://api.github.com/repos/bchapuis/restic/hooks","issue_events_url":"https://api.github.com/repos/bchapuis/restic/issues/events{/number}","events_url":"https://api.github.com/repos/bchapuis/restic/events","assignees_url":"https://api.github.com/repos/bchapuis/restic/assignees{/user}","branches_url":"https://api.github.com/repos/bchapuis/restic/branches{/branch}","tags_url":"https://api.github.com/repos/bchapuis/restic/tags","blobs_url":"https://api.github.com/repos/bchapuis/restic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bchapuis/restic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bchapuis/restic/git/refs{/sha}","trees_url":"https://api.github.com/repos/bchapuis/restic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bchapuis/restic/statuses/{sha}","languages_url":"https://api.github.com/repos/bchapuis/restic/languages","stargazers_url":"https://api.github.com/repos/bchapuis/restic/stargazers","contributors_url":"https://api.github.com/repos/bchapuis/restic/contributors","subscribers_url":"https://api.github.com/repos/bchapuis/restic/subscribers","subscription_url":"https://api.github.com/repos/bchapuis/restic/subscription","commits_url":"https://api.github.com/repos/bchapuis/restic/commits{/sha}","git_commits_url":"https://api.github.com/repos/bchapuis/restic/git/commits{/sha}","comments_url":"https://api.github.com/repos/bchapuis/restic/comments{/number}","issue_comment_url":"https://api.github.com/repos/bchapuis/restic/issues/comments{/number}","contents_url":"https://api.github.com/repos/bchapuis/restic/contents/{+path}","compare_url":"https://api.github.com/repos/bchapuis/restic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bchapuis/restic/merges","archive_url":"https://api.github.com/repos/bchapuis/restic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bchapuis/restic/downloads","issues_url":"https://api.github.com/repos/bchapuis/restic/issues{/number}","pulls_url":"https://api.github.com/repos/bchapuis/restic/pulls{/number}","milestones_url":"https://api.github.com/repos/bchapuis/restic/milestones{/number}","notifications_url":"https://api.github.com/repos/bchapuis/restic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bchapuis/restic/labels{/name}","releases_url":"https://api.github.com/repos/bchapuis/restic/releases{/id}","created_at":"2015-07-27T08:02:32Z","updated_at":"2015-07-27T08:02:32Z","pushed_at":"2015-08-05T14:48:08Z","git_url":"git://github.com/bchapuis/restic.git","ssh_url":"git@github.com:bchapuis/restic.git","clone_url":"https://github.com/bchapuis/restic.git","svn_url":"https://github.com/bchapuis/restic","homepage":"","size":9509,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"restic:master","ref":"master","sha":"17ee6b1c4b8a48658f075d74f84f3db7761c0351","user":{"login":"restic","id":10073512,"avatar_url":"https://avatars.githubusercontent.com/u/10073512?v=3","gravatar_id":"","url":"https://api.github.com/users/restic","html_url":"https://github.com/restic","followers_url":"https://api.github.com/users/restic/followers","following_url":"https://api.github.com/users/restic/following{/other_user}","gists_url":"https://api.github.com/users/restic/gists{/gist_id}","starred_url":"https://api.github.com/users/restic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restic/subscriptions","organizations_url":"https://api.github.com/users/restic/orgs","repos_url":"https://api.github.com/users/restic/repos","events_url":"https://api.github.com/users/restic/events{/privacy}","received_events_url":"https://api.github.com/users/restic/received_events","type":"Organization","site_admin":false},"repo":{"id":19205896,"name":"restic","full_name":"restic/restic","owner":{"login":"restic","id":10073512,"avatar_url":"https://avatars.githubusercontent.com/u/10073512?v=3","gravatar_id":"","url":"https://api.github.com/users/restic","html_url":"https://github.com/restic","followers_url":"https://api.github.com/users/restic/followers","following_url":"https://api.github.com/users/restic/following{/other_user}","gists_url":"https://api.github.com/users/restic/gists{/gist_id}","starred_url":"https://api.github.com/users/restic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restic/subscriptions","organizations_url":"https://api.github.com/users/restic/orgs","repos_url":"https://api.github.com/users/restic/repos","events_url":"https://api.github.com/users/restic/events{/privacy}","received_events_url":"https://api.github.com/users/restic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/restic/restic","description":"restic backup program","fork":false,"url":"https://api.github.com/repos/restic/restic","forks_url":"https://api.github.com/repos/restic/restic/forks","keys_url":"https://api.github.com/repos/restic/restic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restic/restic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restic/restic/teams","hooks_url":"https://api.github.com/repos/restic/restic/hooks","issue_events_url":"https://api.github.com/repos/restic/restic/issues/events{/number}","events_url":"https://api.github.com/repos/restic/restic/events","assignees_url":"https://api.github.com/repos/restic/restic/assignees{/user}","branches_url":"https://api.github.com/repos/restic/restic/branches{/branch}","tags_url":"https://api.github.com/repos/restic/restic/tags","blobs_url":"https://api.github.com/repos/restic/restic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restic/restic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restic/restic/git/refs{/sha}","trees_url":"https://api.github.com/repos/restic/restic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restic/restic/statuses/{sha}","languages_url":"https://api.github.com/repos/restic/restic/languages","stargazers_url":"https://api.github.com/repos/restic/restic/stargazers","contributors_url":"https://api.github.com/repos/restic/restic/contributors","subscribers_url":"https://api.github.com/repos/restic/restic/subscribers","subscription_url":"https://api.github.com/repos/restic/restic/subscription","commits_url":"https://api.github.com/repos/restic/restic/commits{/sha}","git_commits_url":"https://api.github.com/repos/restic/restic/git/commits{/sha}","comments_url":"https://api.github.com/repos/restic/restic/comments{/number}","issue_comment_url":"https://api.github.com/repos/restic/restic/issues/comments{/number}","contents_url":"https://api.github.com/repos/restic/restic/contents/{+path}","compare_url":"https://api.github.com/repos/restic/restic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restic/restic/merges","archive_url":"https://api.github.com/repos/restic/restic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restic/restic/downloads","issues_url":"https://api.github.com/repos/restic/restic/issues{/number}","pulls_url":"https://api.github.com/repos/restic/restic/pulls{/number}","milestones_url":"https://api.github.com/repos/restic/restic/milestones{/number}","notifications_url":"https://api.github.com/repos/restic/restic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restic/restic/labels{/name}","releases_url":"https://api.github.com/repos/restic/restic/releases{/id}","created_at":"2014-04-27T14:07:58Z","updated_at":"2015-07-27T11:06:48Z","pushed_at":"2015-08-05T14:48:08Z","git_url":"git://github.com/restic/restic.git","ssh_url":"git@github.com:restic/restic.git","clone_url":"https://github.com/restic/restic.git","svn_url":"https://github.com/restic/restic","homepage":"","size":11482,"stargazers_count":140,"watchers_count":140,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":63,"forks":16,"open_issues":63,"watchers":140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/restic/restic/pulls/253"},"html":{"href":"https://github.com/restic/restic/pull/253"},"issue":{"href":"https://api.github.com/repos/restic/restic/issues/253"},"comments":{"href":"https://api.github.com/repos/restic/restic/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/restic/restic/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/restic/restic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/restic/restic/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/restic/restic/statuses/010c9ed1764e5b97e40d1c598e2fcdff3a48c750"}}}}