{"action":"created","comment":{"url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/comments/171595256","pull_request_review_id":100475315,"id":171595256,"diff_hunk":"@@ -74,6 +82,9 @@ def add_arguments(self, parser):\n                                                      \" and export time as \"\n                                                      \"columns: True | False\")\n \n+        parser.add_argument('--filter_fields', help=\"filter fields by column \"","path":"apps/accounts/management/commands/model2csv.py","position":30,"original_position":30,"commit_id":"76fbcd52cf7089881c706d38c59386a211121d00","original_commit_id":"76fbcd52cf7089881c706d38c59386a211121d00","user":{"login":"rnagle","id":72608,"avatar_url":"https://avatars1.githubusercontent.com/u/72608?v=4","gravatar_id":"","url":"https://api.github.com/users/rnagle","html_url":"https://github.com/rnagle","followers_url":"https://api.github.com/users/rnagle/followers","following_url":"https://api.github.com/users/rnagle/following{/other_user}","gists_url":"https://api.github.com/users/rnagle/gists{/gist_id}","starred_url":"https://api.github.com/users/rnagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnagle/subscriptions","organizations_url":"https://api.github.com/users/rnagle/orgs","repos_url":"https://api.github.com/users/rnagle/repos","events_url":"https://api.github.com/users/rnagle/events{/privacy}","received_events_url":"https://api.github.com/users/rnagle/received_events","type":"User","site_admin":false},"body":"Please consider using the actual field names here. This will go a long way towards helping our future selves understand what exactly this command is doing after we've forgotten what fields the column numbers map to. 😉 ","created_at":"2018-03-01T15:32:24Z","updated_at":"2018-03-01T15:36:07Z","html_url":"https://github.com/CMSgov/bluebutton-web-server/pull/529#discussion_r171595256","pull_request_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/comments/171595256"},"html":{"href":"https://github.com/CMSgov/bluebutton-web-server/pull/529#discussion_r171595256"},"pull_request":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529"}}},"pull_request":{"url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529","id":172104260,"html_url":"https://github.com/CMSgov/bluebutton-web-server/pull/529","diff_url":"https://github.com/CMSgov/bluebutton-web-server/pull/529.diff","patch_url":"https://github.com/CMSgov/bluebutton-web-server/pull/529.patch","issue_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/529","number":529,"state":"open","locked":false,"title":"Allow field columns numbers to be expressed in exportcsv command.","user":{"login":"ekivemark","id":104304,"avatar_url":"https://avatars2.githubusercontent.com/u/104304?v=4","gravatar_id":"","url":"https://api.github.com/users/ekivemark","html_url":"https://github.com/ekivemark","followers_url":"https://api.github.com/users/ekivemark/followers","following_url":"https://api.github.com/users/ekivemark/following{/other_user}","gists_url":"https://api.github.com/users/ekivemark/gists{/gist_id}","starred_url":"https://api.github.com/users/ekivemark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekivemark/subscriptions","organizations_url":"https://api.github.com/users/ekivemark/orgs","repos_url":"https://api.github.com/users/ekivemark/repos","events_url":"https://api.github.com/users/ekivemark/events{/privacy}","received_events_url":"https://api.github.com/users/ekivemark/received_events","type":"User","site_admin":false},"body":"This allows only required columns to be exported.\r\nThis avoids a bug where problem columns like redirect_url can be excluded,\r\nimproving reliability of the export command.\r\n\r\nThis is an out of band operation. i is run via a management command via SSH and is not run as part of the codebase via Apache. Therefore it is low impact to operations. \r\nThis is needed to get the application list into Splunk.\r\n","created_at":"2018-02-28T23:31:34Z","updated_at":"2018-03-01T15:36:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"788365fec8fba93a4d3042a2e895c763ff33631d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"samgensburg-gov","id":25462603,"avatar_url":"https://avatars2.githubusercontent.com/u/25462603?v=4","gravatar_id":"","url":"https://api.github.com/users/samgensburg-gov","html_url":"https://github.com/samgensburg-gov","followers_url":"https://api.github.com/users/samgensburg-gov/followers","following_url":"https://api.github.com/users/samgensburg-gov/following{/other_user}","gists_url":"https://api.github.com/users/samgensburg-gov/gists{/gist_id}","starred_url":"https://api.github.com/users/samgensburg-gov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samgensburg-gov/subscriptions","organizations_url":"https://api.github.com/users/samgensburg-gov/orgs","repos_url":"https://api.github.com/users/samgensburg-gov/repos","events_url":"https://api.github.com/users/samgensburg-gov/events{/privacy}","received_events_url":"https://api.github.com/users/samgensburg-gov/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529/commits","review_comments_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529/comments","review_comment_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/529/comments","statuses_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/statuses/76fbcd52cf7089881c706d38c59386a211121d00","head":{"label":"CMSgov:export_table_choose_fields","ref":"export_table_choose_fields","sha":"76fbcd52cf7089881c706d38c59386a211121d00","user":{"login":"CMSgov","id":3209407,"avatar_url":"https://avatars3.githubusercontent.com/u/3209407?v=4","gravatar_id":"","url":"https://api.github.com/users/CMSgov","html_url":"https://github.com/CMSgov","followers_url":"https://api.github.com/users/CMSgov/followers","following_url":"https://api.github.com/users/CMSgov/following{/other_user}","gists_url":"https://api.github.com/users/CMSgov/gists{/gist_id}","starred_url":"https://api.github.com/users/CMSgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMSgov/subscriptions","organizations_url":"https://api.github.com/users/CMSgov/orgs","repos_url":"https://api.github.com/users/CMSgov/repos","events_url":"https://api.github.com/users/CMSgov/events{/privacy}","received_events_url":"https://api.github.com/users/CMSgov/received_events","type":"Organization","site_admin":false},"repo":{"id":50062960,"name":"bluebutton-web-server","full_name":"CMSgov/bluebutton-web-server","owner":{"login":"CMSgov","id":3209407,"avatar_url":"https://avatars3.githubusercontent.com/u/3209407?v=4","gravatar_id":"","url":"https://api.github.com/users/CMSgov","html_url":"https://github.com/CMSgov","followers_url":"https://api.github.com/users/CMSgov/followers","following_url":"https://api.github.com/users/CMSgov/following{/other_user}","gists_url":"https://api.github.com/users/CMSgov/gists{/gist_id}","starred_url":"https://api.github.com/users/CMSgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMSgov/subscriptions","organizations_url":"https://api.github.com/users/CMSgov/orgs","repos_url":"https://api.github.com/users/CMSgov/repos","events_url":"https://api.github.com/users/CMSgov/events{/privacy}","received_events_url":"https://api.github.com/users/CMSgov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMSgov/bluebutton-web-server","description":"Blue Button API","fork":false,"url":"https://api.github.com/repos/CMSgov/bluebutton-web-server","forks_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/forks","keys_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/teams","hooks_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/hooks","issue_events_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/events{/number}","events_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/events","assignees_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/assignees{/user}","branches_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/branches{/branch}","tags_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/tags","blobs_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/statuses/{sha}","languages_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/languages","stargazers_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/stargazers","contributors_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/contributors","subscribers_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/subscribers","subscription_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/subscription","commits_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/contents/{+path}","compare_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/merges","archive_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/downloads","issues_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues{/number}","pulls_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls{/number}","milestones_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/milestones{/number}","notifications_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/labels{/name}","releases_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/releases{/id}","deployments_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/deployments","created_at":"2016-01-20T21:52:00Z","updated_at":"2018-02-03T22:45:35Z","pushed_at":"2018-03-01T15:18:39Z","git_url":"git://github.com/CMSgov/bluebutton-web-server.git","ssh_url":"git@github.com:CMSgov/bluebutton-web-server.git","clone_url":"https://github.com/CMSgov/bluebutton-web-server.git","svn_url":"https://github.com/CMSgov/bluebutton-web-server","homepage":"https://sandbox.bluebutton.cms.gov","size":11374,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":10,"open_issues":8,"watchers":10,"default_branch":"develop"}},"base":{"label":"CMSgov:develop","ref":"develop","sha":"4701c88646d2f7e69b929ac317c0153a9864650c","user":{"login":"CMSgov","id":3209407,"avatar_url":"https://avatars3.githubusercontent.com/u/3209407?v=4","gravatar_id":"","url":"https://api.github.com/users/CMSgov","html_url":"https://github.com/CMSgov","followers_url":"https://api.github.com/users/CMSgov/followers","following_url":"https://api.github.com/users/CMSgov/following{/other_user}","gists_url":"https://api.github.com/users/CMSgov/gists{/gist_id}","starred_url":"https://api.github.com/users/CMSgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMSgov/subscriptions","organizations_url":"https://api.github.com/users/CMSgov/orgs","repos_url":"https://api.github.com/users/CMSgov/repos","events_url":"https://api.github.com/users/CMSgov/events{/privacy}","received_events_url":"https://api.github.com/users/CMSgov/received_events","type":"Organization","site_admin":false},"repo":{"id":50062960,"name":"bluebutton-web-server","full_name":"CMSgov/bluebutton-web-server","owner":{"login":"CMSgov","id":3209407,"avatar_url":"https://avatars3.githubusercontent.com/u/3209407?v=4","gravatar_id":"","url":"https://api.github.com/users/CMSgov","html_url":"https://github.com/CMSgov","followers_url":"https://api.github.com/users/CMSgov/followers","following_url":"https://api.github.com/users/CMSgov/following{/other_user}","gists_url":"https://api.github.com/users/CMSgov/gists{/gist_id}","starred_url":"https://api.github.com/users/CMSgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMSgov/subscriptions","organizations_url":"https://api.github.com/users/CMSgov/orgs","repos_url":"https://api.github.com/users/CMSgov/repos","events_url":"https://api.github.com/users/CMSgov/events{/privacy}","received_events_url":"https://api.github.com/users/CMSgov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMSgov/bluebutton-web-server","description":"Blue Button API","fork":false,"url":"https://api.github.com/repos/CMSgov/bluebutton-web-server","forks_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/forks","keys_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/teams","hooks_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/hooks","issue_events_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/events{/number}","events_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/events","assignees_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/assignees{/user}","branches_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/branches{/branch}","tags_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/tags","blobs_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/statuses/{sha}","languages_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/languages","stargazers_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/stargazers","contributors_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/contributors","subscribers_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/subscribers","subscription_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/subscription","commits_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/contents/{+path}","compare_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/merges","archive_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/downloads","issues_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues{/number}","pulls_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls{/number}","milestones_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/milestones{/number}","notifications_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/labels{/name}","releases_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/releases{/id}","deployments_url":"https://api.github.com/repos/CMSgov/bluebutton-web-server/deployments","created_at":"2016-01-20T21:52:00Z","updated_at":"2018-02-03T22:45:35Z","pushed_at":"2018-03-01T15:18:39Z","git_url":"git://github.com/CMSgov/bluebutton-web-server.git","ssh_url":"git@github.com:CMSgov/bluebutton-web-server.git","clone_url":"https://github.com/CMSgov/bluebutton-web-server.git","svn_url":"https://github.com/CMSgov/bluebutton-web-server","homepage":"https://sandbox.bluebutton.cms.gov","size":11374,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":10,"open_issues":8,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529"},"html":{"href":"https://github.com/CMSgov/bluebutton-web-server/pull/529"},"issue":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/529"},"comments":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/CMSgov/bluebutton-web-server/statuses/76fbcd52cf7089881c706d38c59386a211121d00"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rnagle"}}