{"action":"opened","number":120,"pull_request":{"url":"https://api.github.com/repos/contentful/contentful-cli/pulls/120","id":254441746,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU0NDQxNzQ2","html_url":"https://github.com/contentful/contentful-cli/pull/120","diff_url":"https://github.com/contentful/contentful-cli/pull/120.diff","patch_url":"https://github.com/contentful/contentful-cli/pull/120.patch","issue_url":"https://api.github.com/repos/contentful/contentful-cli/issues/120","number":120,"state":"open","locked":false,"title":"feat/add-environment-branching","user":{"login":"phoebeschmidt","id":13663991,"node_id":"MDQ6VXNlcjEzNjYzOTkx","avatar_url":"https://avatars3.githubusercontent.com/u/13663991?v=4","gravatar_id":"","url":"https://api.github.com/users/phoebeschmidt","html_url":"https://github.com/phoebeschmidt","followers_url":"https://api.github.com/users/phoebeschmidt/followers","following_url":"https://api.github.com/users/phoebeschmidt/following{/other_user}","gists_url":"https://api.github.com/users/phoebeschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/phoebeschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoebeschmidt/subscriptions","organizations_url":"https://api.github.com/users/phoebeschmidt/orgs","repos_url":"https://api.github.com/users/phoebeschmidt/repos","events_url":"https://api.github.com/users/phoebeschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/phoebeschmidt/received_events","type":"User","site_admin":false},"body":"Add the ability to supply a `--source` or `--src` param with `space environment create`. \r\n\r\nCurrently, this PR includes all changes necessary to make this feature work EXCEPT that this currently relies on a version of the CMA SDK that doesnt do anything with the `source` parameter.\r\n\r\nTODO:\r\n\r\n1. merge https://github.com/contentful/contentful-management.js/pull/208 \r\n2. release new beta of cma sdk\r\n3. update dependency in this PR\r\n\r\nI left off integration test because that just becomes testing if the SDK executes the command correctly with the source param. Am happy to add one if we decide it's worth it, once the new beta has been released.\r\n","created_at":"2019-02-19T23:04:58Z","updated_at":"2019-02-19T23:04:58Z","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/contentful/contentful-cli/pulls/120/commits","review_comments_url":"https://api.github.com/repos/contentful/contentful-cli/pulls/120/comments","review_comment_url":"https://api.github.com/repos/contentful/contentful-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contentful/contentful-cli/issues/120/comments","statuses_url":"https://api.github.com/repos/contentful/contentful-cli/statuses/bb702399e790a90cf9c6bec51843bd4dd0dd21c9","head":{"label":"contentful:feat/env-branching","ref":"feat/env-branching","sha":"bb702399e790a90cf9c6bec51843bd4dd0dd21c9","user":{"login":"contentful","id":472182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MjE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/472182?v=4","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"repo":{"id":102004714,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIwMDQ3MTQ=","name":"contentful-cli","full_name":"contentful/contentful-cli","private":false,"owner":{"login":"contentful","id":472182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MjE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/472182?v=4","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/contentful/contentful-cli","description":"The official Contentful command line interface. Use Contentful features straight from the command line!","fork":false,"url":"https://api.github.com/repos/contentful/contentful-cli","forks_url":"https://api.github.com/repos/contentful/contentful-cli/forks","keys_url":"https://api.github.com/repos/contentful/contentful-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contentful/contentful-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contentful/contentful-cli/teams","hooks_url":"https://api.github.com/repos/contentful/contentful-cli/hooks","issue_events_url":"https://api.github.com/repos/contentful/contentful-cli/issues/events{/number}","events_url":"https://api.github.com/repos/contentful/contentful-cli/events","assignees_url":"https://api.github.com/repos/contentful/contentful-cli/assignees{/user}","branches_url":"https://api.github.com/repos/contentful/contentful-cli/branches{/branch}","tags_url":"https://api.github.com/repos/contentful/contentful-cli/tags","blobs_url":"https://api.github.com/repos/contentful/contentful-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contentful/contentful-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contentful/contentful-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/contentful/contentful-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contentful/contentful-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/contentful/contentful-cli/languages","stargazers_url":"https://api.github.com/repos/contentful/contentful-cli/stargazers","contributors_url":"https://api.github.com/repos/contentful/contentful-cli/contributors","subscribers_url":"https://api.github.com/repos/contentful/contentful-cli/subscribers","subscription_url":"https://api.github.com/repos/contentful/contentful-cli/subscription","commits_url":"https://api.github.com/repos/contentful/contentful-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/contentful/contentful-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/contentful/contentful-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/contentful/contentful-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/contentful/contentful-cli/contents/{+path}","compare_url":"https://api.github.com/repos/contentful/contentful-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contentful/contentful-cli/merges","archive_url":"https://api.github.com/repos/contentful/contentful-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contentful/contentful-cli/downloads","issues_url":"https://api.github.com/repos/contentful/contentful-cli/issues{/number}","pulls_url":"https://api.github.com/repos/contentful/contentful-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/contentful/contentful-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/contentful/contentful-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contentful/contentful-cli/labels{/name}","releases_url":"https://api.github.com/repos/contentful/contentful-cli/releases{/id}","deployments_url":"https://api.github.com/repos/contentful/contentful-cli/deployments","created_at":"2017-08-31T13:40:39Z","updated_at":"2019-02-19T10:11:14Z","pushed_at":"2019-02-19T23:04:59Z","git_url":"git://github.com/contentful/contentful-cli.git","ssh_url":"git@github.com:contentful/contentful-cli.git","clone_url":"https://github.com/contentful/contentful-cli.git","svn_url":"https://github.com/contentful/contentful-cli","homepage":"https://www.contentful.com","size":1523,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":12,"open_issues":19,"watchers":77,"default_branch":"master"}},"base":{"label":"contentful:master","ref":"master","sha":"a2fd25c0700137f744619c3b4040810d1d3bcc3e","user":{"login":"contentful","id":472182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MjE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/472182?v=4","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"repo":{"id":102004714,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIwMDQ3MTQ=","name":"contentful-cli","full_name":"contentful/contentful-cli","private":false,"owner":{"login":"contentful","id":472182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MjE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/472182?v=4","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/contentful/contentful-cli","description":"The official Contentful command line interface. Use Contentful features straight from the command line!","fork":false,"url":"https://api.github.com/repos/contentful/contentful-cli","forks_url":"https://api.github.com/repos/contentful/contentful-cli/forks","keys_url":"https://api.github.com/repos/contentful/contentful-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contentful/contentful-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contentful/contentful-cli/teams","hooks_url":"https://api.github.com/repos/contentful/contentful-cli/hooks","issue_events_url":"https://api.github.com/repos/contentful/contentful-cli/issues/events{/number}","events_url":"https://api.github.com/repos/contentful/contentful-cli/events","assignees_url":"https://api.github.com/repos/contentful/contentful-cli/assignees{/user}","branches_url":"https://api.github.com/repos/contentful/contentful-cli/branches{/branch}","tags_url":"https://api.github.com/repos/contentful/contentful-cli/tags","blobs_url":"https://api.github.com/repos/contentful/contentful-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contentful/contentful-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contentful/contentful-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/contentful/contentful-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contentful/contentful-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/contentful/contentful-cli/languages","stargazers_url":"https://api.github.com/repos/contentful/contentful-cli/stargazers","contributors_url":"https://api.github.com/repos/contentful/contentful-cli/contributors","subscribers_url":"https://api.github.com/repos/contentful/contentful-cli/subscribers","subscription_url":"https://api.github.com/repos/contentful/contentful-cli/subscription","commits_url":"https://api.github.com/repos/contentful/contentful-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/contentful/contentful-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/contentful/contentful-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/contentful/contentful-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/contentful/contentful-cli/contents/{+path}","compare_url":"https://api.github.com/repos/contentful/contentful-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contentful/contentful-cli/merges","archive_url":"https://api.github.com/repos/contentful/contentful-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contentful/contentful-cli/downloads","issues_url":"https://api.github.com/repos/contentful/contentful-cli/issues{/number}","pulls_url":"https://api.github.com/repos/contentful/contentful-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/contentful/contentful-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/contentful/contentful-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contentful/contentful-cli/labels{/name}","releases_url":"https://api.github.com/repos/contentful/contentful-cli/releases{/id}","deployments_url":"https://api.github.com/repos/contentful/contentful-cli/deployments","created_at":"2017-08-31T13:40:39Z","updated_at":"2019-02-19T10:11:14Z","pushed_at":"2019-02-19T23:04:59Z","git_url":"git://github.com/contentful/contentful-cli.git","ssh_url":"git@github.com:contentful/contentful-cli.git","clone_url":"https://github.com/contentful/contentful-cli.git","svn_url":"https://github.com/contentful/contentful-cli","homepage":"https://www.contentful.com","size":1523,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":12,"open_issues":19,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contentful/contentful-cli/pulls/120"},"html":{"href":"https://github.com/contentful/contentful-cli/pull/120"},"issue":{"href":"https://api.github.com/repos/contentful/contentful-cli/issues/120"},"comments":{"href":"https://api.github.com/repos/contentful/contentful-cli/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/contentful/contentful-cli/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/contentful/contentful-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contentful/contentful-cli/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/contentful/contentful-cli/statuses/bb702399e790a90cf9c6bec51843bd4dd0dd21c9"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":73,"deletions":24,"changed_files":5}}
{"actor":{"display_login":"phoebeschmidt"}}