{"action":"created","comment":{"url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/comments/243254227","pull_request_review_id":186962918,"id":243254227,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzI1NDIyNw==","diff_hunk":"@@ -37,12 +68,7 @@\n    (if (and (nil? description-index)(nil? url-content-type-index)\n             (nil? type-index) (nil? subtype-index))\n     {:Description description} ; Description not formatted like above, so just description\n-    {:Description (when description-index\n-                   (let [desc (subs description\n-                               description-index\n-                               (or url-content-type-index type-index subtype-index\n-                                   checksum-index (count description)))]\n-                    (str/trim (subs desc (inc (.indexOf desc \":\"))))))\n+    {:Description (convert-description-string-to-map description description-index)","path":"umm-spec-lib/src/cmr/umm_spec/xml_to_umm_mappings/iso_shared/distributions_related_url.clj","position":null,"original_position":48,"commit_id":"7f8ccaddd411ad5ce6ac7f0a1e42d6600a6aa3fd","original_commit_id":"add5e90cd4b7e7414594941351ca31ee22646184","user":{"login":"eereiter","id":28263274,"node_id":"MDQ6VXNlcjI4MjYzMjc0","avatar_url":"https://avatars3.githubusercontent.com/u/28263274?v=4","gravatar_id":"","url":"https://api.github.com/users/eereiter","html_url":"https://github.com/eereiter","followers_url":"https://api.github.com/users/eereiter/followers","following_url":"https://api.github.com/users/eereiter/following{/other_user}","gists_url":"https://api.github.com/users/eereiter/gists{/gist_id}","starred_url":"https://api.github.com/users/eereiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eereiter/subscriptions","organizations_url":"https://api.github.com/users/eereiter/orgs","repos_url":"https://api.github.com/users/eereiter/repos","events_url":"https://api.github.com/users/eereiter/events{/privacy}","received_events_url":"https://api.github.com/users/eereiter/received_events","type":"User","site_admin":false},"body":"The :Description value should be just the description and not the map\r\n\r\nThe rest of the function also needs to be refactored with your new function.","created_at":"2018-12-20T12:29:05Z","updated_at":"2018-12-20T12:45:08Z","html_url":"https://github.com/nasa/Common-Metadata-Repository/pull/647#discussion_r243254227","pull_request_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/comments/243254227"},"html":{"href":"https://github.com/nasa/Common-Metadata-Repository/pull/647#discussion_r243254227"},"pull_request":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647"}},"in_reply_to_id":243254011},"pull_request":{"url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647","id":239982141,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5OTgyMTQx","html_url":"https://github.com/nasa/Common-Metadata-Repository/pull/647","diff_url":"https://github.com/nasa/Common-Metadata-Repository/pull/647.diff","patch_url":"https://github.com/nasa/Common-Metadata-Repository/pull/647.patch","issue_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues/647","number":647,"state":"open","locked":false,"title":"CMR-5366: Fix error being caused by ISO MENDS collection RelatedUrls","user":{"login":"mschmele","id":5738252,"node_id":"MDQ6VXNlcjU3MzgyNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/5738252?v=4","gravatar_id":"","url":"https://api.github.com/users/mschmele","html_url":"https://github.com/mschmele","followers_url":"https://api.github.com/users/mschmele/followers","following_url":"https://api.github.com/users/mschmele/following{/other_user}","gists_url":"https://api.github.com/users/mschmele/gists{/gist_id}","starred_url":"https://api.github.com/users/mschmele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschmele/subscriptions","organizations_url":"https://api.github.com/users/mschmele/orgs","repos_url":"https://api.github.com/users/mschmele/repos","events_url":"https://api.github.com/users/mschmele/events{/privacy}","received_events_url":"https://api.github.com/users/mschmele/received_events","type":"User","site_admin":false},"body":"Logic stolen from `cmr.umm.iso-smap.granule.orbit` - I'll issue a cleanup PR after the holidays, but this is currently blocking NSIDC from fixing some metadata issues, hence the quick and dirty","created_at":"2018-12-19T21:37:42Z","updated_at":"2018-12-20T12:45:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa0a6cbb95ec7d1a5a165715f0c46a32a358da59","assignee":null,"assignees":[],"requested_reviewers":[{"login":"daniel-zamora","id":26915237,"node_id":"MDQ6VXNlcjI2OTE1MjM3","avatar_url":"https://avatars2.githubusercontent.com/u/26915237?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-zamora","html_url":"https://github.com/daniel-zamora","followers_url":"https://api.github.com/users/daniel-zamora/followers","following_url":"https://api.github.com/users/daniel-zamora/following{/other_user}","gists_url":"https://api.github.com/users/daniel-zamora/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-zamora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-zamora/subscriptions","organizations_url":"https://api.github.com/users/daniel-zamora/orgs","repos_url":"https://api.github.com/users/daniel-zamora/repos","events_url":"https://api.github.com/users/daniel-zamora/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-zamora/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647/commits","review_comments_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647/comments","review_comment_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues/647/comments","statuses_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/statuses/7f8ccaddd411ad5ce6ac7f0a1e42d6600a6aa3fd","head":{"label":"mschmele:CMR-5366","ref":"CMR-5366","sha":"7f8ccaddd411ad5ce6ac7f0a1e42d6600a6aa3fd","user":{"login":"mschmele","id":5738252,"node_id":"MDQ6VXNlcjU3MzgyNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/5738252?v=4","gravatar_id":"","url":"https://api.github.com/users/mschmele","html_url":"https://github.com/mschmele","followers_url":"https://api.github.com/users/mschmele/followers","following_url":"https://api.github.com/users/mschmele/following{/other_user}","gists_url":"https://api.github.com/users/mschmele/gists{/gist_id}","starred_url":"https://api.github.com/users/mschmele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschmele/subscriptions","organizations_url":"https://api.github.com/users/mschmele/orgs","repos_url":"https://api.github.com/users/mschmele/repos","events_url":"https://api.github.com/users/mschmele/events{/privacy}","received_events_url":"https://api.github.com/users/mschmele/received_events","type":"User","site_admin":false},"repo":{"id":87346186,"node_id":"MDEwOlJlcG9zaXRvcnk4NzM0NjE4Ng==","name":"Common-Metadata-Repository","full_name":"mschmele/Common-Metadata-Repository","private":false,"owner":{"login":"mschmele","id":5738252,"node_id":"MDQ6VXNlcjU3MzgyNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/5738252?v=4","gravatar_id":"","url":"https://api.github.com/users/mschmele","html_url":"https://github.com/mschmele","followers_url":"https://api.github.com/users/mschmele/followers","following_url":"https://api.github.com/users/mschmele/following{/other_user}","gists_url":"https://api.github.com/users/mschmele/gists{/gist_id}","starred_url":"https://api.github.com/users/mschmele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschmele/subscriptions","organizations_url":"https://api.github.com/users/mschmele/orgs","repos_url":"https://api.github.com/users/mschmele/repos","events_url":"https://api.github.com/users/mschmele/events{/privacy}","received_events_url":"https://api.github.com/users/mschmele/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mschmele/Common-Metadata-Repository","description":null,"fork":true,"url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository","forks_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/forks","keys_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/teams","hooks_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/hooks","issue_events_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/issues/events{/number}","events_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/events","assignees_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/assignees{/user}","branches_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/branches{/branch}","tags_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/tags","blobs_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/statuses/{sha}","languages_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/languages","stargazers_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/stargazers","contributors_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/contributors","subscribers_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/subscribers","subscription_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/subscription","commits_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/contents/{+path}","compare_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/merges","archive_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/downloads","issues_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/issues{/number}","pulls_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/pulls{/number}","milestones_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/milestones{/number}","notifications_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/labels{/name}","releases_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/releases{/id}","deployments_url":"https://api.github.com/repos/mschmele/Common-Metadata-Repository/deployments","created_at":"2017-04-05T19:02:10Z","updated_at":"2017-04-05T19:02:17Z","pushed_at":"2018-12-20T03:38:38Z","git_url":"git://github.com/mschmele/Common-Metadata-Repository.git","ssh_url":"git@github.com:mschmele/Common-Metadata-Repository.git","clone_url":"https://github.com/mschmele/Common-Metadata-Repository.git","svn_url":"https://github.com/mschmele/Common-Metadata-Repository","homepage":null,"size":22406,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nasa:master","ref":"master","sha":"da8ecd3418d44595813e9de2c6be2bc6d0add952","user":{"login":"nasa","id":848102,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0ODEwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/848102?v=4","gravatar_id":"","url":"https://api.github.com/users/nasa","html_url":"https://github.com/nasa","followers_url":"https://api.github.com/users/nasa/followers","following_url":"https://api.github.com/users/nasa/following{/other_user}","gists_url":"https://api.github.com/users/nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasa/subscriptions","organizations_url":"https://api.github.com/users/nasa/orgs","repos_url":"https://api.github.com/users/nasa/repos","events_url":"https://api.github.com/users/nasa/events{/privacy}","received_events_url":"https://api.github.com/users/nasa/received_events","type":"Organization","site_admin":false},"repo":{"id":75120133,"node_id":"MDEwOlJlcG9zaXRvcnk3NTEyMDEzMw==","name":"Common-Metadata-Repository","full_name":"nasa/Common-Metadata-Repository","private":false,"owner":{"login":"nasa","id":848102,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0ODEwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/848102?v=4","gravatar_id":"","url":"https://api.github.com/users/nasa","html_url":"https://github.com/nasa","followers_url":"https://api.github.com/users/nasa/followers","following_url":"https://api.github.com/users/nasa/following{/other_user}","gists_url":"https://api.github.com/users/nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasa/subscriptions","organizations_url":"https://api.github.com/users/nasa/orgs","repos_url":"https://api.github.com/users/nasa/repos","events_url":"https://api.github.com/users/nasa/events{/privacy}","received_events_url":"https://api.github.com/users/nasa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nasa/Common-Metadata-Repository","description":null,"fork":false,"url":"https://api.github.com/repos/nasa/Common-Metadata-Repository","forks_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/forks","keys_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/teams","hooks_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/hooks","issue_events_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues/events{/number}","events_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/events","assignees_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/assignees{/user}","branches_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/branches{/branch}","tags_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/tags","blobs_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/statuses/{sha}","languages_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/languages","stargazers_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/stargazers","contributors_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/contributors","subscribers_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/subscribers","subscription_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/subscription","commits_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/contents/{+path}","compare_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/merges","archive_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/downloads","issues_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues{/number}","pulls_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls{/number}","milestones_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/milestones{/number}","notifications_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/labels{/name}","releases_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/releases{/id}","deployments_url":"https://api.github.com/repos/nasa/Common-Metadata-Repository/deployments","created_at":"2016-11-29T20:41:30Z","updated_at":"2018-12-17T15:04:41Z","pushed_at":"2018-12-20T03:38:39Z","git_url":"git://github.com/nasa/Common-Metadata-Repository.git","ssh_url":"git@github.com:nasa/Common-Metadata-Repository.git","clone_url":"https://github.com/nasa/Common-Metadata-Repository.git","svn_url":"https://github.com/nasa/Common-Metadata-Repository","homepage":null,"size":22527,"stargazers_count":83,"watchers_count":83,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":37,"open_issues":9,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647"},"html":{"href":"https://github.com/nasa/Common-Metadata-Repository/pull/647"},"issue":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues/647"},"comments":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/issues/647/comments"},"review_comments":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647/comments"},"review_comment":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/pulls/647/commits"},"statuses":{"href":"https://api.github.com/repos/nasa/Common-Metadata-Repository/statuses/7f8ccaddd411ad5ce6ac7f0a1e42d6600a6aa3fd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"eereiter"}}