{"action":"opened","number":144,"pull_request":{"url":"https://api.github.com/repos/notion-cli/notion/pulls/144","id":213717237,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNzE3MjM3","html_url":"https://github.com/notion-cli/notion/pull/144","diff_url":"https://github.com/notion-cli/notion/pull/144.diff","patch_url":"https://github.com/notion-cli/notion/pull/144.patch","issue_url":"https://api.github.com/repos/notion-cli/notion/issues/144","number":144,"state":"open","locked":false,"title":"Improvements to `latest`","user":{"login":"dherman","id":307871,"node_id":"MDQ6VXNlcjMwNzg3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/307871?v=4","gravatar_id":"","url":"https://api.github.com/users/dherman","html_url":"https://github.com/dherman","followers_url":"https://api.github.com/users/dherman/followers","following_url":"https://api.github.com/users/dherman/following{/other_user}","gists_url":"https://api.github.com/users/dherman/gists{/gist_id}","starred_url":"https://api.github.com/users/dherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dherman/subscriptions","organizations_url":"https://api.github.com/users/dherman/orgs","repos_url":"https://api.github.com/users/dherman/repos","events_url":"https://api.github.com/users/dherman/events{/privacy}","received_events_url":"https://api.github.com/users/dherman/received_events","type":"User","site_admin":false},"body":"A few little fixes:\r\n\r\n- Fixes the `latest` calculation which I broke in #139. (@mikrostew's test harnesses would've caught this!).\r\n- Make the version argument to `notion install` optional, and default to `latest`.\r\n- Stores the index as a `Vec` instead of a `BTreeMap` since we don't use any map methods; we're only operating on an iterator.\r\n- A couple method renames to align with current terminology.\r\n","created_at":"2018-09-06T18:58:09Z","updated_at":"2018-09-06T18:58:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/notion-cli/notion/pulls/144/commits","review_comments_url":"https://api.github.com/repos/notion-cli/notion/pulls/144/comments","review_comment_url":"https://api.github.com/repos/notion-cli/notion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/notion-cli/notion/issues/144/comments","statuses_url":"https://api.github.com/repos/notion-cli/notion/statuses/102085bae0da676512757dbc460b871fe264d718","head":{"label":"dherman:latest","ref":"latest","sha":"102085bae0da676512757dbc460b871fe264d718","user":{"login":"dherman","id":307871,"node_id":"MDQ6VXNlcjMwNzg3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/307871?v=4","gravatar_id":"","url":"https://api.github.com/users/dherman","html_url":"https://github.com/dherman","followers_url":"https://api.github.com/users/dherman/followers","following_url":"https://api.github.com/users/dherman/following{/other_user}","gists_url":"https://api.github.com/users/dherman/gists{/gist_id}","starred_url":"https://api.github.com/users/dherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dherman/subscriptions","organizations_url":"https://api.github.com/users/dherman/orgs","repos_url":"https://api.github.com/users/dherman/repos","events_url":"https://api.github.com/users/dherman/events{/privacy}","received_events_url":"https://api.github.com/users/dherman/received_events","type":"User","site_admin":false},"repo":{"id":140876940,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4NzY5NDA=","name":"notion","full_name":"dherman/notion","owner":{"login":"dherman","id":307871,"node_id":"MDQ6VXNlcjMwNzg3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/307871?v=4","gravatar_id":"","url":"https://api.github.com/users/dherman","html_url":"https://github.com/dherman","followers_url":"https://api.github.com/users/dherman/followers","following_url":"https://api.github.com/users/dherman/following{/other_user}","gists_url":"https://api.github.com/users/dherman/gists{/gist_id}","starred_url":"https://api.github.com/users/dherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dherman/subscriptions","organizations_url":"https://api.github.com/users/dherman/orgs","repos_url":"https://api.github.com/users/dherman/repos","events_url":"https://api.github.com/users/dherman/events{/privacy}","received_events_url":"https://api.github.com/users/dherman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dherman/notion","description":"Notion: the hassle-free node.js toolchain manager","fork":true,"url":"https://api.github.com/repos/dherman/notion","forks_url":"https://api.github.com/repos/dherman/notion/forks","keys_url":"https://api.github.com/repos/dherman/notion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dherman/notion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dherman/notion/teams","hooks_url":"https://api.github.com/repos/dherman/notion/hooks","issue_events_url":"https://api.github.com/repos/dherman/notion/issues/events{/number}","events_url":"https://api.github.com/repos/dherman/notion/events","assignees_url":"https://api.github.com/repos/dherman/notion/assignees{/user}","branches_url":"https://api.github.com/repos/dherman/notion/branches{/branch}","tags_url":"https://api.github.com/repos/dherman/notion/tags","blobs_url":"https://api.github.com/repos/dherman/notion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dherman/notion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dherman/notion/git/refs{/sha}","trees_url":"https://api.github.com/repos/dherman/notion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dherman/notion/statuses/{sha}","languages_url":"https://api.github.com/repos/dherman/notion/languages","stargazers_url":"https://api.github.com/repos/dherman/notion/stargazers","contributors_url":"https://api.github.com/repos/dherman/notion/contributors","subscribers_url":"https://api.github.com/repos/dherman/notion/subscribers","subscription_url":"https://api.github.com/repos/dherman/notion/subscription","commits_url":"https://api.github.com/repos/dherman/notion/commits{/sha}","git_commits_url":"https://api.github.com/repos/dherman/notion/git/commits{/sha}","comments_url":"https://api.github.com/repos/dherman/notion/comments{/number}","issue_comment_url":"https://api.github.com/repos/dherman/notion/issues/comments{/number}","contents_url":"https://api.github.com/repos/dherman/notion/contents/{+path}","compare_url":"https://api.github.com/repos/dherman/notion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dherman/notion/merges","archive_url":"https://api.github.com/repos/dherman/notion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dherman/notion/downloads","issues_url":"https://api.github.com/repos/dherman/notion/issues{/number}","pulls_url":"https://api.github.com/repos/dherman/notion/pulls{/number}","milestones_url":"https://api.github.com/repos/dherman/notion/milestones{/number}","notifications_url":"https://api.github.com/repos/dherman/notion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dherman/notion/labels{/name}","releases_url":"https://api.github.com/repos/dherman/notion/releases{/id}","deployments_url":"https://api.github.com/repos/dherman/notion/deployments","created_at":"2018-07-13T17:48:06Z","updated_at":"2018-09-05T19:09:42Z","pushed_at":"2018-09-06T18:52:43Z","git_url":"git://github.com/dherman/notion.git","ssh_url":"git@github.com:dherman/notion.git","clone_url":"https://github.com/dherman/notion.git","svn_url":"https://github.com/dherman/notion","homepage":"","size":1421,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"notion-cli:master","ref":"master","sha":"15a17527c5a89e5f4735068a3daebc6ab4fff10d","user":{"login":"notion-cli","id":34111586,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTExNTg2","avatar_url":"https://avatars3.githubusercontent.com/u/34111586?v=4","gravatar_id":"","url":"https://api.github.com/users/notion-cli","html_url":"https://github.com/notion-cli","followers_url":"https://api.github.com/users/notion-cli/followers","following_url":"https://api.github.com/users/notion-cli/following{/other_user}","gists_url":"https://api.github.com/users/notion-cli/gists{/gist_id}","starred_url":"https://api.github.com/users/notion-cli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notion-cli/subscriptions","organizations_url":"https://api.github.com/users/notion-cli/orgs","repos_url":"https://api.github.com/users/notion-cli/repos","events_url":"https://api.github.com/users/notion-cli/events{/privacy}","received_events_url":"https://api.github.com/users/notion-cli/received_events","type":"Organization","site_admin":false},"repo":{"id":104796770,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ3OTY3NzA=","name":"notion","full_name":"notion-cli/notion","owner":{"login":"notion-cli","id":34111586,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTExNTg2","avatar_url":"https://avatars3.githubusercontent.com/u/34111586?v=4","gravatar_id":"","url":"https://api.github.com/users/notion-cli","html_url":"https://github.com/notion-cli","followers_url":"https://api.github.com/users/notion-cli/followers","following_url":"https://api.github.com/users/notion-cli/following{/other_user}","gists_url":"https://api.github.com/users/notion-cli/gists{/gist_id}","starred_url":"https://api.github.com/users/notion-cli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notion-cli/subscriptions","organizations_url":"https://api.github.com/users/notion-cli/orgs","repos_url":"https://api.github.com/users/notion-cli/repos","events_url":"https://api.github.com/users/notion-cli/events{/privacy}","received_events_url":"https://api.github.com/users/notion-cli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/notion-cli/notion","description":"Notion: the hassle-free node.js toolchain manager","fork":false,"url":"https://api.github.com/repos/notion-cli/notion","forks_url":"https://api.github.com/repos/notion-cli/notion/forks","keys_url":"https://api.github.com/repos/notion-cli/notion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/notion-cli/notion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/notion-cli/notion/teams","hooks_url":"https://api.github.com/repos/notion-cli/notion/hooks","issue_events_url":"https://api.github.com/repos/notion-cli/notion/issues/events{/number}","events_url":"https://api.github.com/repos/notion-cli/notion/events","assignees_url":"https://api.github.com/repos/notion-cli/notion/assignees{/user}","branches_url":"https://api.github.com/repos/notion-cli/notion/branches{/branch}","tags_url":"https://api.github.com/repos/notion-cli/notion/tags","blobs_url":"https://api.github.com/repos/notion-cli/notion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/notion-cli/notion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/notion-cli/notion/git/refs{/sha}","trees_url":"https://api.github.com/repos/notion-cli/notion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/notion-cli/notion/statuses/{sha}","languages_url":"https://api.github.com/repos/notion-cli/notion/languages","stargazers_url":"https://api.github.com/repos/notion-cli/notion/stargazers","contributors_url":"https://api.github.com/repos/notion-cli/notion/contributors","subscribers_url":"https://api.github.com/repos/notion-cli/notion/subscribers","subscription_url":"https://api.github.com/repos/notion-cli/notion/subscription","commits_url":"https://api.github.com/repos/notion-cli/notion/commits{/sha}","git_commits_url":"https://api.github.com/repos/notion-cli/notion/git/commits{/sha}","comments_url":"https://api.github.com/repos/notion-cli/notion/comments{/number}","issue_comment_url":"https://api.github.com/repos/notion-cli/notion/issues/comments{/number}","contents_url":"https://api.github.com/repos/notion-cli/notion/contents/{+path}","compare_url":"https://api.github.com/repos/notion-cli/notion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/notion-cli/notion/merges","archive_url":"https://api.github.com/repos/notion-cli/notion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/notion-cli/notion/downloads","issues_url":"https://api.github.com/repos/notion-cli/notion/issues{/number}","pulls_url":"https://api.github.com/repos/notion-cli/notion/pulls{/number}","milestones_url":"https://api.github.com/repos/notion-cli/notion/milestones{/number}","notifications_url":"https://api.github.com/repos/notion-cli/notion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/notion-cli/notion/labels{/name}","releases_url":"https://api.github.com/repos/notion-cli/notion/releases{/id}","deployments_url":"https://api.github.com/repos/notion-cli/notion/deployments","created_at":"2017-09-25T20:06:43Z","updated_at":"2018-09-05T19:06:13Z","pushed_at":"2018-09-06T18:16:23Z","git_url":"git://github.com/notion-cli/notion.git","ssh_url":"git@github.com:notion-cli/notion.git","clone_url":"https://github.com/notion-cli/notion.git","svn_url":"https://github.com/notion-cli/notion","homepage":"","size":1546,"stargazers_count":30,"watchers_count":30,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":7,"open_issues":51,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/notion-cli/notion/pulls/144"},"html":{"href":"https://github.com/notion-cli/notion/pull/144"},"issue":{"href":"https://api.github.com/repos/notion-cli/notion/issues/144"},"comments":{"href":"https://api.github.com/repos/notion-cli/notion/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/notion-cli/notion/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/notion-cli/notion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/notion-cli/notion/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/notion-cli/notion/statuses/102085bae0da676512757dbc460b871fe264d718"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":47,"deletions":25,"changed_files":8}}
{"actor":{"display_login":"dherman"}}