{"action":"opened","number":671,"pull_request":{"url":"https://api.github.com/repos/archivesspace/archivesspace/pulls/671","id":111932194,"html_url":"https://github.com/archivesspace/archivesspace/pull/671","diff_url":"https://github.com/archivesspace/archivesspace/pull/671.diff","patch_url":"https://github.com/archivesspace/archivesspace/pull/671.patch","issue_url":"https://api.github.com/repos/archivesspace/archivesspace/issues/671","number":671,"state":"open","locked":false,"title":"Prevent a situation where a record's ancestor can become its child","user":{"login":"marktriggs","id":149123,"avatar_url":"https://avatars2.githubusercontent.com/u/149123?v=3","gravatar_id":"","url":"https://api.github.com/users/marktriggs","html_url":"https://github.com/marktriggs","followers_url":"https://api.github.com/users/marktriggs/followers","following_url":"https://api.github.com/users/marktriggs/following{/other_user}","gists_url":"https://api.github.com/users/marktriggs/gists{/gist_id}","starred_url":"https://api.github.com/users/marktriggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marktriggs/subscriptions","organizations_url":"https://api.github.com/users/marktriggs/orgs","repos_url":"https://api.github.com/users/marktriggs/repos","events_url":"https://api.github.com/users/marktriggs/events{/privacy}","received_events_url":"https://api.github.com/users/marktriggs/received_events","type":"User","site_admin":false},"body":"The UI doesn't allow this, but the API shouldn't either.","created_at":"2017-03-22T04:50:51Z","updated_at":"2017-03-22T04:50:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/archivesspace/archivesspace/pulls/671/commits","review_comments_url":"https://api.github.com/repos/archivesspace/archivesspace/pulls/671/comments","review_comment_url":"https://api.github.com/repos/archivesspace/archivesspace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/archivesspace/archivesspace/issues/671/comments","statuses_url":"https://api.github.com/repos/archivesspace/archivesspace/statuses/b227637c3d5f1a85755ee963a44245f27150285e","head":{"label":"archivesspace:accept-children-fix","ref":"accept-children-fix","sha":"b227637c3d5f1a85755ee963a44245f27150285e","user":{"login":"archivesspace","id":1311559,"avatar_url":"https://avatars3.githubusercontent.com/u/1311559?v=3","gravatar_id":"","url":"https://api.github.com/users/archivesspace","html_url":"https://github.com/archivesspace","followers_url":"https://api.github.com/users/archivesspace/followers","following_url":"https://api.github.com/users/archivesspace/following{/other_user}","gists_url":"https://api.github.com/users/archivesspace/gists{/gist_id}","starred_url":"https://api.github.com/users/archivesspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archivesspace/subscriptions","organizations_url":"https://api.github.com/users/archivesspace/orgs","repos_url":"https://api.github.com/users/archivesspace/repos","events_url":"https://api.github.com/users/archivesspace/events{/privacy}","received_events_url":"https://api.github.com/users/archivesspace/received_events","type":"Organization","site_admin":false},"repo":{"id":4989765,"name":"archivesspace","full_name":"archivesspace/archivesspace","owner":{"login":"archivesspace","id":1311559,"avatar_url":"https://avatars3.githubusercontent.com/u/1311559?v=3","gravatar_id":"","url":"https://api.github.com/users/archivesspace","html_url":"https://github.com/archivesspace","followers_url":"https://api.github.com/users/archivesspace/followers","following_url":"https://api.github.com/users/archivesspace/following{/other_user}","gists_url":"https://api.github.com/users/archivesspace/gists{/gist_id}","starred_url":"https://api.github.com/users/archivesspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archivesspace/subscriptions","organizations_url":"https://api.github.com/users/archivesspace/orgs","repos_url":"https://api.github.com/users/archivesspace/repos","events_url":"https://api.github.com/users/archivesspace/events{/privacy}","received_events_url":"https://api.github.com/users/archivesspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/archivesspace/archivesspace","description":"The ArchivesSpace archives management tool","fork":false,"url":"https://api.github.com/repos/archivesspace/archivesspace","forks_url":"https://api.github.com/repos/archivesspace/archivesspace/forks","keys_url":"https://api.github.com/repos/archivesspace/archivesspace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/archivesspace/archivesspace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/archivesspace/archivesspace/teams","hooks_url":"https://api.github.com/repos/archivesspace/archivesspace/hooks","issue_events_url":"https://api.github.com/repos/archivesspace/archivesspace/issues/events{/number}","events_url":"https://api.github.com/repos/archivesspace/archivesspace/events","assignees_url":"https://api.github.com/repos/archivesspace/archivesspace/assignees{/user}","branches_url":"https://api.github.com/repos/archivesspace/archivesspace/branches{/branch}","tags_url":"https://api.github.com/repos/archivesspace/archivesspace/tags","blobs_url":"https://api.github.com/repos/archivesspace/archivesspace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/archivesspace/archivesspace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/archivesspace/archivesspace/git/refs{/sha}","trees_url":"https://api.github.com/repos/archivesspace/archivesspace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/archivesspace/archivesspace/statuses/{sha}","languages_url":"https://api.github.com/repos/archivesspace/archivesspace/languages","stargazers_url":"https://api.github.com/repos/archivesspace/archivesspace/stargazers","contributors_url":"https://api.github.com/repos/archivesspace/archivesspace/contributors","subscribers_url":"https://api.github.com/repos/archivesspace/archivesspace/subscribers","subscription_url":"https://api.github.com/repos/archivesspace/archivesspace/subscription","commits_url":"https://api.github.com/repos/archivesspace/archivesspace/commits{/sha}","git_commits_url":"https://api.github.com/repos/archivesspace/archivesspace/git/commits{/sha}","comments_url":"https://api.github.com/repos/archivesspace/archivesspace/comments{/number}","issue_comment_url":"https://api.github.com/repos/archivesspace/archivesspace/issues/comments{/number}","contents_url":"https://api.github.com/repos/archivesspace/archivesspace/contents/{+path}","compare_url":"https://api.github.com/repos/archivesspace/archivesspace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/archivesspace/archivesspace/merges","archive_url":"https://api.github.com/repos/archivesspace/archivesspace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/archivesspace/archivesspace/downloads","issues_url":"https://api.github.com/repos/archivesspace/archivesspace/issues{/number}","pulls_url":"https://api.github.com/repos/archivesspace/archivesspace/pulls{/number}","milestones_url":"https://api.github.com/repos/archivesspace/archivesspace/milestones{/number}","notifications_url":"https://api.github.com/repos/archivesspace/archivesspace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/archivesspace/archivesspace/labels{/name}","releases_url":"https://api.github.com/repos/archivesspace/archivesspace/releases{/id}","deployments_url":"https://api.github.com/repos/archivesspace/archivesspace/deployments","created_at":"2012-07-11T14:00:20Z","updated_at":"2017-03-21T12:12:12Z","pushed_at":"2017-03-22T04:50:20Z","git_url":"git://github.com/archivesspace/archivesspace.git","ssh_url":"git@github.com:archivesspace/archivesspace.git","clone_url":"https://github.com/archivesspace/archivesspace.git","svn_url":"https://github.com/archivesspace/archivesspace","homepage":"http://archivesspace.org/","size":70286,"stargazers_count":115,"watchers_count":115,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":93,"mirror_url":null,"open_issues_count":34,"forks":93,"open_issues":34,"watchers":115,"default_branch":"master"}},"base":{"label":"archivesspace:master","ref":"master","sha":"f83d5f9ade75788f413f2d012a4233ccdfe553a8","user":{"login":"archivesspace","id":1311559,"avatar_url":"https://avatars3.githubusercontent.com/u/1311559?v=3","gravatar_id":"","url":"https://api.github.com/users/archivesspace","html_url":"https://github.com/archivesspace","followers_url":"https://api.github.com/users/archivesspace/followers","following_url":"https://api.github.com/users/archivesspace/following{/other_user}","gists_url":"https://api.github.com/users/archivesspace/gists{/gist_id}","starred_url":"https://api.github.com/users/archivesspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archivesspace/subscriptions","organizations_url":"https://api.github.com/users/archivesspace/orgs","repos_url":"https://api.github.com/users/archivesspace/repos","events_url":"https://api.github.com/users/archivesspace/events{/privacy}","received_events_url":"https://api.github.com/users/archivesspace/received_events","type":"Organization","site_admin":false},"repo":{"id":4989765,"name":"archivesspace","full_name":"archivesspace/archivesspace","owner":{"login":"archivesspace","id":1311559,"avatar_url":"https://avatars3.githubusercontent.com/u/1311559?v=3","gravatar_id":"","url":"https://api.github.com/users/archivesspace","html_url":"https://github.com/archivesspace","followers_url":"https://api.github.com/users/archivesspace/followers","following_url":"https://api.github.com/users/archivesspace/following{/other_user}","gists_url":"https://api.github.com/users/archivesspace/gists{/gist_id}","starred_url":"https://api.github.com/users/archivesspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archivesspace/subscriptions","organizations_url":"https://api.github.com/users/archivesspace/orgs","repos_url":"https://api.github.com/users/archivesspace/repos","events_url":"https://api.github.com/users/archivesspace/events{/privacy}","received_events_url":"https://api.github.com/users/archivesspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/archivesspace/archivesspace","description":"The ArchivesSpace archives management tool","fork":false,"url":"https://api.github.com/repos/archivesspace/archivesspace","forks_url":"https://api.github.com/repos/archivesspace/archivesspace/forks","keys_url":"https://api.github.com/repos/archivesspace/archivesspace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/archivesspace/archivesspace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/archivesspace/archivesspace/teams","hooks_url":"https://api.github.com/repos/archivesspace/archivesspace/hooks","issue_events_url":"https://api.github.com/repos/archivesspace/archivesspace/issues/events{/number}","events_url":"https://api.github.com/repos/archivesspace/archivesspace/events","assignees_url":"https://api.github.com/repos/archivesspace/archivesspace/assignees{/user}","branches_url":"https://api.github.com/repos/archivesspace/archivesspace/branches{/branch}","tags_url":"https://api.github.com/repos/archivesspace/archivesspace/tags","blobs_url":"https://api.github.com/repos/archivesspace/archivesspace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/archivesspace/archivesspace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/archivesspace/archivesspace/git/refs{/sha}","trees_url":"https://api.github.com/repos/archivesspace/archivesspace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/archivesspace/archivesspace/statuses/{sha}","languages_url":"https://api.github.com/repos/archivesspace/archivesspace/languages","stargazers_url":"https://api.github.com/repos/archivesspace/archivesspace/stargazers","contributors_url":"https://api.github.com/repos/archivesspace/archivesspace/contributors","subscribers_url":"https://api.github.com/repos/archivesspace/archivesspace/subscribers","subscription_url":"https://api.github.com/repos/archivesspace/archivesspace/subscription","commits_url":"https://api.github.com/repos/archivesspace/archivesspace/commits{/sha}","git_commits_url":"https://api.github.com/repos/archivesspace/archivesspace/git/commits{/sha}","comments_url":"https://api.github.com/repos/archivesspace/archivesspace/comments{/number}","issue_comment_url":"https://api.github.com/repos/archivesspace/archivesspace/issues/comments{/number}","contents_url":"https://api.github.com/repos/archivesspace/archivesspace/contents/{+path}","compare_url":"https://api.github.com/repos/archivesspace/archivesspace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/archivesspace/archivesspace/merges","archive_url":"https://api.github.com/repos/archivesspace/archivesspace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/archivesspace/archivesspace/downloads","issues_url":"https://api.github.com/repos/archivesspace/archivesspace/issues{/number}","pulls_url":"https://api.github.com/repos/archivesspace/archivesspace/pulls{/number}","milestones_url":"https://api.github.com/repos/archivesspace/archivesspace/milestones{/number}","notifications_url":"https://api.github.com/repos/archivesspace/archivesspace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/archivesspace/archivesspace/labels{/name}","releases_url":"https://api.github.com/repos/archivesspace/archivesspace/releases{/id}","deployments_url":"https://api.github.com/repos/archivesspace/archivesspace/deployments","created_at":"2012-07-11T14:00:20Z","updated_at":"2017-03-21T12:12:12Z","pushed_at":"2017-03-22T04:50:20Z","git_url":"git://github.com/archivesspace/archivesspace.git","ssh_url":"git@github.com:archivesspace/archivesspace.git","clone_url":"https://github.com/archivesspace/archivesspace.git","svn_url":"https://github.com/archivesspace/archivesspace","homepage":"http://archivesspace.org/","size":70286,"stargazers_count":115,"watchers_count":115,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":93,"mirror_url":null,"open_issues_count":34,"forks":93,"open_issues":34,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/archivesspace/archivesspace/pulls/671"},"html":{"href":"https://github.com/archivesspace/archivesspace/pull/671"},"issue":{"href":"https://api.github.com/repos/archivesspace/archivesspace/issues/671"},"comments":{"href":"https://api.github.com/repos/archivesspace/archivesspace/issues/671/comments"},"review_comments":{"href":"https://api.github.com/repos/archivesspace/archivesspace/pulls/671/comments"},"review_comment":{"href":"https://api.github.com/repos/archivesspace/archivesspace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/archivesspace/archivesspace/pulls/671/commits"},"statuses":{"href":"https://api.github.com/repos/archivesspace/archivesspace/statuses/b227637c3d5f1a85755ee963a44245f27150285e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":31,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"marktriggs"}}