{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/661","repository_url":"https://api.github.com/repos/convox/rack","labels_url":"https://api.github.com/repos/convox/rack/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/661/comments","events_url":"https://api.github.com/repos/convox/rack/issues/661/events","html_url":"https://github.com/convox/rack/pull/661","id":155820537,"number":661,"title":"Allow multiple apps in convox start with --link","user":{"login":"ddollar","id":3308,"avatar_url":"https://avatars.githubusercontent.com/u/3308?v=3","gravatar_id":"","url":"https://api.github.com/users/ddollar","html_url":"https://github.com/ddollar","followers_url":"https://api.github.com/users/ddollar/followers","following_url":"https://api.github.com/users/ddollar/following{/other_user}","gists_url":"https://api.github.com/users/ddollar/gists{/gist_id}","starred_url":"https://api.github.com/users/ddollar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddollar/subscriptions","organizations_url":"https://api.github.com/users/ddollar/orgs","repos_url":"https://api.github.com/users/ddollar/repos","events_url":"https://api.github.com/users/ddollar/events{/privacy}","received_events_url":"https://api.github.com/users/ddollar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-19T19:53:16Z","updated_at":"2016-05-19T20:27:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/convox/rack/pulls/661","html_url":"https://github.com/convox/rack/pull/661","diff_url":"https://github.com/convox/rack/pull/661.diff","patch_url":"https://github.com/convox/rack/pull/661.patch"},"body":"This PR is rebased on top of #648\r\n\r\n```\r\n$ cd foo && convox start\r\nweb: starting\r\n\r\n$ convox start --name bar --link foo\r\nworker: starting (with $FOO_WEB_HOST)\r\n\r\n$ convox start --link foo --link bar\r\nmonitor: starting (with $FOO_WEB_HOST and $BAR_WORKER_HOST)\r\n```\r\n\r\n## Release Playbook\r\n- [ ] Rebase against master\r\n- [ ] Release branch ()\r\n- [ ] Pass CI ()\r\n- [ ] Code review\r\n- [ ] Merge into master\r\n- [ ] Release master ()\r\n- [ ] Pass CI ()\r\n- [ ] Update staging rack\r\n- [ ] Edit [Rack release record](https://github.com/convox/rack/releases) and/or update [docs](https://github.com/convox/convox.github.io)\r\n- [ ] Publish release\r\n- [ ] Release CLI\r\n"},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/220442360","html_url":"https://github.com/convox/rack/pull/661#issuecomment-220442360","issue_url":"https://api.github.com/repos/convox/rack/issues/661","id":220442360,"user":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T20:27:22Z","updated_at":"2016-05-19T20:27:22Z","body":"Took a quick read through - here are a few questions I had (maybe some more examples of how you'd actually interact with this would help):\r\n\r\n* How do I make a request from my host too `foo` or `bar` app? Are those environment variables in the logs set on the host? What do their values look like?\r\n* The actual linking looks like it would have to be done manually, and possibly in a specific order - I'm not sure how this would react to trying to link an app that's not currently running. My concern here is that devs work on subsets of our apps at once\r\n\r\n### Dev 1\r\n\r\nWorking on: `a1`, `a2`, `a3`\r\nRuns (?):\r\n\r\n```\r\n# shell1\r\ncd a1 && convox start\r\n\r\n# shell2\r\ncd a2 && convox start --link a1\r\n\r\n# shell3\r\ncd a3 && convox start --link a1 --link a2\r\n```\r\n\r\n### Dev 2\r\n\r\nWorking on: `a1`, `a4`, `a5`, `a6`\r\nRuns (?):\r\n\r\n```\r\n# shell1\r\ncd a1 && convox start\r\n\r\n# shell2\r\ncd a4 && convox start --link a1\r\n\r\n# shell3\r\ncd a5 && convox start --link a1 --link a4\r\n\r\n# shell4\r\ncd a6 && convox start --link a1 --link a4 --link a5\r\n```\r\n\r\nThis seems pretty complicated, manual, and error-prone - but I could be misunderstanding how it's meant to be used."}}