{"action":"opened","number":73,"pull_request":{"url":"https://api.github.com/repos/cerebral/repo-cooker/pulls/73","id":214080968,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MDgwOTY4","html_url":"https://github.com/cerebral/repo-cooker/pull/73","diff_url":"https://github.com/cerebral/repo-cooker/pull/73.diff","patch_url":"https://github.com/cerebral/repo-cooker/pull/73.patch","issue_url":"https://api.github.com/repos/cerebral/repo-cooker/issues/73","number":73,"state":"open","locked":false,"title":"feat(versions): allow setting an initial version","user":{"login":"christianalfoni","id":3956929,"node_id":"MDQ6VXNlcjM5NTY5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/3956929?v=4","gravatar_id":"","url":"https://api.github.com/users/christianalfoni","html_url":"https://github.com/christianalfoni","followers_url":"https://api.github.com/users/christianalfoni/followers","following_url":"https://api.github.com/users/christianalfoni/following{/other_user}","gists_url":"https://api.github.com/users/christianalfoni/gists{/gist_id}","starred_url":"https://api.github.com/users/christianalfoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianalfoni/subscriptions","organizations_url":"https://api.github.com/users/christianalfoni/orgs","repos_url":"https://api.github.com/users/christianalfoni/repos","events_url":"https://api.github.com/users/christianalfoni/events{/privacy}","received_events_url":"https://api.github.com/users/christianalfoni/received_events","type":"User","site_admin":false},"body":"When you `unpublish` packages from NPM they are not gone. You can not overwrite a published version, even after it is unpublished. So if you mess up here you are pretty much unable to release with repo-cooker. Also if you want to use repo-cooker with existing project, or change to a new \"keep versions in sync\" strategy, it will be beneficial to set an `initialVersion`.\r\n\r\nI have not written tests, because `nodegit` does not work on latest macOS :-/\r\n\r\nOvermind project is currently blocked by this.","created_at":"2018-09-08T06:40:24Z","updated_at":"2018-09-08T06:40:24Z","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/cerebral/repo-cooker/pulls/73/commits","review_comments_url":"https://api.github.com/repos/cerebral/repo-cooker/pulls/73/comments","review_comment_url":"https://api.github.com/repos/cerebral/repo-cooker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cerebral/repo-cooker/issues/73/comments","statuses_url":"https://api.github.com/repos/cerebral/repo-cooker/statuses/0e2aef34b39d863613b71a5f5144271ee7b12012","head":{"label":"cerebral:initialVersion","ref":"initialVersion","sha":"0e2aef34b39d863613b71a5f5144271ee7b12012","user":{"login":"cerebral","id":15994611,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTk0NjEx","avatar_url":"https://avatars1.githubusercontent.com/u/15994611?v=4","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"repo":{"id":95761760,"node_id":"MDEwOlJlcG9zaXRvcnk5NTc2MTc2MA==","name":"repo-cooker","full_name":"cerebral/repo-cooker","owner":{"login":"cerebral","id":15994611,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTk0NjEx","avatar_url":"https://avatars1.githubusercontent.com/u/15994611?v=4","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerebral/repo-cooker","description":null,"fork":false,"url":"https://api.github.com/repos/cerebral/repo-cooker","forks_url":"https://api.github.com/repos/cerebral/repo-cooker/forks","keys_url":"https://api.github.com/repos/cerebral/repo-cooker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerebral/repo-cooker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerebral/repo-cooker/teams","hooks_url":"https://api.github.com/repos/cerebral/repo-cooker/hooks","issue_events_url":"https://api.github.com/repos/cerebral/repo-cooker/issues/events{/number}","events_url":"https://api.github.com/repos/cerebral/repo-cooker/events","assignees_url":"https://api.github.com/repos/cerebral/repo-cooker/assignees{/user}","branches_url":"https://api.github.com/repos/cerebral/repo-cooker/branches{/branch}","tags_url":"https://api.github.com/repos/cerebral/repo-cooker/tags","blobs_url":"https://api.github.com/repos/cerebral/repo-cooker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerebral/repo-cooker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerebral/repo-cooker/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerebral/repo-cooker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerebral/repo-cooker/statuses/{sha}","languages_url":"https://api.github.com/repos/cerebral/repo-cooker/languages","stargazers_url":"https://api.github.com/repos/cerebral/repo-cooker/stargazers","contributors_url":"https://api.github.com/repos/cerebral/repo-cooker/contributors","subscribers_url":"https://api.github.com/repos/cerebral/repo-cooker/subscribers","subscription_url":"https://api.github.com/repos/cerebral/repo-cooker/subscription","commits_url":"https://api.github.com/repos/cerebral/repo-cooker/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerebral/repo-cooker/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerebral/repo-cooker/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerebral/repo-cooker/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerebral/repo-cooker/contents/{+path}","compare_url":"https://api.github.com/repos/cerebral/repo-cooker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerebral/repo-cooker/merges","archive_url":"https://api.github.com/repos/cerebral/repo-cooker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerebral/repo-cooker/downloads","issues_url":"https://api.github.com/repos/cerebral/repo-cooker/issues{/number}","pulls_url":"https://api.github.com/repos/cerebral/repo-cooker/pulls{/number}","milestones_url":"https://api.github.com/repos/cerebral/repo-cooker/milestones{/number}","notifications_url":"https://api.github.com/repos/cerebral/repo-cooker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerebral/repo-cooker/labels{/name}","releases_url":"https://api.github.com/repos/cerebral/repo-cooker/releases{/id}","deployments_url":"https://api.github.com/repos/cerebral/repo-cooker/deployments","created_at":"2017-06-29T09:30:36Z","updated_at":"2018-08-17T05:25:49Z","pushed_at":"2018-09-08T06:38:15Z","git_url":"git://github.com/cerebral/repo-cooker.git","ssh_url":"git@github.com:cerebral/repo-cooker.git","clone_url":"https://github.com/cerebral/repo-cooker.git","svn_url":"https://github.com/cerebral/repo-cooker","homepage":null,"size":239,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":1,"open_issues":9,"watchers":9,"default_branch":"master"}},"base":{"label":"cerebral:master","ref":"master","sha":"81ae21dafa48f33dad7fe6a7caf555d96d1c1b29","user":{"login":"cerebral","id":15994611,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTk0NjEx","avatar_url":"https://avatars1.githubusercontent.com/u/15994611?v=4","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"repo":{"id":95761760,"node_id":"MDEwOlJlcG9zaXRvcnk5NTc2MTc2MA==","name":"repo-cooker","full_name":"cerebral/repo-cooker","owner":{"login":"cerebral","id":15994611,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTk0NjEx","avatar_url":"https://avatars1.githubusercontent.com/u/15994611?v=4","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerebral/repo-cooker","description":null,"fork":false,"url":"https://api.github.com/repos/cerebral/repo-cooker","forks_url":"https://api.github.com/repos/cerebral/repo-cooker/forks","keys_url":"https://api.github.com/repos/cerebral/repo-cooker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerebral/repo-cooker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerebral/repo-cooker/teams","hooks_url":"https://api.github.com/repos/cerebral/repo-cooker/hooks","issue_events_url":"https://api.github.com/repos/cerebral/repo-cooker/issues/events{/number}","events_url":"https://api.github.com/repos/cerebral/repo-cooker/events","assignees_url":"https://api.github.com/repos/cerebral/repo-cooker/assignees{/user}","branches_url":"https://api.github.com/repos/cerebral/repo-cooker/branches{/branch}","tags_url":"https://api.github.com/repos/cerebral/repo-cooker/tags","blobs_url":"https://api.github.com/repos/cerebral/repo-cooker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerebral/repo-cooker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerebral/repo-cooker/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerebral/repo-cooker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerebral/repo-cooker/statuses/{sha}","languages_url":"https://api.github.com/repos/cerebral/repo-cooker/languages","stargazers_url":"https://api.github.com/repos/cerebral/repo-cooker/stargazers","contributors_url":"https://api.github.com/repos/cerebral/repo-cooker/contributors","subscribers_url":"https://api.github.com/repos/cerebral/repo-cooker/subscribers","subscription_url":"https://api.github.com/repos/cerebral/repo-cooker/subscription","commits_url":"https://api.github.com/repos/cerebral/repo-cooker/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerebral/repo-cooker/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerebral/repo-cooker/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerebral/repo-cooker/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerebral/repo-cooker/contents/{+path}","compare_url":"https://api.github.com/repos/cerebral/repo-cooker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerebral/repo-cooker/merges","archive_url":"https://api.github.com/repos/cerebral/repo-cooker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerebral/repo-cooker/downloads","issues_url":"https://api.github.com/repos/cerebral/repo-cooker/issues{/number}","pulls_url":"https://api.github.com/repos/cerebral/repo-cooker/pulls{/number}","milestones_url":"https://api.github.com/repos/cerebral/repo-cooker/milestones{/number}","notifications_url":"https://api.github.com/repos/cerebral/repo-cooker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerebral/repo-cooker/labels{/name}","releases_url":"https://api.github.com/repos/cerebral/repo-cooker/releases{/id}","deployments_url":"https://api.github.com/repos/cerebral/repo-cooker/deployments","created_at":"2017-06-29T09:30:36Z","updated_at":"2018-08-17T05:25:49Z","pushed_at":"2018-09-08T06:38:15Z","git_url":"git://github.com/cerebral/repo-cooker.git","ssh_url":"git@github.com:cerebral/repo-cooker.git","clone_url":"https://github.com/cerebral/repo-cooker.git","svn_url":"https://github.com/cerebral/repo-cooker","homepage":null,"size":239,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":1,"open_issues":9,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerebral/repo-cooker/pulls/73"},"html":{"href":"https://github.com/cerebral/repo-cooker/pull/73"},"issue":{"href":"https://api.github.com/repos/cerebral/repo-cooker/issues/73"},"comments":{"href":"https://api.github.com/repos/cerebral/repo-cooker/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/cerebral/repo-cooker/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/cerebral/repo-cooker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cerebral/repo-cooker/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/cerebral/repo-cooker/statuses/0e2aef34b39d863613b71a5f5144271ee7b12012"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":18,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"christianalfoni"}}