{"action":"created","comment":{"url":"https://api.github.com/repos/github/git-lfs/pulls/comments/36461292","id":36461292,"diff_hunk":"@@ -0,0 +1,80 @@\n+package commands\n+\n+import (\n+\t\"io/ioutil\"\n+\t\"strings\"\n+\t\"testing\"\n+)\n+\n+//New commands must be added here\n+var helpText = map[string]string {\n+\t\"git-lfs-checkout.1.ronn\":git_lfs_checkout_HelpText,\n+    \"git-lfs-clean.1.ronn\":git_lfs_clean_HelpText,\n+\t\"git-lfs-env.1.ronn\":git_lfs_env_HelpText,\n+\t\"git-lfs-fetch.1.ronn\":git_lfs_fetch_HelpText,\n+\t\"git-lfs-fsck.1.ronn\":git_lfs_fsck_HelpText,\n+\t\"git-lfs-init.1.ronn\":git_lfs_init_HelpText,\n+\t\"git-lfs-logs.1.ronn\":git_lfs_logs_HelpText,\n+\t\"git-lfs-ls-files.1.ronn\":git_lfs_ls_files_HelpText,\n+\t\"git-lfs-pointer.1.ronn\":git_lfs_pointer_HelpText,\n+\t\"git-lfs-pre-push.1.ronn\":git_lfs_pre_push_HelpText,\n+\t\"git-lfs-pull.1.ronn\":git_lfs_pull_HelpText,\n+\t\"git-lfs-push.1.ronn\":git_lfs_push_HelpText,\n+\t\"git-lfs-smudge.1.ronn\":git_lfs_smudge_HelpText,\n+\t\"git-lfs-status.1.ronn\":git_lfs_status_HelpText,\n+\t\"git-lfs-track.1.ronn\":git_lfs_track_HelpText,\n+\t\"git-lfs-uninit.1.ronn\":git_lfs_uninit_HelpText,\n+\t\"git-lfs-untrack.1.ronn\":git_lfs_untrack_HelpText,\n+\t\"git-lfs-update.1.ronn\":git_lfs_update_HelpText,\n+\t\"git-lfs.1.ronn\":git_lfs_HelpText,\n+}\n+\n+var(\n+\tsuffix \t\tstring \t= \".1.ronn\"","path":"commands/help-text_test.go","position":33,"original_position":33,"commit_id":"d87afaaaefcd294d656115effe7e835341253664","original_commit_id":"d87afaaaefcd294d656115effe7e835341253664","user":{"login":"WillHipschman","id":1807809,"avatar_url":"https://avatars.githubusercontent.com/u/1807809?v=3","gravatar_id":"","url":"https://api.github.com/users/WillHipschman","html_url":"https://github.com/WillHipschman","followers_url":"https://api.github.com/users/WillHipschman/followers","following_url":"https://api.github.com/users/WillHipschman/following{/other_user}","gists_url":"https://api.github.com/users/WillHipschman/gists{/gist_id}","starred_url":"https://api.github.com/users/WillHipschman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillHipschman/subscriptions","organizations_url":"https://api.github.com/users/WillHipschman/orgs","repos_url":"https://api.github.com/users/WillHipschman/repos","events_url":"https://api.github.com/users/WillHipschman/events{/privacy}","received_events_url":"https://api.github.com/users/WillHipschman/received_events","type":"User","site_admin":false},"body":"This file has some weird tabbing. I blame windows.","created_at":"2015-08-06T20:28:19Z","updated_at":"2015-08-06T20:28:19Z","html_url":"https://github.com/github/git-lfs/pull/568#discussion_r36461292","pull_request_url":"https://api.github.com/repos/github/git-lfs/pulls/568","_links":{"self":{"href":"https://api.github.com/repos/github/git-lfs/pulls/comments/36461292"},"html":{"href":"https://github.com/github/git-lfs/pull/568#discussion_r36461292"},"pull_request":{"href":"https://api.github.com/repos/github/git-lfs/pulls/568"}}},"pull_request":{"url":"https://api.github.com/repos/github/git-lfs/pulls/568","id":41830623,"html_url":"https://github.com/github/git-lfs/pull/568","diff_url":"https://github.com/github/git-lfs/pull/568.diff","patch_url":"https://github.com/github/git-lfs/pull/568.patch","issue_url":"https://api.github.com/repos/github/git-lfs/issues/568","number":568,"state":"open","locked":false,"title":"Adding Help Text To Commands","user":{"login":"WillHipschman","id":1807809,"avatar_url":"https://avatars.githubusercontent.com/u/1807809?v=3","gravatar_id":"","url":"https://api.github.com/users/WillHipschman","html_url":"https://github.com/WillHipschman","followers_url":"https://api.github.com/users/WillHipschman/followers","following_url":"https://api.github.com/users/WillHipschman/following{/other_user}","gists_url":"https://api.github.com/users/WillHipschman/gists{/gist_id}","starred_url":"https://api.github.com/users/WillHipschman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillHipschman/subscriptions","organizations_url":"https://api.github.com/users/WillHipschman/orgs","repos_url":"https://api.github.com/users/WillHipschman/repos","events_url":"https://api.github.com/users/WillHipschman/events{/privacy}","received_events_url":"https://api.github.com/users/WillHipschman/received_events","type":"User","site_admin":false},"body":"Currently using git lfs help checkout will not display anything other than the base help text of the Cobra command.\r\n\r\nThis change parses the .ronn man files in /docs/ and writes them to go variables as part of script/bootstrap using go generators. When making a man change (adding a new command/man file or modifying a current one) the help text can be regenerated by running 'go generate' from the git-lfs root or by running the bootstrap script.","created_at":"2015-08-06T20:25:39Z","updated_at":"2015-08-06T20:28:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d06800110a8d4625defd2d319b301abf74b23d38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/git-lfs/pulls/568/commits","review_comments_url":"https://api.github.com/repos/github/git-lfs/pulls/568/comments","review_comment_url":"https://api.github.com/repos/github/git-lfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/git-lfs/issues/568/comments","statuses_url":"https://api.github.com/repos/github/git-lfs/statuses/d87afaaaefcd294d656115effe7e835341253664","head":{"label":"WillHipschman:HelpText","ref":"HelpText","sha":"d87afaaaefcd294d656115effe7e835341253664","user":{"login":"WillHipschman","id":1807809,"avatar_url":"https://avatars.githubusercontent.com/u/1807809?v=3","gravatar_id":"","url":"https://api.github.com/users/WillHipschman","html_url":"https://github.com/WillHipschman","followers_url":"https://api.github.com/users/WillHipschman/followers","following_url":"https://api.github.com/users/WillHipschman/following{/other_user}","gists_url":"https://api.github.com/users/WillHipschman/gists{/gist_id}","starred_url":"https://api.github.com/users/WillHipschman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillHipschman/subscriptions","organizations_url":"https://api.github.com/users/WillHipschman/orgs","repos_url":"https://api.github.com/users/WillHipschman/repos","events_url":"https://api.github.com/users/WillHipschman/events{/privacy}","received_events_url":"https://api.github.com/users/WillHipschman/received_events","type":"User","site_admin":false},"repo":{"id":40211886,"name":"git-lfs","full_name":"WillHipschman/git-lfs","owner":{"login":"WillHipschman","id":1807809,"avatar_url":"https://avatars.githubusercontent.com/u/1807809?v=3","gravatar_id":"","url":"https://api.github.com/users/WillHipschman","html_url":"https://github.com/WillHipschman","followers_url":"https://api.github.com/users/WillHipschman/followers","following_url":"https://api.github.com/users/WillHipschman/following{/other_user}","gists_url":"https://api.github.com/users/WillHipschman/gists{/gist_id}","starred_url":"https://api.github.com/users/WillHipschman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillHipschman/subscriptions","organizations_url":"https://api.github.com/users/WillHipschman/orgs","repos_url":"https://api.github.com/users/WillHipschman/repos","events_url":"https://api.github.com/users/WillHipschman/events{/privacy}","received_events_url":"https://api.github.com/users/WillHipschman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WillHipschman/git-lfs","description":"Git extension for versioning large files","fork":true,"url":"https://api.github.com/repos/WillHipschman/git-lfs","forks_url":"https://api.github.com/repos/WillHipschman/git-lfs/forks","keys_url":"https://api.github.com/repos/WillHipschman/git-lfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WillHipschman/git-lfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WillHipschman/git-lfs/teams","hooks_url":"https://api.github.com/repos/WillHipschman/git-lfs/hooks","issue_events_url":"https://api.github.com/repos/WillHipschman/git-lfs/issues/events{/number}","events_url":"https://api.github.com/repos/WillHipschman/git-lfs/events","assignees_url":"https://api.github.com/repos/WillHipschman/git-lfs/assignees{/user}","branches_url":"https://api.github.com/repos/WillHipschman/git-lfs/branches{/branch}","tags_url":"https://api.github.com/repos/WillHipschman/git-lfs/tags","blobs_url":"https://api.github.com/repos/WillHipschman/git-lfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WillHipschman/git-lfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WillHipschman/git-lfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/WillHipschman/git-lfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WillHipschman/git-lfs/statuses/{sha}","languages_url":"https://api.github.com/repos/WillHipschman/git-lfs/languages","stargazers_url":"https://api.github.com/repos/WillHipschman/git-lfs/stargazers","contributors_url":"https://api.github.com/repos/WillHipschman/git-lfs/contributors","subscribers_url":"https://api.github.com/repos/WillHipschman/git-lfs/subscribers","subscription_url":"https://api.github.com/repos/WillHipschman/git-lfs/subscription","commits_url":"https://api.github.com/repos/WillHipschman/git-lfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/WillHipschman/git-lfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/WillHipschman/git-lfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/WillHipschman/git-lfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/WillHipschman/git-lfs/contents/{+path}","compare_url":"https://api.github.com/repos/WillHipschman/git-lfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WillHipschman/git-lfs/merges","archive_url":"https://api.github.com/repos/WillHipschman/git-lfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WillHipschman/git-lfs/downloads","issues_url":"https://api.github.com/repos/WillHipschman/git-lfs/issues{/number}","pulls_url":"https://api.github.com/repos/WillHipschman/git-lfs/pulls{/number}","milestones_url":"https://api.github.com/repos/WillHipschman/git-lfs/milestones{/number}","notifications_url":"https://api.github.com/repos/WillHipschman/git-lfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WillHipschman/git-lfs/labels{/name}","releases_url":"https://api.github.com/repos/WillHipschman/git-lfs/releases{/id}","created_at":"2015-08-04T22:18:30Z","updated_at":"2015-08-04T22:18:30Z","pushed_at":"2015-08-06T20:20:08Z","git_url":"git://github.com/WillHipschman/git-lfs.git","ssh_url":"git@github.com:WillHipschman/git-lfs.git","clone_url":"https://github.com/WillHipschman/git-lfs.git","svn_url":"https://github.com/WillHipschman/git-lfs","homepage":"https://git-lfs.github.com","size":9988,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"github:master","ref":"master","sha":"72e8dd624e3c0d052bbb44c0b82e7225ecb65d79","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":13021798,"name":"git-lfs","full_name":"github/git-lfs","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/git-lfs","description":"Git extension for versioning large files","fork":false,"url":"https://api.github.com/repos/github/git-lfs","forks_url":"https://api.github.com/repos/github/git-lfs/forks","keys_url":"https://api.github.com/repos/github/git-lfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/git-lfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/git-lfs/teams","hooks_url":"https://api.github.com/repos/github/git-lfs/hooks","issue_events_url":"https://api.github.com/repos/github/git-lfs/issues/events{/number}","events_url":"https://api.github.com/repos/github/git-lfs/events","assignees_url":"https://api.github.com/repos/github/git-lfs/assignees{/user}","branches_url":"https://api.github.com/repos/github/git-lfs/branches{/branch}","tags_url":"https://api.github.com/repos/github/git-lfs/tags","blobs_url":"https://api.github.com/repos/github/git-lfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/git-lfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/git-lfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/git-lfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/git-lfs/statuses/{sha}","languages_url":"https://api.github.com/repos/github/git-lfs/languages","stargazers_url":"https://api.github.com/repos/github/git-lfs/stargazers","contributors_url":"https://api.github.com/repos/github/git-lfs/contributors","subscribers_url":"https://api.github.com/repos/github/git-lfs/subscribers","subscription_url":"https://api.github.com/repos/github/git-lfs/subscription","commits_url":"https://api.github.com/repos/github/git-lfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/git-lfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/git-lfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/git-lfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/git-lfs/contents/{+path}","compare_url":"https://api.github.com/repos/github/git-lfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/git-lfs/merges","archive_url":"https://api.github.com/repos/github/git-lfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/git-lfs/downloads","issues_url":"https://api.github.com/repos/github/git-lfs/issues{/number}","pulls_url":"https://api.github.com/repos/github/git-lfs/pulls{/number}","milestones_url":"https://api.github.com/repos/github/git-lfs/milestones{/number}","notifications_url":"https://api.github.com/repos/github/git-lfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/git-lfs/labels{/name}","releases_url":"https://api.github.com/repos/github/git-lfs/releases{/id}","created_at":"2013-09-22T22:03:28Z","updated_at":"2015-08-06T14:50:40Z","pushed_at":"2015-08-06T20:25:39Z","git_url":"git://github.com/github/git-lfs.git","ssh_url":"git@github.com:github/git-lfs.git","clone_url":"https://github.com/github/git-lfs.git","svn_url":"https://github.com/github/git-lfs","homepage":"https://git-lfs.github.com","size":9988,"stargazers_count":2218,"watchers_count":2218,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":143,"mirror_url":null,"open_issues_count":101,"forks":143,"open_issues":101,"watchers":2218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/git-lfs/pulls/568"},"html":{"href":"https://github.com/github/git-lfs/pull/568"},"issue":{"href":"https://api.github.com/repos/github/git-lfs/issues/568"},"comments":{"href":"https://api.github.com/repos/github/git-lfs/issues/568/comments"},"review_comments":{"href":"https://api.github.com/repos/github/git-lfs/pulls/568/comments"},"review_comment":{"href":"https://api.github.com/repos/github/git-lfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/git-lfs/pulls/568/commits"},"statuses":{"href":"https://api.github.com/repos/github/git-lfs/statuses/d87afaaaefcd294d656115effe7e835341253664"}}}}