{"action":"created","comment":{"url":"https://api.github.com/repos/garden-io/garden/pulls/comments/221989857","pull_request_review_id":160770504,"id":221989857,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTk4OTg1Nw==","diff_hunk":"@@ -0,0 +1,100 @@\n+# Remote sources example project\n+\n+This example demonstrates how you can import remote sources and remote modules into a Garden project.\n+\n+> Remote source: A collection of one or more Garden modules that live in a repository different from the main project repo. The `garden.yml` config files are co-located with the modules in the remote repository.\n+\n+> Remote module: The remote source code for a single Garden module. In this case, the `garden.yml` config file is stored in the main project repo while the module code itself is in the remote repository.\n+\n+## About\n+\n+This project is the same as the [multi-container example](https://github.com/garden-io/garden/tree/master/examples/multi-container)—except that in this case the services live in their own repositories. The repositories are:\n+\n+* [Database services](https://github.com/garden-io/garden-example-remote-sources-db-services) (contains the Postgres and Redis services)\n+* [Web services](https://github.com/garden-io/garden-example-remote-sources-web-services) (contains the Python Vote web service and the Node.js Result web service)\n+* [Java worker module](https://github.com/garden-io/garden-example-remote-module-jworker)\n+\n+_This split is pretty arbitrary and doesn't necessarily reflect how you would normally separate services into different repositories._\n+\n+## Usage\n+\n+This project doesn't require any setup and can be deployed right away. If this is your first time working with this project, Garden will start by fetching the remote source code:\n+```sh\n+garden deploy\n+```\n+Garden will continue to use the version originally downloaded. Use the `update-remote sources|modules|all` command to fetch the latest version of your remote sources and modules:\n+```sh\n+garden update-remote modules jworker\n+```\n+If you however change the repository URL of your remote source or module (e.g. switch to a different tag or branch), Garden will automatically fetch the correct version.\n+\n+If you want to make changes to the remote source you can link it to a local directory with the `link source|module` command:","path":"examples/remote-sources/README.md","position":31,"original_position":31,"commit_id":"d78003604efac0a601bd975859307cfee7950669","original_commit_id":"d78003604efac0a601bd975859307cfee7950669","user":{"login":"edvald","id":155684,"node_id":"MDQ6VXNlcjE1NTY4NA==","avatar_url":"https://avatars1.githubusercontent.com/u/155684?v=4","gravatar_id":"","url":"https://api.github.com/users/edvald","html_url":"https://github.com/edvald","followers_url":"https://api.github.com/users/edvald/followers","following_url":"https://api.github.com/users/edvald/following{/other_user}","gists_url":"https://api.github.com/users/edvald/gists{/gist_id}","starred_url":"https://api.github.com/users/edvald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvald/subscriptions","organizations_url":"https://api.github.com/users/edvald/orgs","repos_url":"https://api.github.com/users/edvald/repos","events_url":"https://api.github.com/users/edvald/events{/privacy}","received_events_url":"https://api.github.com/users/edvald/received_events","type":"User","site_admin":false},"body":"It feels like this could more clearly state that you would clone the repo to a local directory and point to your local clone.\r\n\r\nSide note (for future work) - would it be nice to have a `garden clone` helper?","created_at":"2018-10-02T15:05:48Z","updated_at":"2018-10-02T15:05:48Z","html_url":"https://github.com/garden-io/garden/pull/314#discussion_r221989857","pull_request_url":"https://api.github.com/repos/garden-io/garden/pulls/314","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/garden-io/garden/pulls/comments/221989857"},"html":{"href":"https://github.com/garden-io/garden/pull/314#discussion_r221989857"},"pull_request":{"href":"https://api.github.com/repos/garden-io/garden/pulls/314"}}},"pull_request":{"url":"https://api.github.com/repos/garden-io/garden/pulls/314","id":219483506,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NDgzNTA2","html_url":"https://github.com/garden-io/garden/pull/314","diff_url":"https://github.com/garden-io/garden/pull/314.diff","patch_url":"https://github.com/garden-io/garden/pull/314.patch","issue_url":"https://api.github.com/repos/garden-io/garden/issues/314","number":314,"state":"open","locked":false,"title":"Multi repo example project","user":{"login":"eysi09","id":5373776,"node_id":"MDQ6VXNlcjUzNzM3NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/5373776?v=4","gravatar_id":"","url":"https://api.github.com/users/eysi09","html_url":"https://github.com/eysi09","followers_url":"https://api.github.com/users/eysi09/followers","following_url":"https://api.github.com/users/eysi09/following{/other_user}","gists_url":"https://api.github.com/users/eysi09/gists{/gist_id}","starred_url":"https://api.github.com/users/eysi09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eysi09/subscriptions","organizations_url":"https://api.github.com/users/eysi09/orgs","repos_url":"https://api.github.com/users/eysi09/repos","events_url":"https://api.github.com/users/eysi09/events{/privacy}","received_events_url":"https://api.github.com/users/eysi09/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-01T19:10:33Z","updated_at":"2018-10-02T15:05:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"834cea8391cb957da8fcffd0fb4056652986c75a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/garden-io/garden/pulls/314/commits","review_comments_url":"https://api.github.com/repos/garden-io/garden/pulls/314/comments","review_comment_url":"https://api.github.com/repos/garden-io/garden/pulls/comments{/number}","comments_url":"https://api.github.com/repos/garden-io/garden/issues/314/comments","statuses_url":"https://api.github.com/repos/garden-io/garden/statuses/d78003604efac0a601bd975859307cfee7950669","head":{"label":"garden-io:multi-repo-exmample-project","ref":"multi-repo-exmample-project","sha":"d78003604efac0a601bd975859307cfee7950669","user":{"login":"garden-io","id":34721769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzIxNzY5","avatar_url":"https://avatars1.githubusercontent.com/u/34721769?v=4","gravatar_id":"","url":"https://api.github.com/users/garden-io","html_url":"https://github.com/garden-io","followers_url":"https://api.github.com/users/garden-io/followers","following_url":"https://api.github.com/users/garden-io/following{/other_user}","gists_url":"https://api.github.com/users/garden-io/gists{/gist_id}","starred_url":"https://api.github.com/users/garden-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garden-io/subscriptions","organizations_url":"https://api.github.com/users/garden-io/orgs","repos_url":"https://api.github.com/users/garden-io/repos","events_url":"https://api.github.com/users/garden-io/events{/privacy}","received_events_url":"https://api.github.com/users/garden-io/received_events","type":"Organization","site_admin":false},"repo":{"id":112892985,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI4OTI5ODU=","name":"garden","full_name":"garden-io/garden","private":false,"owner":{"login":"garden-io","id":34721769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzIxNzY5","avatar_url":"https://avatars1.githubusercontent.com/u/34721769?v=4","gravatar_id":"","url":"https://api.github.com/users/garden-io","html_url":"https://github.com/garden-io","followers_url":"https://api.github.com/users/garden-io/followers","following_url":"https://api.github.com/users/garden-io/following{/other_user}","gists_url":"https://api.github.com/users/garden-io/gists{/gist_id}","starred_url":"https://api.github.com/users/garden-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garden-io/subscriptions","organizations_url":"https://api.github.com/users/garden-io/orgs","repos_url":"https://api.github.com/users/garden-io/repos","events_url":"https://api.github.com/users/garden-io/events{/privacy}","received_events_url":"https://api.github.com/users/garden-io/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/garden-io/garden","description":"Development engine for Kubernetes, containers and serverless functions.","fork":false,"url":"https://api.github.com/repos/garden-io/garden","forks_url":"https://api.github.com/repos/garden-io/garden/forks","keys_url":"https://api.github.com/repos/garden-io/garden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garden-io/garden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garden-io/garden/teams","hooks_url":"https://api.github.com/repos/garden-io/garden/hooks","issue_events_url":"https://api.github.com/repos/garden-io/garden/issues/events{/number}","events_url":"https://api.github.com/repos/garden-io/garden/events","assignees_url":"https://api.github.com/repos/garden-io/garden/assignees{/user}","branches_url":"https://api.github.com/repos/garden-io/garden/branches{/branch}","tags_url":"https://api.github.com/repos/garden-io/garden/tags","blobs_url":"https://api.github.com/repos/garden-io/garden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garden-io/garden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garden-io/garden/git/refs{/sha}","trees_url":"https://api.github.com/repos/garden-io/garden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garden-io/garden/statuses/{sha}","languages_url":"https://api.github.com/repos/garden-io/garden/languages","stargazers_url":"https://api.github.com/repos/garden-io/garden/stargazers","contributors_url":"https://api.github.com/repos/garden-io/garden/contributors","subscribers_url":"https://api.github.com/repos/garden-io/garden/subscribers","subscription_url":"https://api.github.com/repos/garden-io/garden/subscription","commits_url":"https://api.github.com/repos/garden-io/garden/commits{/sha}","git_commits_url":"https://api.github.com/repos/garden-io/garden/git/commits{/sha}","comments_url":"https://api.github.com/repos/garden-io/garden/comments{/number}","issue_comment_url":"https://api.github.com/repos/garden-io/garden/issues/comments{/number}","contents_url":"https://api.github.com/repos/garden-io/garden/contents/{+path}","compare_url":"https://api.github.com/repos/garden-io/garden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garden-io/garden/merges","archive_url":"https://api.github.com/repos/garden-io/garden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garden-io/garden/downloads","issues_url":"https://api.github.com/repos/garden-io/garden/issues{/number}","pulls_url":"https://api.github.com/repos/garden-io/garden/pulls{/number}","milestones_url":"https://api.github.com/repos/garden-io/garden/milestones{/number}","notifications_url":"https://api.github.com/repos/garden-io/garden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garden-io/garden/labels{/name}","releases_url":"https://api.github.com/repos/garden-io/garden/releases{/id}","deployments_url":"https://api.github.com/repos/garden-io/garden/deployments","created_at":"2017-12-03T02:10:59Z","updated_at":"2018-09-28T18:53:11Z","pushed_at":"2018-10-02T15:01:12Z","git_url":"git://github.com/garden-io/garden.git","ssh_url":"git@github.com:garden-io/garden.git","clone_url":"https://github.com/garden-io/garden.git","svn_url":"https://github.com/garden-io/garden","homepage":"https://garden.io","size":5723,"stargazers_count":17,"watchers_count":17,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":4,"open_issues":42,"watchers":17,"default_branch":"master"}},"base":{"label":"garden-io:master","ref":"master","sha":"e6efdae1ddfd9fda9943104eb1b0dfa490ff93bc","user":{"login":"garden-io","id":34721769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzIxNzY5","avatar_url":"https://avatars1.githubusercontent.com/u/34721769?v=4","gravatar_id":"","url":"https://api.github.com/users/garden-io","html_url":"https://github.com/garden-io","followers_url":"https://api.github.com/users/garden-io/followers","following_url":"https://api.github.com/users/garden-io/following{/other_user}","gists_url":"https://api.github.com/users/garden-io/gists{/gist_id}","starred_url":"https://api.github.com/users/garden-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garden-io/subscriptions","organizations_url":"https://api.github.com/users/garden-io/orgs","repos_url":"https://api.github.com/users/garden-io/repos","events_url":"https://api.github.com/users/garden-io/events{/privacy}","received_events_url":"https://api.github.com/users/garden-io/received_events","type":"Organization","site_admin":false},"repo":{"id":112892985,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI4OTI5ODU=","name":"garden","full_name":"garden-io/garden","private":false,"owner":{"login":"garden-io","id":34721769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzIxNzY5","avatar_url":"https://avatars1.githubusercontent.com/u/34721769?v=4","gravatar_id":"","url":"https://api.github.com/users/garden-io","html_url":"https://github.com/garden-io","followers_url":"https://api.github.com/users/garden-io/followers","following_url":"https://api.github.com/users/garden-io/following{/other_user}","gists_url":"https://api.github.com/users/garden-io/gists{/gist_id}","starred_url":"https://api.github.com/users/garden-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garden-io/subscriptions","organizations_url":"https://api.github.com/users/garden-io/orgs","repos_url":"https://api.github.com/users/garden-io/repos","events_url":"https://api.github.com/users/garden-io/events{/privacy}","received_events_url":"https://api.github.com/users/garden-io/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/garden-io/garden","description":"Development engine for Kubernetes, containers and serverless functions.","fork":false,"url":"https://api.github.com/repos/garden-io/garden","forks_url":"https://api.github.com/repos/garden-io/garden/forks","keys_url":"https://api.github.com/repos/garden-io/garden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garden-io/garden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garden-io/garden/teams","hooks_url":"https://api.github.com/repos/garden-io/garden/hooks","issue_events_url":"https://api.github.com/repos/garden-io/garden/issues/events{/number}","events_url":"https://api.github.com/repos/garden-io/garden/events","assignees_url":"https://api.github.com/repos/garden-io/garden/assignees{/user}","branches_url":"https://api.github.com/repos/garden-io/garden/branches{/branch}","tags_url":"https://api.github.com/repos/garden-io/garden/tags","blobs_url":"https://api.github.com/repos/garden-io/garden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garden-io/garden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garden-io/garden/git/refs{/sha}","trees_url":"https://api.github.com/repos/garden-io/garden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garden-io/garden/statuses/{sha}","languages_url":"https://api.github.com/repos/garden-io/garden/languages","stargazers_url":"https://api.github.com/repos/garden-io/garden/stargazers","contributors_url":"https://api.github.com/repos/garden-io/garden/contributors","subscribers_url":"https://api.github.com/repos/garden-io/garden/subscribers","subscription_url":"https://api.github.com/repos/garden-io/garden/subscription","commits_url":"https://api.github.com/repos/garden-io/garden/commits{/sha}","git_commits_url":"https://api.github.com/repos/garden-io/garden/git/commits{/sha}","comments_url":"https://api.github.com/repos/garden-io/garden/comments{/number}","issue_comment_url":"https://api.github.com/repos/garden-io/garden/issues/comments{/number}","contents_url":"https://api.github.com/repos/garden-io/garden/contents/{+path}","compare_url":"https://api.github.com/repos/garden-io/garden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garden-io/garden/merges","archive_url":"https://api.github.com/repos/garden-io/garden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garden-io/garden/downloads","issues_url":"https://api.github.com/repos/garden-io/garden/issues{/number}","pulls_url":"https://api.github.com/repos/garden-io/garden/pulls{/number}","milestones_url":"https://api.github.com/repos/garden-io/garden/milestones{/number}","notifications_url":"https://api.github.com/repos/garden-io/garden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garden-io/garden/labels{/name}","releases_url":"https://api.github.com/repos/garden-io/garden/releases{/id}","deployments_url":"https://api.github.com/repos/garden-io/garden/deployments","created_at":"2017-12-03T02:10:59Z","updated_at":"2018-09-28T18:53:11Z","pushed_at":"2018-10-02T15:01:12Z","git_url":"git://github.com/garden-io/garden.git","ssh_url":"git@github.com:garden-io/garden.git","clone_url":"https://github.com/garden-io/garden.git","svn_url":"https://github.com/garden-io/garden","homepage":"https://garden.io","size":5723,"stargazers_count":17,"watchers_count":17,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":4,"open_issues":42,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/garden-io/garden/pulls/314"},"html":{"href":"https://github.com/garden-io/garden/pull/314"},"issue":{"href":"https://api.github.com/repos/garden-io/garden/issues/314"},"comments":{"href":"https://api.github.com/repos/garden-io/garden/issues/314/comments"},"review_comments":{"href":"https://api.github.com/repos/garden-io/garden/pulls/314/comments"},"review_comment":{"href":"https://api.github.com/repos/garden-io/garden/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/garden-io/garden/pulls/314/commits"},"statuses":{"href":"https://api.github.com/repos/garden-io/garden/statuses/d78003604efac0a601bd975859307cfee7950669"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"edvald"}}