{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/akonwi/atom/pulls/1","id":33606694,"html_url":"https://github.com/akonwi/atom/pull/1","diff_url":"https://github.com/akonwi/atom/pull/1.diff","patch_url":"https://github.com/akonwi/atom/pull/1.patch","issue_url":"https://api.github.com/repos/akonwi/atom/issues/1","number":1,"state":"closed","locked":false,"title":"Don't save `null` repositories","user":{"login":"akonwi","id":2013804,"avatar_url":"https://avatars.githubusercontent.com/u/2013804?v=3","gravatar_id":"","url":"https://api.github.com/users/akonwi","html_url":"https://github.com/akonwi","followers_url":"https://api.github.com/users/akonwi/followers","following_url":"https://api.github.com/users/akonwi/following{/other_user}","gists_url":"https://api.github.com/users/akonwi/gists{/gist_id}","starred_url":"https://api.github.com/users/akonwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akonwi/subscriptions","organizations_url":"https://api.github.com/users/akonwi/orgs","repos_url":"https://api.github.com/users/akonwi/repos","events_url":"https://api.github.com/users/akonwi/events{/privacy}","received_events_url":"https://api.github.com/users/akonwi/received_events","type":"User","site_admin":false},"body":"Putting instances of null in the `@repositories` array can be misleading for packages that want to use `atom.project.getRepositories().length` to know how many repos there actually are instead of how many potential repositories there could be. Right now, I'm filtering the array for non-null values each time I call it.","created_at":"2015-04-18T18:39:28Z","updated_at":"2015-06-12T00:50:28Z","closed_at":"2015-06-12T00:50:28Z","merged_at":null,"merge_commit_sha":"2c7dcaae61b4e42299a6b1a63b80c0ccce5f2854","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/akonwi/atom/pulls/1/commits","review_comments_url":"https://api.github.com/repos/akonwi/atom/pulls/1/comments","review_comment_url":"https://api.github.com/repos/akonwi/atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akonwi/atom/issues/1/comments","statuses_url":"https://api.github.com/repos/akonwi/atom/statuses/848917696bbe21429eca2355893d3001116babd8","head":{"label":"akonwi:akonwi-no-null-repositories","ref":"akonwi-no-null-repositories","sha":"848917696bbe21429eca2355893d3001116babd8","user":{"login":"akonwi","id":2013804,"avatar_url":"https://avatars.githubusercontent.com/u/2013804?v=3","gravatar_id":"","url":"https://api.github.com/users/akonwi","html_url":"https://github.com/akonwi","followers_url":"https://api.github.com/users/akonwi/followers","following_url":"https://api.github.com/users/akonwi/following{/other_user}","gists_url":"https://api.github.com/users/akonwi/gists{/gist_id}","starred_url":"https://api.github.com/users/akonwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akonwi/subscriptions","organizations_url":"https://api.github.com/users/akonwi/orgs","repos_url":"https://api.github.com/users/akonwi/repos","events_url":"https://api.github.com/users/akonwi/events{/privacy}","received_events_url":"https://api.github.com/users/akonwi/received_events","type":"User","site_admin":false},"repo":{"id":34177431,"name":"atom","full_name":"akonwi/atom","owner":{"login":"akonwi","id":2013804,"avatar_url":"https://avatars.githubusercontent.com/u/2013804?v=3","gravatar_id":"","url":"https://api.github.com/users/akonwi","html_url":"https://github.com/akonwi","followers_url":"https://api.github.com/users/akonwi/followers","following_url":"https://api.github.com/users/akonwi/following{/other_user}","gists_url":"https://api.github.com/users/akonwi/gists{/gist_id}","starred_url":"https://api.github.com/users/akonwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akonwi/subscriptions","organizations_url":"https://api.github.com/users/akonwi/orgs","repos_url":"https://api.github.com/users/akonwi/repos","events_url":"https://api.github.com/users/akonwi/events{/privacy}","received_events_url":"https://api.github.com/users/akonwi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akonwi/atom","description":"The hackable editor","fork":true,"url":"https://api.github.com/repos/akonwi/atom","forks_url":"https://api.github.com/repos/akonwi/atom/forks","keys_url":"https://api.github.com/repos/akonwi/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akonwi/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akonwi/atom/teams","hooks_url":"https://api.github.com/repos/akonwi/atom/hooks","issue_events_url":"https://api.github.com/repos/akonwi/atom/issues/events{/number}","events_url":"https://api.github.com/repos/akonwi/atom/events","assignees_url":"https://api.github.com/repos/akonwi/atom/assignees{/user}","branches_url":"https://api.github.com/repos/akonwi/atom/branches{/branch}","tags_url":"https://api.github.com/repos/akonwi/atom/tags","blobs_url":"https://api.github.com/repos/akonwi/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akonwi/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akonwi/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/akonwi/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akonwi/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/akonwi/atom/languages","stargazers_url":"https://api.github.com/repos/akonwi/atom/stargazers","contributors_url":"https://api.github.com/repos/akonwi/atom/contributors","subscribers_url":"https://api.github.com/repos/akonwi/atom/subscribers","subscription_url":"https://api.github.com/repos/akonwi/atom/subscription","commits_url":"https://api.github.com/repos/akonwi/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/akonwi/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/akonwi/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/akonwi/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/akonwi/atom/contents/{+path}","compare_url":"https://api.github.com/repos/akonwi/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akonwi/atom/merges","archive_url":"https://api.github.com/repos/akonwi/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akonwi/atom/downloads","issues_url":"https://api.github.com/repos/akonwi/atom/issues{/number}","pulls_url":"https://api.github.com/repos/akonwi/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/akonwi/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/akonwi/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akonwi/atom/labels{/name}","releases_url":"https://api.github.com/repos/akonwi/atom/releases{/id}","created_at":"2015-04-18T18:25:57Z","updated_at":"2015-04-18T18:26:01Z","pushed_at":"2015-04-18T18:39:28Z","git_url":"git://github.com/akonwi/atom.git","ssh_url":"git@github.com:akonwi/atom.git","clone_url":"https://github.com/akonwi/atom.git","svn_url":"https://github.com/akonwi/atom","homepage":"https://atom.io","size":266492,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"akonwi:master","ref":"master","sha":"98d3646fee7e22e5731058457e19976ab3139377","user":{"login":"akonwi","id":2013804,"avatar_url":"https://avatars.githubusercontent.com/u/2013804?v=3","gravatar_id":"","url":"https://api.github.com/users/akonwi","html_url":"https://github.com/akonwi","followers_url":"https://api.github.com/users/akonwi/followers","following_url":"https://api.github.com/users/akonwi/following{/other_user}","gists_url":"https://api.github.com/users/akonwi/gists{/gist_id}","starred_url":"https://api.github.com/users/akonwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akonwi/subscriptions","organizations_url":"https://api.github.com/users/akonwi/orgs","repos_url":"https://api.github.com/users/akonwi/repos","events_url":"https://api.github.com/users/akonwi/events{/privacy}","received_events_url":"https://api.github.com/users/akonwi/received_events","type":"User","site_admin":false},"repo":{"id":34177431,"name":"atom","full_name":"akonwi/atom","owner":{"login":"akonwi","id":2013804,"avatar_url":"https://avatars.githubusercontent.com/u/2013804?v=3","gravatar_id":"","url":"https://api.github.com/users/akonwi","html_url":"https://github.com/akonwi","followers_url":"https://api.github.com/users/akonwi/followers","following_url":"https://api.github.com/users/akonwi/following{/other_user}","gists_url":"https://api.github.com/users/akonwi/gists{/gist_id}","starred_url":"https://api.github.com/users/akonwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akonwi/subscriptions","organizations_url":"https://api.github.com/users/akonwi/orgs","repos_url":"https://api.github.com/users/akonwi/repos","events_url":"https://api.github.com/users/akonwi/events{/privacy}","received_events_url":"https://api.github.com/users/akonwi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akonwi/atom","description":"The hackable editor","fork":true,"url":"https://api.github.com/repos/akonwi/atom","forks_url":"https://api.github.com/repos/akonwi/atom/forks","keys_url":"https://api.github.com/repos/akonwi/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akonwi/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akonwi/atom/teams","hooks_url":"https://api.github.com/repos/akonwi/atom/hooks","issue_events_url":"https://api.github.com/repos/akonwi/atom/issues/events{/number}","events_url":"https://api.github.com/repos/akonwi/atom/events","assignees_url":"https://api.github.com/repos/akonwi/atom/assignees{/user}","branches_url":"https://api.github.com/repos/akonwi/atom/branches{/branch}","tags_url":"https://api.github.com/repos/akonwi/atom/tags","blobs_url":"https://api.github.com/repos/akonwi/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akonwi/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akonwi/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/akonwi/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akonwi/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/akonwi/atom/languages","stargazers_url":"https://api.github.com/repos/akonwi/atom/stargazers","contributors_url":"https://api.github.com/repos/akonwi/atom/contributors","subscribers_url":"https://api.github.com/repos/akonwi/atom/subscribers","subscription_url":"https://api.github.com/repos/akonwi/atom/subscription","commits_url":"https://api.github.com/repos/akonwi/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/akonwi/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/akonwi/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/akonwi/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/akonwi/atom/contents/{+path}","compare_url":"https://api.github.com/repos/akonwi/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akonwi/atom/merges","archive_url":"https://api.github.com/repos/akonwi/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akonwi/atom/downloads","issues_url":"https://api.github.com/repos/akonwi/atom/issues{/number}","pulls_url":"https://api.github.com/repos/akonwi/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/akonwi/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/akonwi/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akonwi/atom/labels{/name}","releases_url":"https://api.github.com/repos/akonwi/atom/releases{/id}","created_at":"2015-04-18T18:25:57Z","updated_at":"2015-04-18T18:26:01Z","pushed_at":"2015-04-18T18:39:28Z","git_url":"git://github.com/akonwi/atom.git","ssh_url":"git@github.com:akonwi/atom.git","clone_url":"https://github.com/akonwi/atom.git","svn_url":"https://github.com/akonwi/atom","homepage":"https://atom.io","size":266492,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akonwi/atom/pulls/1"},"html":{"href":"https://github.com/akonwi/atom/pull/1"},"issue":{"href":"https://api.github.com/repos/akonwi/atom/issues/1"},"comments":{"href":"https://api.github.com/repos/akonwi/atom/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/akonwi/atom/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/akonwi/atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akonwi/atom/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/akonwi/atom/statuses/848917696bbe21429eca2355893d3001116babd8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}