{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/53","id":225829859,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODI5ODU5","html_url":"https://github.com/usnistgov/oar-pdr/pull/53","diff_url":"https://github.com/usnistgov/oar-pdr/pull/53.diff","patch_url":"https://github.com/usnistgov/oar-pdr/pull/53.patch","issue_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues/53","number":53,"state":"closed","locked":false,"title":"Fixed the unit and filesize display.","user":{"login":"deoyani","id":5374294,"node_id":"MDQ6VXNlcjUzNzQyOTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5374294?v=4","gravatar_id":"","url":"https://api.github.com/users/deoyani","html_url":"https://github.com/deoyani","followers_url":"https://api.github.com/users/deoyani/followers","following_url":"https://api.github.com/users/deoyani/following{/other_user}","gists_url":"https://api.github.com/users/deoyani/gists{/gist_id}","starred_url":"https://api.github.com/users/deoyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deoyani/subscriptions","organizations_url":"https://api.github.com/users/deoyani/orgs","repos_url":"https://api.github.com/users/deoyani/repos","events_url":"https://api.github.com/users/deoyani/events{/privacy}","received_events_url":"https://api.github.com/users/deoyani/received_events","type":"User","site_admin":false},"body":"Issue reported in [ODD-614](http://mml.nist.gov:8080/browse/ODD-614)\r\nThis pull request mainly addresses the issue of files units and size display. \r\n1. Fixed as per requirement specified as \r\nwhen the size is 1000 bytes or greater that the value be converted to floating point with a metric byte unit such that:\r\n* the number contain at least 3 significant digits\r\n* there is 1-3 digits to the left of the decimal point\r\n* there is a minimum of 1 digit to the right of the decimal point\r\n* there is not more than 2 digits to the right of the decimal point\r\n\r\n2. It also fixes some issue with URL rewriting when arkid specified in the url.\r\n","created_at":"2018-10-25T16:43:42Z","updated_at":"2018-10-25T19:52:59Z","closed_at":"2018-10-25T19:52:59Z","merged_at":"2018-10-25T19:52:59Z","merge_commit_sha":"0aa58d1df6aac36d1e48d12f97e63c492ec86b15","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/53/commits","review_comments_url":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/53/comments","review_comment_url":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues/53/comments","statuses_url":"https://api.github.com/repos/usnistgov/oar-pdr/statuses/4b5a27d0d2dcf8602eba69d1a980f85c1ca278bb","head":{"label":"usnistgov:ODD-614-Filesize_unit_display","ref":"ODD-614-Filesize_unit_display","sha":"4b5a27d0d2dcf8602eba69d1a980f85c1ca278bb","user":{"login":"usnistgov","id":5330158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzAxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5330158?v=4","gravatar_id":"","url":"https://api.github.com/users/usnistgov","html_url":"https://github.com/usnistgov","followers_url":"https://api.github.com/users/usnistgov/followers","following_url":"https://api.github.com/users/usnistgov/following{/other_user}","gists_url":"https://api.github.com/users/usnistgov/gists{/gist_id}","starred_url":"https://api.github.com/users/usnistgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usnistgov/subscriptions","organizations_url":"https://api.github.com/users/usnistgov/orgs","repos_url":"https://api.github.com/users/usnistgov/repos","events_url":"https://api.github.com/users/usnistgov/events{/privacy}","received_events_url":"https://api.github.com/users/usnistgov/received_events","type":"Organization","site_admin":false},"repo":{"id":60717448,"node_id":"MDEwOlJlcG9zaXRvcnk2MDcxNzQ0OA==","name":"oar-pdr","full_name":"usnistgov/oar-pdr","private":false,"owner":{"login":"usnistgov","id":5330158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzAxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5330158?v=4","gravatar_id":"","url":"https://api.github.com/users/usnistgov","html_url":"https://github.com/usnistgov","followers_url":"https://api.github.com/users/usnistgov/followers","following_url":"https://api.github.com/users/usnistgov/following{/other_user}","gists_url":"https://api.github.com/users/usnistgov/gists{/gist_id}","starred_url":"https://api.github.com/users/usnistgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usnistgov/subscriptions","organizations_url":"https://api.github.com/users/usnistgov/orgs","repos_url":"https://api.github.com/users/usnistgov/repos","events_url":"https://api.github.com/users/usnistgov/events{/privacy}","received_events_url":"https://api.github.com/users/usnistgov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/usnistgov/oar-pdr","description":"The NIST Public Data Repository system software","fork":false,"url":"https://api.github.com/repos/usnistgov/oar-pdr","forks_url":"https://api.github.com/repos/usnistgov/oar-pdr/forks","keys_url":"https://api.github.com/repos/usnistgov/oar-pdr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usnistgov/oar-pdr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usnistgov/oar-pdr/teams","hooks_url":"https://api.github.com/repos/usnistgov/oar-pdr/hooks","issue_events_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues/events{/number}","events_url":"https://api.github.com/repos/usnistgov/oar-pdr/events","assignees_url":"https://api.github.com/repos/usnistgov/oar-pdr/assignees{/user}","branches_url":"https://api.github.com/repos/usnistgov/oar-pdr/branches{/branch}","tags_url":"https://api.github.com/repos/usnistgov/oar-pdr/tags","blobs_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/refs{/sha}","trees_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usnistgov/oar-pdr/statuses/{sha}","languages_url":"https://api.github.com/repos/usnistgov/oar-pdr/languages","stargazers_url":"https://api.github.com/repos/usnistgov/oar-pdr/stargazers","contributors_url":"https://api.github.com/repos/usnistgov/oar-pdr/contributors","subscribers_url":"https://api.github.com/repos/usnistgov/oar-pdr/subscribers","subscription_url":"https://api.github.com/repos/usnistgov/oar-pdr/subscription","commits_url":"https://api.github.com/repos/usnistgov/oar-pdr/commits{/sha}","git_commits_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/commits{/sha}","comments_url":"https://api.github.com/repos/usnistgov/oar-pdr/comments{/number}","issue_comment_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues/comments{/number}","contents_url":"https://api.github.com/repos/usnistgov/oar-pdr/contents/{+path}","compare_url":"https://api.github.com/repos/usnistgov/oar-pdr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usnistgov/oar-pdr/merges","archive_url":"https://api.github.com/repos/usnistgov/oar-pdr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usnistgov/oar-pdr/downloads","issues_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues{/number}","pulls_url":"https://api.github.com/repos/usnistgov/oar-pdr/pulls{/number}","milestones_url":"https://api.github.com/repos/usnistgov/oar-pdr/milestones{/number}","notifications_url":"https://api.github.com/repos/usnistgov/oar-pdr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usnistgov/oar-pdr/labels{/name}","releases_url":"https://api.github.com/repos/usnistgov/oar-pdr/releases{/id}","deployments_url":"https://api.github.com/repos/usnistgov/oar-pdr/deployments","created_at":"2016-06-08T17:38:19Z","updated_at":"2018-06-29T18:32:06Z","pushed_at":"2018-10-25T19:52:59Z","git_url":"git://github.com/usnistgov/oar-pdr.git","ssh_url":"git@github.com:usnistgov/oar-pdr.git","clone_url":"https://github.com/usnistgov/oar-pdr.git","svn_url":"https://github.com/usnistgov/oar-pdr","homepage":"","size":11759,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":4,"open_issues":2,"watchers":0,"default_branch":"integration"}},"base":{"label":"usnistgov:feature/ssr-updatedUI","ref":"feature/ssr-updatedUI","sha":"71f8e29ae0c30f514c3efff12a8c3cc644a3b382","user":{"login":"usnistgov","id":5330158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzAxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5330158?v=4","gravatar_id":"","url":"https://api.github.com/users/usnistgov","html_url":"https://github.com/usnistgov","followers_url":"https://api.github.com/users/usnistgov/followers","following_url":"https://api.github.com/users/usnistgov/following{/other_user}","gists_url":"https://api.github.com/users/usnistgov/gists{/gist_id}","starred_url":"https://api.github.com/users/usnistgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usnistgov/subscriptions","organizations_url":"https://api.github.com/users/usnistgov/orgs","repos_url":"https://api.github.com/users/usnistgov/repos","events_url":"https://api.github.com/users/usnistgov/events{/privacy}","received_events_url":"https://api.github.com/users/usnistgov/received_events","type":"Organization","site_admin":false},"repo":{"id":60717448,"node_id":"MDEwOlJlcG9zaXRvcnk2MDcxNzQ0OA==","name":"oar-pdr","full_name":"usnistgov/oar-pdr","private":false,"owner":{"login":"usnistgov","id":5330158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzAxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5330158?v=4","gravatar_id":"","url":"https://api.github.com/users/usnistgov","html_url":"https://github.com/usnistgov","followers_url":"https://api.github.com/users/usnistgov/followers","following_url":"https://api.github.com/users/usnistgov/following{/other_user}","gists_url":"https://api.github.com/users/usnistgov/gists{/gist_id}","starred_url":"https://api.github.com/users/usnistgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usnistgov/subscriptions","organizations_url":"https://api.github.com/users/usnistgov/orgs","repos_url":"https://api.github.com/users/usnistgov/repos","events_url":"https://api.github.com/users/usnistgov/events{/privacy}","received_events_url":"https://api.github.com/users/usnistgov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/usnistgov/oar-pdr","description":"The NIST Public Data Repository system software","fork":false,"url":"https://api.github.com/repos/usnistgov/oar-pdr","forks_url":"https://api.github.com/repos/usnistgov/oar-pdr/forks","keys_url":"https://api.github.com/repos/usnistgov/oar-pdr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usnistgov/oar-pdr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usnistgov/oar-pdr/teams","hooks_url":"https://api.github.com/repos/usnistgov/oar-pdr/hooks","issue_events_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues/events{/number}","events_url":"https://api.github.com/repos/usnistgov/oar-pdr/events","assignees_url":"https://api.github.com/repos/usnistgov/oar-pdr/assignees{/user}","branches_url":"https://api.github.com/repos/usnistgov/oar-pdr/branches{/branch}","tags_url":"https://api.github.com/repos/usnistgov/oar-pdr/tags","blobs_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/refs{/sha}","trees_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usnistgov/oar-pdr/statuses/{sha}","languages_url":"https://api.github.com/repos/usnistgov/oar-pdr/languages","stargazers_url":"https://api.github.com/repos/usnistgov/oar-pdr/stargazers","contributors_url":"https://api.github.com/repos/usnistgov/oar-pdr/contributors","subscribers_url":"https://api.github.com/repos/usnistgov/oar-pdr/subscribers","subscription_url":"https://api.github.com/repos/usnistgov/oar-pdr/subscription","commits_url":"https://api.github.com/repos/usnistgov/oar-pdr/commits{/sha}","git_commits_url":"https://api.github.com/repos/usnistgov/oar-pdr/git/commits{/sha}","comments_url":"https://api.github.com/repos/usnistgov/oar-pdr/comments{/number}","issue_comment_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues/comments{/number}","contents_url":"https://api.github.com/repos/usnistgov/oar-pdr/contents/{+path}","compare_url":"https://api.github.com/repos/usnistgov/oar-pdr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usnistgov/oar-pdr/merges","archive_url":"https://api.github.com/repos/usnistgov/oar-pdr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usnistgov/oar-pdr/downloads","issues_url":"https://api.github.com/repos/usnistgov/oar-pdr/issues{/number}","pulls_url":"https://api.github.com/repos/usnistgov/oar-pdr/pulls{/number}","milestones_url":"https://api.github.com/repos/usnistgov/oar-pdr/milestones{/number}","notifications_url":"https://api.github.com/repos/usnistgov/oar-pdr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usnistgov/oar-pdr/labels{/name}","releases_url":"https://api.github.com/repos/usnistgov/oar-pdr/releases{/id}","deployments_url":"https://api.github.com/repos/usnistgov/oar-pdr/deployments","created_at":"2016-06-08T17:38:19Z","updated_at":"2018-06-29T18:32:06Z","pushed_at":"2018-10-25T19:52:59Z","git_url":"git://github.com/usnistgov/oar-pdr.git","ssh_url":"git@github.com:usnistgov/oar-pdr.git","clone_url":"https://github.com/usnistgov/oar-pdr.git","svn_url":"https://github.com/usnistgov/oar-pdr","homepage":"","size":11759,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":4,"open_issues":2,"watchers":0,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/53"},"html":{"href":"https://github.com/usnistgov/oar-pdr/pull/53"},"issue":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/issues/53"},"comments":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/usnistgov/oar-pdr/statuses/4b5a27d0d2dcf8602eba69d1a980f85c1ca278bb"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"RayPlante","id":1027700,"node_id":"MDQ6VXNlcjEwMjc3MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1027700?v=4","gravatar_id":"","url":"https://api.github.com/users/RayPlante","html_url":"https://github.com/RayPlante","followers_url":"https://api.github.com/users/RayPlante/followers","following_url":"https://api.github.com/users/RayPlante/following{/other_user}","gists_url":"https://api.github.com/users/RayPlante/gists{/gist_id}","starred_url":"https://api.github.com/users/RayPlante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RayPlante/subscriptions","organizations_url":"https://api.github.com/users/RayPlante/orgs","repos_url":"https://api.github.com/users/RayPlante/repos","events_url":"https://api.github.com/users/RayPlante/events{/privacy}","received_events_url":"https://api.github.com/users/RayPlante/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":214,"deletions":268,"changed_files":5}}
{"actor":{"display_login":"RayPlante"}}