{"action":"closed","number":258,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/258","id":103767372,"html_url":"https://github.com/CenterForOpenScience/ember-preprints/pull/258","diff_url":"https://github.com/CenterForOpenScience/ember-preprints/pull/258.diff","patch_url":"https://github.com/CenterForOpenScience/ember-preprints/pull/258.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues/258","number":258,"state":"closed","locked":false,"title":"Feature/Get-Ancestor-Descriptor Improvement [EOSF-395]","user":{"login":"pattisdr","id":9755598,"avatar_url":"https://avatars.githubusercontent.com/u/9755598?v=3","gravatar_id":"","url":"https://api.github.com/users/pattisdr","html_url":"https://github.com/pattisdr","followers_url":"https://api.github.com/users/pattisdr/followers","following_url":"https://api.github.com/users/pattisdr/following{/other_user}","gists_url":"https://api.github.com/users/pattisdr/gists{/gist_id}","starred_url":"https://api.github.com/users/pattisdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattisdr/subscriptions","organizations_url":"https://api.github.com/users/pattisdr/orgs","repos_url":"https://api.github.com/users/pattisdr/repos","events_url":"https://api.github.com/users/pattisdr/events{/privacy}","received_events_url":"https://api.github.com/users/pattisdr/received_events","type":"User","site_admin":false},"body":"## Ticket\r\n\r\nhttps://openscience.atlassian.net/browse/EOSF-395\r\n\r\n## Purpose\r\n\r\nBrought up by QA: It looks like if you are admin on a nested component (level 3), but not a contributor on the parent or component (levels 1 and 2), the project appears as \"Private / ... / Private / 3\" which implies there is another project between 1 and 2, even though there is not.\r\n\r\n## Changes\r\n\r\nIf both the parent and root are private there is no way to deduce how many levels there are. I was giving it the default four levels since I didn't know, the dashboard gives it default three, but there's no way to tell. The API doesn't return a lot of info if items are private.\r\n\r\n**If number of levels can't be deduced because of private projects in the hierarchy, change to this: `... / node title`**\r\n\r\n\r\n## Side effects\r\n\r\n<!--Any possible side effects? -->\r\n\r\n\r\n\r\n","created_at":"2017-01-30T16:15:10Z","updated_at":"2017-01-30T17:04:34Z","closed_at":"2017-01-30T17:04:33Z","merged_at":"2017-01-30T17:04:33Z","merge_commit_sha":"a2aaf4967dc0a40f9becf1567d060aca16d89a44","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/258/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/258/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues/258/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/statuses/21a4338a896f11c7d317c0ff27cf0255513c26d5","head":{"label":"pattisdr:feature/get-ancestor-descriptor-change","ref":"feature/get-ancestor-descriptor-change","sha":"21a4338a896f11c7d317c0ff27cf0255513c26d5","user":{"login":"pattisdr","id":9755598,"avatar_url":"https://avatars.githubusercontent.com/u/9755598?v=3","gravatar_id":"","url":"https://api.github.com/users/pattisdr","html_url":"https://github.com/pattisdr","followers_url":"https://api.github.com/users/pattisdr/followers","following_url":"https://api.github.com/users/pattisdr/following{/other_user}","gists_url":"https://api.github.com/users/pattisdr/gists{/gist_id}","starred_url":"https://api.github.com/users/pattisdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattisdr/subscriptions","organizations_url":"https://api.github.com/users/pattisdr/orgs","repos_url":"https://api.github.com/users/pattisdr/repos","events_url":"https://api.github.com/users/pattisdr/events{/privacy}","received_events_url":"https://api.github.com/users/pattisdr/received_events","type":"User","site_admin":false},"repo":{"id":64675120,"name":"ember-preprints","full_name":"pattisdr/ember-preprints","owner":{"login":"pattisdr","id":9755598,"avatar_url":"https://avatars.githubusercontent.com/u/9755598?v=3","gravatar_id":"","url":"https://api.github.com/users/pattisdr","html_url":"https://github.com/pattisdr","followers_url":"https://api.github.com/users/pattisdr/followers","following_url":"https://api.github.com/users/pattisdr/following{/other_user}","gists_url":"https://api.github.com/users/pattisdr/gists{/gist_id}","starred_url":"https://api.github.com/users/pattisdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattisdr/subscriptions","organizations_url":"https://api.github.com/users/pattisdr/orgs","repos_url":"https://api.github.com/users/pattisdr/repos","events_url":"https://api.github.com/users/pattisdr/events{/privacy}","received_events_url":"https://api.github.com/users/pattisdr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pattisdr/ember-preprints","description":null,"fork":true,"url":"https://api.github.com/repos/pattisdr/ember-preprints","forks_url":"https://api.github.com/repos/pattisdr/ember-preprints/forks","keys_url":"https://api.github.com/repos/pattisdr/ember-preprints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pattisdr/ember-preprints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pattisdr/ember-preprints/teams","hooks_url":"https://api.github.com/repos/pattisdr/ember-preprints/hooks","issue_events_url":"https://api.github.com/repos/pattisdr/ember-preprints/issues/events{/number}","events_url":"https://api.github.com/repos/pattisdr/ember-preprints/events","assignees_url":"https://api.github.com/repos/pattisdr/ember-preprints/assignees{/user}","branches_url":"https://api.github.com/repos/pattisdr/ember-preprints/branches{/branch}","tags_url":"https://api.github.com/repos/pattisdr/ember-preprints/tags","blobs_url":"https://api.github.com/repos/pattisdr/ember-preprints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pattisdr/ember-preprints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pattisdr/ember-preprints/git/refs{/sha}","trees_url":"https://api.github.com/repos/pattisdr/ember-preprints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pattisdr/ember-preprints/statuses/{sha}","languages_url":"https://api.github.com/repos/pattisdr/ember-preprints/languages","stargazers_url":"https://api.github.com/repos/pattisdr/ember-preprints/stargazers","contributors_url":"https://api.github.com/repos/pattisdr/ember-preprints/contributors","subscribers_url":"https://api.github.com/repos/pattisdr/ember-preprints/subscribers","subscription_url":"https://api.github.com/repos/pattisdr/ember-preprints/subscription","commits_url":"https://api.github.com/repos/pattisdr/ember-preprints/commits{/sha}","git_commits_url":"https://api.github.com/repos/pattisdr/ember-preprints/git/commits{/sha}","comments_url":"https://api.github.com/repos/pattisdr/ember-preprints/comments{/number}","issue_comment_url":"https://api.github.com/repos/pattisdr/ember-preprints/issues/comments{/number}","contents_url":"https://api.github.com/repos/pattisdr/ember-preprints/contents/{+path}","compare_url":"https://api.github.com/repos/pattisdr/ember-preprints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pattisdr/ember-preprints/merges","archive_url":"https://api.github.com/repos/pattisdr/ember-preprints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pattisdr/ember-preprints/downloads","issues_url":"https://api.github.com/repos/pattisdr/ember-preprints/issues{/number}","pulls_url":"https://api.github.com/repos/pattisdr/ember-preprints/pulls{/number}","milestones_url":"https://api.github.com/repos/pattisdr/ember-preprints/milestones{/number}","notifications_url":"https://api.github.com/repos/pattisdr/ember-preprints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pattisdr/ember-preprints/labels{/name}","releases_url":"https://api.github.com/repos/pattisdr/ember-preprints/releases{/id}","deployments_url":"https://api.github.com/repos/pattisdr/ember-preprints/deployments","created_at":"2016-08-01T14:45:25Z","updated_at":"2016-08-01T14:45:26Z","pushed_at":"2017-01-30T16:11:48Z","git_url":"git://github.com/pattisdr/ember-preprints.git","ssh_url":"git@github.com:pattisdr/ember-preprints.git","clone_url":"https://github.com/pattisdr/ember-preprints.git","svn_url":"https://github.com/pattisdr/ember-preprints","homepage":null,"size":13341,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"d4e6cde4ad6cde91dd0d1027932b835d7034713d","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":63790282,"name":"ember-preprints","full_name":"CenterForOpenScience/ember-preprints","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/ember-preprints","description":"This is the codebase for OSF Preprints, the open preprint repository network","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints","forks_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/deployments","created_at":"2016-07-20T14:56:36Z","updated_at":"2017-01-24T20:38:08Z","pushed_at":"2017-01-30T17:04:33Z","git_url":"git://github.com/CenterForOpenScience/ember-preprints.git","ssh_url":"git@github.com:CenterForOpenScience/ember-preprints.git","clone_url":"https://github.com/CenterForOpenScience/ember-preprints.git","svn_url":"https://github.com/CenterForOpenScience/ember-preprints","homepage":"https://osf.io/preprints/","size":13425,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":17,"forks":22,"open_issues":17,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/258"},"html":{"href":"https://github.com/CenterForOpenScience/ember-preprints/pull/258"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues/258"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-preprints/statuses/21a4338a896f11c7d317c0ff27cf0255513c26d5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brianjgeiger","id":6599111,"avatar_url":"https://avatars.githubusercontent.com/u/6599111?v=3","gravatar_id":"","url":"https://api.github.com/users/brianjgeiger","html_url":"https://github.com/brianjgeiger","followers_url":"https://api.github.com/users/brianjgeiger/followers","following_url":"https://api.github.com/users/brianjgeiger/following{/other_user}","gists_url":"https://api.github.com/users/brianjgeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjgeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjgeiger/subscriptions","organizations_url":"https://api.github.com/users/brianjgeiger/orgs","repos_url":"https://api.github.com/users/brianjgeiger/repos","events_url":"https://api.github.com/users/brianjgeiger/events{/privacy}","received_events_url":"https://api.github.com/users/brianjgeiger/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"brianjgeiger"}}