{"action":"created","comment":{"url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/comments/73744269","id":73744269,"diff_hunk":"@@ -62,6 +62,25 @@ module.exports = ->\n     fs.write-file-sync path.join(app-dir, filename), file-content\n \n \n+  @Given /^source control contains the services \"([^\"]*)\" and \"([^\"]*)\"$/ (service1, service2, done) ->\n+    repo-dirs = [ path.join(process.cwd!, 'tmp', 'origins', service1),\n+                  path.join(process.cwd!, 'tmp', 'origins', service2) ]\n+    for dir in repo-dirs\n+      fs.mkdirs-sync dir\n+      fs.close-sync(fs.open-sync path.join(dir, 'service.yml'), 'w')\n+      @make-repo dir\n+    done!\n+\n+\n+  @Given /^source control contains a repo \"([^\"]*)\" with a file \"([^\"]*)\" and the content:$/ (app-name, file-name, file-content, done) ->\n+    repo-dir = path.join process.cwd!, 'tmp', 'origins', app-name\n+    fs.mkdirs-sync repo-dir\n+    fs.write-file-sync path.join(repo-dir, file-name), file-content\n+    @make-repo repo-dir\n+    done!","path":"features/steps/steps.ls","position":19,"original_position":19,"commit_id":"3aee4f34874f6dd313b1b9dadda944e40535fd80","original_commit_id":"3aee4f34874f6dd313b1b9dadda944e40535fd80","user":{"login":"kevgo","id":268934,"avatar_url":"https://avatars.githubusercontent.com/u/268934?v=3","gravatar_id":"","url":"https://api.github.com/users/kevgo","html_url":"https://github.com/kevgo","followers_url":"https://api.github.com/users/kevgo/followers","following_url":"https://api.github.com/users/kevgo/following{/other_user}","gists_url":"https://api.github.com/users/kevgo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevgo/subscriptions","organizations_url":"https://api.github.com/users/kevgo/orgs","repos_url":"https://api.github.com/users/kevgo/repos","events_url":"https://api.github.com/users/kevgo/events{/privacy}","received_events_url":"https://api.github.com/users/kevgo/received_events","type":"User","site_admin":false},"body":"Same here","created_at":"2016-08-05T19:05:17Z","updated_at":"2016-08-05T19:05:17Z","html_url":"https://github.com/Originate/exosphere-sdk/pull/92#discussion_r73744269","pull_request_url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92","_links":{"self":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/comments/73744269"},"html":{"href":"https://github.com/Originate/exosphere-sdk/pull/92#discussion_r73744269"},"pull_request":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92","id":79279645,"html_url":"https://github.com/Originate/exosphere-sdk/pull/92","diff_url":"https://github.com/Originate/exosphere-sdk/pull/92.diff","patch_url":"https://github.com/Originate/exosphere-sdk/pull/92.patch","issue_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues/92","number":92,"state":"open","locked":false,"title":"Implements exo-clone","user":{"login":"martinjaime","id":10568301,"avatar_url":"https://avatars.githubusercontent.com/u/10568301?v=3","gravatar_id":"","url":"https://api.github.com/users/martinjaime","html_url":"https://github.com/martinjaime","followers_url":"https://api.github.com/users/martinjaime/followers","following_url":"https://api.github.com/users/martinjaime/following{/other_user}","gists_url":"https://api.github.com/users/martinjaime/gists{/gist_id}","starred_url":"https://api.github.com/users/martinjaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinjaime/subscriptions","organizations_url":"https://api.github.com/users/martinjaime/orgs","repos_url":"https://api.github.com/users/martinjaime/repos","events_url":"https://api.github.com/users/martinjaime/events{/privacy}","received_events_url":"https://api.github.com/users/martinjaime/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-28T22:29:51Z","updated_at":"2016-08-05T19:05:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3d1a28701237293c2de159fe73f98c59dded862","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92/commits","review_comments_url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92/comments","review_comment_url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues/92/comments","statuses_url":"https://api.github.com/repos/Originate/exosphere-sdk/statuses/3aee4f34874f6dd313b1b9dadda944e40535fd80","head":{"label":"Originate:mj-exo-clone","ref":"mj-exo-clone","sha":"3aee4f34874f6dd313b1b9dadda944e40535fd80","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":51367535,"name":"exosphere-sdk","full_name":"Originate/exosphere-sdk","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/exosphere-sdk","description":"Implements the \"exo\" command","fork":false,"url":"https://api.github.com/repos/Originate/exosphere-sdk","forks_url":"https://api.github.com/repos/Originate/exosphere-sdk/forks","keys_url":"https://api.github.com/repos/Originate/exosphere-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/exosphere-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/exosphere-sdk/teams","hooks_url":"https://api.github.com/repos/Originate/exosphere-sdk/hooks","issue_events_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/exosphere-sdk/events","assignees_url":"https://api.github.com/repos/Originate/exosphere-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/exosphere-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/exosphere-sdk/tags","blobs_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/exosphere-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/exosphere-sdk/languages","stargazers_url":"https://api.github.com/repos/Originate/exosphere-sdk/stargazers","contributors_url":"https://api.github.com/repos/Originate/exosphere-sdk/contributors","subscribers_url":"https://api.github.com/repos/Originate/exosphere-sdk/subscribers","subscription_url":"https://api.github.com/repos/Originate/exosphere-sdk/subscription","commits_url":"https://api.github.com/repos/Originate/exosphere-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/exosphere-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/exosphere-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/exosphere-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/exosphere-sdk/merges","archive_url":"https://api.github.com/repos/Originate/exosphere-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/exosphere-sdk/downloads","issues_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/exosphere-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/exosphere-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/exosphere-sdk/labels{/name}","releases_url":"https://api.github.com/repos/Originate/exosphere-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/exosphere-sdk/deployments","created_at":"2016-02-09T13:13:35Z","updated_at":"2016-08-05T17:14:28Z","pushed_at":"2016-08-05T18:58:47Z","git_url":"git://github.com/Originate/exosphere-sdk.git","ssh_url":"git@github.com:Originate/exosphere-sdk.git","clone_url":"https://github.com/Originate/exosphere-sdk.git","svn_url":"https://github.com/Originate/exosphere-sdk","homepage":"","size":1723,"stargazers_count":4,"watchers_count":4,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":46,"forks":0,"open_issues":46,"watchers":4,"default_branch":"master"}},"base":{"label":"Originate:mj-issue27","ref":"mj-issue27","sha":"483d1ce7c8c8881b3e7a46f6673ce98f96af857a","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":51367535,"name":"exosphere-sdk","full_name":"Originate/exosphere-sdk","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/exosphere-sdk","description":"Implements the \"exo\" command","fork":false,"url":"https://api.github.com/repos/Originate/exosphere-sdk","forks_url":"https://api.github.com/repos/Originate/exosphere-sdk/forks","keys_url":"https://api.github.com/repos/Originate/exosphere-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/exosphere-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/exosphere-sdk/teams","hooks_url":"https://api.github.com/repos/Originate/exosphere-sdk/hooks","issue_events_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/exosphere-sdk/events","assignees_url":"https://api.github.com/repos/Originate/exosphere-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/exosphere-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/exosphere-sdk/tags","blobs_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/exosphere-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/exosphere-sdk/languages","stargazers_url":"https://api.github.com/repos/Originate/exosphere-sdk/stargazers","contributors_url":"https://api.github.com/repos/Originate/exosphere-sdk/contributors","subscribers_url":"https://api.github.com/repos/Originate/exosphere-sdk/subscribers","subscription_url":"https://api.github.com/repos/Originate/exosphere-sdk/subscription","commits_url":"https://api.github.com/repos/Originate/exosphere-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/exosphere-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/exosphere-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/exosphere-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/exosphere-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/exosphere-sdk/merges","archive_url":"https://api.github.com/repos/Originate/exosphere-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/exosphere-sdk/downloads","issues_url":"https://api.github.com/repos/Originate/exosphere-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/exosphere-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/exosphere-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/exosphere-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/exosphere-sdk/labels{/name}","releases_url":"https://api.github.com/repos/Originate/exosphere-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/exosphere-sdk/deployments","created_at":"2016-02-09T13:13:35Z","updated_at":"2016-08-05T17:14:28Z","pushed_at":"2016-08-05T18:58:47Z","git_url":"git://github.com/Originate/exosphere-sdk.git","ssh_url":"git@github.com:Originate/exosphere-sdk.git","clone_url":"https://github.com/Originate/exosphere-sdk.git","svn_url":"https://github.com/Originate/exosphere-sdk","homepage":"","size":1723,"stargazers_count":4,"watchers_count":4,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":46,"forks":0,"open_issues":46,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92"},"html":{"href":"https://github.com/Originate/exosphere-sdk/pull/92"},"issue":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/issues/92"},"comments":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/exosphere-sdk/statuses/3aee4f34874f6dd313b1b9dadda944e40535fd80"}}}}
{"actor":{"display_login":"kevgo"}}