{"action":"created","comment":{"url":"https://api.github.com/repos/git-lfs/git-lfs/pulls/comments/92486797","pull_request_review_id":13003542,"id":92486797,"diff_hunk":"@@ -0,0 +1,199 @@\n+package endpoint\n+\n+import (\n+\t\"fmt\"\n+\t\"net/url\"\n+\t\"os\"\n+\t\"path\"\n+\t\"strings\"\n+\t\"sync\"\n+\n+\t\"github.com/git-lfs/git-lfs/git\"\n+)\n+\n+const defaultRemote = \"origin\"\n+\n+type Config struct {","path":"endpoint/config.go","position":16,"original_position":16,"commit_id":"e5384cc9771758bbf6071b90216ad27974dbe275","original_commit_id":"e5384cc9771758bbf6071b90216ad27974dbe275","user":{"login":"technoweenie","id":21,"avatar_url":"https://avatars.githubusercontent.com/u/21?v=3","gravatar_id":"","url":"https://api.github.com/users/technoweenie","html_url":"https://github.com/technoweenie","followers_url":"https://api.github.com/users/technoweenie/followers","following_url":"https://api.github.com/users/technoweenie/following{/other_user}","gists_url":"https://api.github.com/users/technoweenie/gists{/gist_id}","starred_url":"https://api.github.com/users/technoweenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technoweenie/subscriptions","organizations_url":"https://api.github.com/users/technoweenie/orgs","repos_url":"https://api.github.com/users/technoweenie/repos","events_url":"https://api.github.com/users/technoweenie/events{/privacy}","received_events_url":"https://api.github.com/users/technoweenie/received_events","type":"User","site_admin":true},"body":"Yeah, I dig that. Still not sure if this belongs in here or in `api`, though.","created_at":"2016-12-14T20:55:06Z","updated_at":"2016-12-14T20:55:06Z","html_url":"https://github.com/git-lfs/git-lfs/pull/1770#discussion_r92486797","pull_request_url":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770","_links":{"self":{"href":"https://api.github.com/repos/git-lfs/git-lfs/pulls/comments/92486797"},"html":{"href":"https://github.com/git-lfs/git-lfs/pull/1770#discussion_r92486797"},"pull_request":{"href":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770"}}},"pull_request":{"url":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770","id":97997779,"html_url":"https://github.com/git-lfs/git-lfs/pull/1770","diff_url":"https://github.com/git-lfs/git-lfs/pull/1770.diff","patch_url":"https://github.com/git-lfs/git-lfs/pull/1770.patch","issue_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/1770","number":1770,"state":"open","locked":false,"title":"Tq/extract endpoint","user":{"login":"technoweenie","id":21,"avatar_url":"https://avatars.githubusercontent.com/u/21?v=3","gravatar_id":"","url":"https://api.github.com/users/technoweenie","html_url":"https://github.com/technoweenie","followers_url":"https://api.github.com/users/technoweenie/followers","following_url":"https://api.github.com/users/technoweenie/following{/other_user}","gists_url":"https://api.github.com/users/technoweenie/gists{/gist_id}","starred_url":"https://api.github.com/users/technoweenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technoweenie/subscriptions","organizations_url":"https://api.github.com/users/technoweenie/orgs","repos_url":"https://api.github.com/users/technoweenie/repos","events_url":"https://api.github.com/users/technoweenie/events{/privacy}","received_events_url":"https://api.github.com/users/technoweenie/received_events","type":"User","site_admin":true},"body":"Experiment in extracting the endpoint and url alias stuff from `config` to a new `endpoint` package. I'm starting to think it belongs in `api` instead though.","created_at":"2016-12-14T17:25:43Z","updated_at":"2016-12-14T20:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7a17fbb7c6414a3e7174e1000401e4e2764be88","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770/commits","review_comments_url":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770/comments","review_comment_url":"https://api.github.com/repos/git-lfs/git-lfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/1770/comments","statuses_url":"https://api.github.com/repos/git-lfs/git-lfs/statuses/e5384cc9771758bbf6071b90216ad27974dbe275","head":{"label":"git-lfs:tq/extract-endpoint","ref":"tq/extract-endpoint","sha":"e5384cc9771758bbf6071b90216ad27974dbe275","user":{"login":"git-lfs","id":20246716,"avatar_url":"https://avatars.githubusercontent.com/u/20246716?v=3","gravatar_id":"","url":"https://api.github.com/users/git-lfs","html_url":"https://github.com/git-lfs","followers_url":"https://api.github.com/users/git-lfs/followers","following_url":"https://api.github.com/users/git-lfs/following{/other_user}","gists_url":"https://api.github.com/users/git-lfs/gists{/gist_id}","starred_url":"https://api.github.com/users/git-lfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-lfs/subscriptions","organizations_url":"https://api.github.com/users/git-lfs/orgs","repos_url":"https://api.github.com/users/git-lfs/repos","events_url":"https://api.github.com/users/git-lfs/events{/privacy}","received_events_url":"https://api.github.com/users/git-lfs/received_events","type":"Organization","site_admin":false},"repo":{"id":13021798,"name":"git-lfs","full_name":"git-lfs/git-lfs","owner":{"login":"git-lfs","id":20246716,"avatar_url":"https://avatars.githubusercontent.com/u/20246716?v=3","gravatar_id":"","url":"https://api.github.com/users/git-lfs","html_url":"https://github.com/git-lfs","followers_url":"https://api.github.com/users/git-lfs/followers","following_url":"https://api.github.com/users/git-lfs/following{/other_user}","gists_url":"https://api.github.com/users/git-lfs/gists{/gist_id}","starred_url":"https://api.github.com/users/git-lfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-lfs/subscriptions","organizations_url":"https://api.github.com/users/git-lfs/orgs","repos_url":"https://api.github.com/users/git-lfs/repos","events_url":"https://api.github.com/users/git-lfs/events{/privacy}","received_events_url":"https://api.github.com/users/git-lfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/git-lfs/git-lfs","description":"Git extension for versioning large files","fork":false,"url":"https://api.github.com/repos/git-lfs/git-lfs","forks_url":"https://api.github.com/repos/git-lfs/git-lfs/forks","keys_url":"https://api.github.com/repos/git-lfs/git-lfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/git-lfs/git-lfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/git-lfs/git-lfs/teams","hooks_url":"https://api.github.com/repos/git-lfs/git-lfs/hooks","issue_events_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/events{/number}","events_url":"https://api.github.com/repos/git-lfs/git-lfs/events","assignees_url":"https://api.github.com/repos/git-lfs/git-lfs/assignees{/user}","branches_url":"https://api.github.com/repos/git-lfs/git-lfs/branches{/branch}","tags_url":"https://api.github.com/repos/git-lfs/git-lfs/tags","blobs_url":"https://api.github.com/repos/git-lfs/git-lfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/git-lfs/git-lfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/git-lfs/git-lfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/git-lfs/git-lfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/git-lfs/git-lfs/statuses/{sha}","languages_url":"https://api.github.com/repos/git-lfs/git-lfs/languages","stargazers_url":"https://api.github.com/repos/git-lfs/git-lfs/stargazers","contributors_url":"https://api.github.com/repos/git-lfs/git-lfs/contributors","subscribers_url":"https://api.github.com/repos/git-lfs/git-lfs/subscribers","subscription_url":"https://api.github.com/repos/git-lfs/git-lfs/subscription","commits_url":"https://api.github.com/repos/git-lfs/git-lfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/git-lfs/git-lfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/git-lfs/git-lfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/git-lfs/git-lfs/contents/{+path}","compare_url":"https://api.github.com/repos/git-lfs/git-lfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/git-lfs/git-lfs/merges","archive_url":"https://api.github.com/repos/git-lfs/git-lfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/git-lfs/git-lfs/downloads","issues_url":"https://api.github.com/repos/git-lfs/git-lfs/issues{/number}","pulls_url":"https://api.github.com/repos/git-lfs/git-lfs/pulls{/number}","milestones_url":"https://api.github.com/repos/git-lfs/git-lfs/milestones{/number}","notifications_url":"https://api.github.com/repos/git-lfs/git-lfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/git-lfs/git-lfs/labels{/name}","releases_url":"https://api.github.com/repos/git-lfs/git-lfs/releases{/id}","deployments_url":"https://api.github.com/repos/git-lfs/git-lfs/deployments","created_at":"2013-09-22T22:03:28Z","updated_at":"2016-12-14T12:03:18Z","pushed_at":"2016-12-14T19:23:44Z","git_url":"git://github.com/git-lfs/git-lfs.git","ssh_url":"git@github.com:git-lfs/git-lfs.git","clone_url":"https://github.com/git-lfs/git-lfs.git","svn_url":"https://github.com/git-lfs/git-lfs","homepage":"https://git-lfs.github.com","size":7114,"stargazers_count":4130,"watchers_count":4130,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":609,"mirror_url":null,"open_issues_count":187,"forks":609,"open_issues":187,"watchers":4130,"default_branch":"master"}},"base":{"label":"git-lfs:tq-master","ref":"tq-master","sha":"7288d20a0a8a29167961d29971ca1820acfcb9a4","user":{"login":"git-lfs","id":20246716,"avatar_url":"https://avatars.githubusercontent.com/u/20246716?v=3","gravatar_id":"","url":"https://api.github.com/users/git-lfs","html_url":"https://github.com/git-lfs","followers_url":"https://api.github.com/users/git-lfs/followers","following_url":"https://api.github.com/users/git-lfs/following{/other_user}","gists_url":"https://api.github.com/users/git-lfs/gists{/gist_id}","starred_url":"https://api.github.com/users/git-lfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-lfs/subscriptions","organizations_url":"https://api.github.com/users/git-lfs/orgs","repos_url":"https://api.github.com/users/git-lfs/repos","events_url":"https://api.github.com/users/git-lfs/events{/privacy}","received_events_url":"https://api.github.com/users/git-lfs/received_events","type":"Organization","site_admin":false},"repo":{"id":13021798,"name":"git-lfs","full_name":"git-lfs/git-lfs","owner":{"login":"git-lfs","id":20246716,"avatar_url":"https://avatars.githubusercontent.com/u/20246716?v=3","gravatar_id":"","url":"https://api.github.com/users/git-lfs","html_url":"https://github.com/git-lfs","followers_url":"https://api.github.com/users/git-lfs/followers","following_url":"https://api.github.com/users/git-lfs/following{/other_user}","gists_url":"https://api.github.com/users/git-lfs/gists{/gist_id}","starred_url":"https://api.github.com/users/git-lfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-lfs/subscriptions","organizations_url":"https://api.github.com/users/git-lfs/orgs","repos_url":"https://api.github.com/users/git-lfs/repos","events_url":"https://api.github.com/users/git-lfs/events{/privacy}","received_events_url":"https://api.github.com/users/git-lfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/git-lfs/git-lfs","description":"Git extension for versioning large files","fork":false,"url":"https://api.github.com/repos/git-lfs/git-lfs","forks_url":"https://api.github.com/repos/git-lfs/git-lfs/forks","keys_url":"https://api.github.com/repos/git-lfs/git-lfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/git-lfs/git-lfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/git-lfs/git-lfs/teams","hooks_url":"https://api.github.com/repos/git-lfs/git-lfs/hooks","issue_events_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/events{/number}","events_url":"https://api.github.com/repos/git-lfs/git-lfs/events","assignees_url":"https://api.github.com/repos/git-lfs/git-lfs/assignees{/user}","branches_url":"https://api.github.com/repos/git-lfs/git-lfs/branches{/branch}","tags_url":"https://api.github.com/repos/git-lfs/git-lfs/tags","blobs_url":"https://api.github.com/repos/git-lfs/git-lfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/git-lfs/git-lfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/git-lfs/git-lfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/git-lfs/git-lfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/git-lfs/git-lfs/statuses/{sha}","languages_url":"https://api.github.com/repos/git-lfs/git-lfs/languages","stargazers_url":"https://api.github.com/repos/git-lfs/git-lfs/stargazers","contributors_url":"https://api.github.com/repos/git-lfs/git-lfs/contributors","subscribers_url":"https://api.github.com/repos/git-lfs/git-lfs/subscribers","subscription_url":"https://api.github.com/repos/git-lfs/git-lfs/subscription","commits_url":"https://api.github.com/repos/git-lfs/git-lfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/git-lfs/git-lfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/git-lfs/git-lfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/git-lfs/git-lfs/contents/{+path}","compare_url":"https://api.github.com/repos/git-lfs/git-lfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/git-lfs/git-lfs/merges","archive_url":"https://api.github.com/repos/git-lfs/git-lfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/git-lfs/git-lfs/downloads","issues_url":"https://api.github.com/repos/git-lfs/git-lfs/issues{/number}","pulls_url":"https://api.github.com/repos/git-lfs/git-lfs/pulls{/number}","milestones_url":"https://api.github.com/repos/git-lfs/git-lfs/milestones{/number}","notifications_url":"https://api.github.com/repos/git-lfs/git-lfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/git-lfs/git-lfs/labels{/name}","releases_url":"https://api.github.com/repos/git-lfs/git-lfs/releases{/id}","deployments_url":"https://api.github.com/repos/git-lfs/git-lfs/deployments","created_at":"2013-09-22T22:03:28Z","updated_at":"2016-12-14T12:03:18Z","pushed_at":"2016-12-14T19:23:44Z","git_url":"git://github.com/git-lfs/git-lfs.git","ssh_url":"git@github.com:git-lfs/git-lfs.git","clone_url":"https://github.com/git-lfs/git-lfs.git","svn_url":"https://github.com/git-lfs/git-lfs","homepage":"https://git-lfs.github.com","size":7114,"stargazers_count":4130,"watchers_count":4130,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":609,"mirror_url":null,"open_issues_count":187,"forks":609,"open_issues":187,"watchers":4130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770"},"html":{"href":"https://github.com/git-lfs/git-lfs/pull/1770"},"issue":{"href":"https://api.github.com/repos/git-lfs/git-lfs/issues/1770"},"comments":{"href":"https://api.github.com/repos/git-lfs/git-lfs/issues/1770/comments"},"review_comments":{"href":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770/comments"},"review_comment":{"href":"https://api.github.com/repos/git-lfs/git-lfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/git-lfs/git-lfs/pulls/1770/commits"},"statuses":{"href":"https://api.github.com/repos/git-lfs/git-lfs/statuses/e5384cc9771758bbf6071b90216ad27974dbe275"}}}}
{"actor":{"display_login":"technoweenie"}}