{"action":"created","comment":{"url":"https://api.github.com/repos/artefactual/archivematica/pulls/comments/34846434","id":34846434,"diff_hunk":"@@ -204,6 +207,35 @@ def get_server_config_value(field):\n     except:\n         return ''\n \n+def get_atom_levels_of_description(clear=True):\n+    url = get_setting('dip_upload_atom_url')\n+    if not url:\n+        raise Exception(\"AtoM URL not defined!\")\n+\n+    auth = (\n+        get_setting('dip_upload_atom_email'),\n+        get_setting('dip_upload_atom_password'),\n+    )\n+    if not auth:\n+        raise Exception(\"AtoM authentication settings not defined!\")\n+\n+    dest = urljoin(url, 'api/taxonomies/34')","path":"src/dashboard/src/components/helpers.py","position":32,"original_position":32,"commit_id":"b64377b1c8e778ce0992a73699d74faf95ffa2a9","original_commit_id":"b64377b1c8e778ce0992a73699d74faf95ffa2a9","user":{"login":"Hwesta","id":3166226,"avatar_url":"https://avatars.githubusercontent.com/u/3166226?v=3","gravatar_id":"","url":"https://api.github.com/users/Hwesta","html_url":"https://github.com/Hwesta","followers_url":"https://api.github.com/users/Hwesta/followers","following_url":"https://api.github.com/users/Hwesta/following{/other_user}","gists_url":"https://api.github.com/users/Hwesta/gists{/gist_id}","starred_url":"https://api.github.com/users/Hwesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hwesta/subscriptions","organizations_url":"https://api.github.com/users/Hwesta/orgs","repos_url":"https://api.github.com/users/Hwesta/repos","events_url":"https://api.github.com/users/Hwesta/events{/privacy}","received_events_url":"https://api.github.com/users/Hwesta/received_events","type":"User","site_admin":false},"body":"What's the significance of `api/taxonomies/34`?  Can we comment to that effect?","created_at":"2015-07-16T22:43:32Z","updated_at":"2015-07-16T22:43:32Z","html_url":"https://github.com/artefactual/archivematica/pull/130#discussion_r34846434","pull_request_url":"https://api.github.com/repos/artefactual/archivematica/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/artefactual/archivematica/pulls/comments/34846434"},"html":{"href":"https://github.com/artefactual/archivematica/pull/130#discussion_r34846434"},"pull_request":{"href":"https://api.github.com/repos/artefactual/archivematica/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/artefactual/archivematica/pulls/130","id":23244035,"html_url":"https://github.com/artefactual/archivematica/pull/130","diff_url":"https://github.com/artefactual/archivematica/pull/130.diff","patch_url":"https://github.com/artefactual/archivematica/pull/130.patch","issue_url":"https://api.github.com/repos/artefactual/archivematica/issues/130","number":130,"state":"open","locked":false,"title":"Hierarchical DIP support","user":{"login":"mistydemeo","id":780485,"avatar_url":"https://avatars.githubusercontent.com/u/780485?v=3","gravatar_id":"","url":"https://api.github.com/users/mistydemeo","html_url":"https://github.com/mistydemeo","followers_url":"https://api.github.com/users/mistydemeo/followers","following_url":"https://api.github.com/users/mistydemeo/following{/other_user}","gists_url":"https://api.github.com/users/mistydemeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mistydemeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistydemeo/subscriptions","organizations_url":"https://api.github.com/users/mistydemeo/orgs","repos_url":"https://api.github.com/users/mistydemeo/repos","events_url":"https://api.github.com/users/mistydemeo/events{/privacy}","received_events_url":"https://api.github.com/users/mistydemeo/received_events","type":"User","site_admin":false},"body":"This adds support for a new form of structMap, the logical structMap.\r\n\r\nDirectories created via SIP arrange can now be assigned a level of description label, in addition to a name. If directories with levels of description exist when the METS is created, then a logical structMap is created alongside the physical structMap. The structure of the logical structMap is identical, but the `type` value for directories is now the assigned level of description instead of `Directory`. The logical structMap can be used to assign levels of description to records on import to access systems like AtoM.\r\n\r\nMajor changes in this branch:\r\n\r\n* AtoM upload configuration has been refactored, and now now form-based; the user no longer directly writes an argument string.\r\n* If an AtoM system has been configured for upload, then the levels of description can be fetched from AtoM for use in SIP arrange.\r\n* The hierarchy of levels of description can be configured in Archivematica. (For instance, in custom LOD hierarchies, to control what levels are higher than others.)\r\n* Levels of description can be assigned to directories when they are created in SIP arrange.\r\n* Logical structMap creation in createMETS2.","created_at":"2014-10-23T17:19:28Z","updated_at":"2015-07-16T22:43:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14793f058e0fec82a23110a84ba2a737431dc4d0","assignee":null,"milestone":{"url":"https://api.github.com/repos/artefactual/archivematica/milestones/3","html_url":"https://github.com/artefactual/archivematica/milestones/1.5.0","labels_url":"https://api.github.com/repos/artefactual/archivematica/milestones/3/labels","id":1077545,"number":3,"title":"1.5.0","description":null,"creator":{"login":"jhsimpson","id":3083997,"avatar_url":"https://avatars.githubusercontent.com/u/3083997?v=3","gravatar_id":"","url":"https://api.github.com/users/jhsimpson","html_url":"https://github.com/jhsimpson","followers_url":"https://api.github.com/users/jhsimpson/followers","following_url":"https://api.github.com/users/jhsimpson/following{/other_user}","gists_url":"https://api.github.com/users/jhsimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/jhsimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhsimpson/subscriptions","organizations_url":"https://api.github.com/users/jhsimpson/orgs","repos_url":"https://api.github.com/users/jhsimpson/repos","events_url":"https://api.github.com/users/jhsimpson/events{/privacy}","received_events_url":"https://api.github.com/users/jhsimpson/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2015-04-21T17:39:57Z","updated_at":"2015-07-15T21:46:15Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/artefactual/archivematica/pulls/130/commits","review_comments_url":"https://api.github.com/repos/artefactual/archivematica/pulls/130/comments","review_comment_url":"https://api.github.com/repos/artefactual/archivematica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artefactual/archivematica/issues/130/comments","statuses_url":"https://api.github.com/repos/artefactual/archivematica/statuses/b64377b1c8e778ce0992a73699d74faf95ffa2a9","head":{"label":"artefactual:dev/issue-6988-atom-dip-config","ref":"dev/issue-6988-atom-dip-config","sha":"b64377b1c8e778ce0992a73699d74faf95ffa2a9","user":{"login":"artefactual","id":1163545,"avatar_url":"https://avatars.githubusercontent.com/u/1163545?v=3","gravatar_id":"","url":"https://api.github.com/users/artefactual","html_url":"https://github.com/artefactual","followers_url":"https://api.github.com/users/artefactual/followers","following_url":"https://api.github.com/users/artefactual/following{/other_user}","gists_url":"https://api.github.com/users/artefactual/gists{/gist_id}","starred_url":"https://api.github.com/users/artefactual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artefactual/subscriptions","organizations_url":"https://api.github.com/users/artefactual/orgs","repos_url":"https://api.github.com/users/artefactual/repos","events_url":"https://api.github.com/users/artefactual/events{/privacy}","received_events_url":"https://api.github.com/users/artefactual/received_events","type":"Organization","site_admin":false},"repo":{"id":5811958,"name":"archivematica","full_name":"artefactual/archivematica","owner":{"login":"artefactual","id":1163545,"avatar_url":"https://avatars.githubusercontent.com/u/1163545?v=3","gravatar_id":"","url":"https://api.github.com/users/artefactual","html_url":"https://github.com/artefactual","followers_url":"https://api.github.com/users/artefactual/followers","following_url":"https://api.github.com/users/artefactual/following{/other_user}","gists_url":"https://api.github.com/users/artefactual/gists{/gist_id}","starred_url":"https://api.github.com/users/artefactual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artefactual/subscriptions","organizations_url":"https://api.github.com/users/artefactual/orgs","repos_url":"https://api.github.com/users/artefactual/repos","events_url":"https://api.github.com/users/artefactual/events{/privacy}","received_events_url":"https://api.github.com/users/artefactual/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artefactual/archivematica","description":"Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.","fork":false,"url":"https://api.github.com/repos/artefactual/archivematica","forks_url":"https://api.github.com/repos/artefactual/archivematica/forks","keys_url":"https://api.github.com/repos/artefactual/archivematica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artefactual/archivematica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artefactual/archivematica/teams","hooks_url":"https://api.github.com/repos/artefactual/archivematica/hooks","issue_events_url":"https://api.github.com/repos/artefactual/archivematica/issues/events{/number}","events_url":"https://api.github.com/repos/artefactual/archivematica/events","assignees_url":"https://api.github.com/repos/artefactual/archivematica/assignees{/user}","branches_url":"https://api.github.com/repos/artefactual/archivematica/branches{/branch}","tags_url":"https://api.github.com/repos/artefactual/archivematica/tags","blobs_url":"https://api.github.com/repos/artefactual/archivematica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artefactual/archivematica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artefactual/archivematica/git/refs{/sha}","trees_url":"https://api.github.com/repos/artefactual/archivematica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artefactual/archivematica/statuses/{sha}","languages_url":"https://api.github.com/repos/artefactual/archivematica/languages","stargazers_url":"https://api.github.com/repos/artefactual/archivematica/stargazers","contributors_url":"https://api.github.com/repos/artefactual/archivematica/contributors","subscribers_url":"https://api.github.com/repos/artefactual/archivematica/subscribers","subscription_url":"https://api.github.com/repos/artefactual/archivematica/subscription","commits_url":"https://api.github.com/repos/artefactual/archivematica/commits{/sha}","git_commits_url":"https://api.github.com/repos/artefactual/archivematica/git/commits{/sha}","comments_url":"https://api.github.com/repos/artefactual/archivematica/comments{/number}","issue_comment_url":"https://api.github.com/repos/artefactual/archivematica/issues/comments{/number}","contents_url":"https://api.github.com/repos/artefactual/archivematica/contents/{+path}","compare_url":"https://api.github.com/repos/artefactual/archivematica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artefactual/archivematica/merges","archive_url":"https://api.github.com/repos/artefactual/archivematica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artefactual/archivematica/downloads","issues_url":"https://api.github.com/repos/artefactual/archivematica/issues{/number}","pulls_url":"https://api.github.com/repos/artefactual/archivematica/pulls{/number}","milestones_url":"https://api.github.com/repos/artefactual/archivematica/milestones{/number}","notifications_url":"https://api.github.com/repos/artefactual/archivematica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artefactual/archivematica/labels{/name}","releases_url":"https://api.github.com/repos/artefactual/archivematica/releases{/id}","created_at":"2012-09-14T16:43:38Z","updated_at":"2015-06-15T13:40:49Z","pushed_at":"2015-07-16T21:38:07Z","git_url":"git://github.com/artefactual/archivematica.git","ssh_url":"git@github.com:artefactual/archivematica.git","clone_url":"https://github.com/artefactual/archivematica.git","svn_url":"https://github.com/artefactual/archivematica","homepage":"http://www.archivematica.org","size":33783,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":69,"default_branch":"stable/1.4.x"}},"base":{"label":"artefactual:qa/1.x","ref":"qa/1.x","sha":"5bb5a03ef46a475c5bb98f5c0f86f44151561596","user":{"login":"artefactual","id":1163545,"avatar_url":"https://avatars.githubusercontent.com/u/1163545?v=3","gravatar_id":"","url":"https://api.github.com/users/artefactual","html_url":"https://github.com/artefactual","followers_url":"https://api.github.com/users/artefactual/followers","following_url":"https://api.github.com/users/artefactual/following{/other_user}","gists_url":"https://api.github.com/users/artefactual/gists{/gist_id}","starred_url":"https://api.github.com/users/artefactual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artefactual/subscriptions","organizations_url":"https://api.github.com/users/artefactual/orgs","repos_url":"https://api.github.com/users/artefactual/repos","events_url":"https://api.github.com/users/artefactual/events{/privacy}","received_events_url":"https://api.github.com/users/artefactual/received_events","type":"Organization","site_admin":false},"repo":{"id":5811958,"name":"archivematica","full_name":"artefactual/archivematica","owner":{"login":"artefactual","id":1163545,"avatar_url":"https://avatars.githubusercontent.com/u/1163545?v=3","gravatar_id":"","url":"https://api.github.com/users/artefactual","html_url":"https://github.com/artefactual","followers_url":"https://api.github.com/users/artefactual/followers","following_url":"https://api.github.com/users/artefactual/following{/other_user}","gists_url":"https://api.github.com/users/artefactual/gists{/gist_id}","starred_url":"https://api.github.com/users/artefactual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artefactual/subscriptions","organizations_url":"https://api.github.com/users/artefactual/orgs","repos_url":"https://api.github.com/users/artefactual/repos","events_url":"https://api.github.com/users/artefactual/events{/privacy}","received_events_url":"https://api.github.com/users/artefactual/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artefactual/archivematica","description":"Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.","fork":false,"url":"https://api.github.com/repos/artefactual/archivematica","forks_url":"https://api.github.com/repos/artefactual/archivematica/forks","keys_url":"https://api.github.com/repos/artefactual/archivematica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artefactual/archivematica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artefactual/archivematica/teams","hooks_url":"https://api.github.com/repos/artefactual/archivematica/hooks","issue_events_url":"https://api.github.com/repos/artefactual/archivematica/issues/events{/number}","events_url":"https://api.github.com/repos/artefactual/archivematica/events","assignees_url":"https://api.github.com/repos/artefactual/archivematica/assignees{/user}","branches_url":"https://api.github.com/repos/artefactual/archivematica/branches{/branch}","tags_url":"https://api.github.com/repos/artefactual/archivematica/tags","blobs_url":"https://api.github.com/repos/artefactual/archivematica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artefactual/archivematica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artefactual/archivematica/git/refs{/sha}","trees_url":"https://api.github.com/repos/artefactual/archivematica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artefactual/archivematica/statuses/{sha}","languages_url":"https://api.github.com/repos/artefactual/archivematica/languages","stargazers_url":"https://api.github.com/repos/artefactual/archivematica/stargazers","contributors_url":"https://api.github.com/repos/artefactual/archivematica/contributors","subscribers_url":"https://api.github.com/repos/artefactual/archivematica/subscribers","subscription_url":"https://api.github.com/repos/artefactual/archivematica/subscription","commits_url":"https://api.github.com/repos/artefactual/archivematica/commits{/sha}","git_commits_url":"https://api.github.com/repos/artefactual/archivematica/git/commits{/sha}","comments_url":"https://api.github.com/repos/artefactual/archivematica/comments{/number}","issue_comment_url":"https://api.github.com/repos/artefactual/archivematica/issues/comments{/number}","contents_url":"https://api.github.com/repos/artefactual/archivematica/contents/{+path}","compare_url":"https://api.github.com/repos/artefactual/archivematica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artefactual/archivematica/merges","archive_url":"https://api.github.com/repos/artefactual/archivematica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artefactual/archivematica/downloads","issues_url":"https://api.github.com/repos/artefactual/archivematica/issues{/number}","pulls_url":"https://api.github.com/repos/artefactual/archivematica/pulls{/number}","milestones_url":"https://api.github.com/repos/artefactual/archivematica/milestones{/number}","notifications_url":"https://api.github.com/repos/artefactual/archivematica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artefactual/archivematica/labels{/name}","releases_url":"https://api.github.com/repos/artefactual/archivematica/releases{/id}","created_at":"2012-09-14T16:43:38Z","updated_at":"2015-06-15T13:40:49Z","pushed_at":"2015-07-16T21:38:07Z","git_url":"git://github.com/artefactual/archivematica.git","ssh_url":"git@github.com:artefactual/archivematica.git","clone_url":"https://github.com/artefactual/archivematica.git","svn_url":"https://github.com/artefactual/archivematica","homepage":"http://www.archivematica.org","size":33783,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":69,"default_branch":"stable/1.4.x"}},"_links":{"self":{"href":"https://api.github.com/repos/artefactual/archivematica/pulls/130"},"html":{"href":"https://github.com/artefactual/archivematica/pull/130"},"issue":{"href":"https://api.github.com/repos/artefactual/archivematica/issues/130"},"comments":{"href":"https://api.github.com/repos/artefactual/archivematica/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/artefactual/archivematica/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/artefactual/archivematica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artefactual/archivematica/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/artefactual/archivematica/statuses/b64377b1c8e778ce0992a73699d74faf95ffa2a9"}}}}