{"action":"created","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/38","repository_url":"https://api.github.com/repos/aws-amplify/amplify-cli","labels_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/38/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/38/events","html_url":"https://github.com/aws-amplify/amplify-cli/issues/38","id":354380997,"node_id":"MDU6SXNzdWUzNTQzODA5OTc=","number":38,"title":"amplify/.config should be in .gitignore?","user":{"login":"jadbox","id":595843,"node_id":"MDQ6VXNlcjU5NTg0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/595843?v=4","gravatar_id":"","url":"https://api.github.com/users/jadbox","html_url":"https://github.com/jadbox","followers_url":"https://api.github.com/users/jadbox/followers","following_url":"https://api.github.com/users/jadbox/following{/other_user}","gists_url":"https://api.github.com/users/jadbox/gists{/gist_id}","starred_url":"https://api.github.com/users/jadbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadbox/subscriptions","organizations_url":"https://api.github.com/users/jadbox/orgs","repos_url":"https://api.github.com/users/jadbox/repos","events_url":"https://api.github.com/users/jadbox/events{/privacy}","received_events_url":"https://api.github.com/users/jadbox/received_events","type":"User","site_admin":false},"labels":[{"id":1033398260,"node_id":"MDU6TGFiZWwxMDMzMzk4MjYw","url":"https://api.github.com/repos/aws-amplify/amplify-cli/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":{"login":"kaustavghosh06","id":7247658,"node_id":"MDQ6VXNlcjcyNDc2NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7247658?v=4","gravatar_id":"","url":"https://api.github.com/users/kaustavghosh06","html_url":"https://github.com/kaustavghosh06","followers_url":"https://api.github.com/users/kaustavghosh06/followers","following_url":"https://api.github.com/users/kaustavghosh06/following{/other_user}","gists_url":"https://api.github.com/users/kaustavghosh06/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustavghosh06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustavghosh06/subscriptions","organizations_url":"https://api.github.com/users/kaustavghosh06/orgs","repos_url":"https://api.github.com/users/kaustavghosh06/repos","events_url":"https://api.github.com/users/kaustavghosh06/events{/privacy}","received_events_url":"https://api.github.com/users/kaustavghosh06/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaustavghosh06","id":7247658,"node_id":"MDQ6VXNlcjcyNDc2NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7247658?v=4","gravatar_id":"","url":"https://api.github.com/users/kaustavghosh06","html_url":"https://github.com/kaustavghosh06","followers_url":"https://api.github.com/users/kaustavghosh06/followers","following_url":"https://api.github.com/users/kaustavghosh06/following{/other_user}","gists_url":"https://api.github.com/users/kaustavghosh06/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustavghosh06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustavghosh06/subscriptions","organizations_url":"https://api.github.com/users/kaustavghosh06/orgs","repos_url":"https://api.github.com/users/kaustavghosh06/repos","events_url":"https://api.github.com/users/kaustavghosh06/events{/privacy}","received_events_url":"https://api.github.com/users/kaustavghosh06/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-08-27T16:09:46Z","updated_at":"2018-11-05T11:46:13Z","closed_at":null,"author_association":"NONE","body":"I noticed the config files under `amplify/.config/` often refer to full directory paths and is not suited to be committed into the project. I then noticed that amplify-cli's own .gitignore has an entry to ignore this directory (see below). Should `amplify init` add this path to the project .gitignore file... as the command does add other ignore directives during init.\r\n\r\nhttps://github.com/aws-amplify/amplify-cli/blob/master/.gitignore\r\n"},"comment":{"url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/comments/435846992","html_url":"https://github.com/aws-amplify/amplify-cli/issues/38#issuecomment-435846992","issue_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/38","id":435846992,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTg0Njk5Mg==","user":{"login":"PaulBurridge-kcom","id":10814432,"node_id":"MDQ6VXNlcjEwODE0NDMy","avatar_url":"https://avatars3.githubusercontent.com/u/10814432?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulBurridge-kcom","html_url":"https://github.com/PaulBurridge-kcom","followers_url":"https://api.github.com/users/PaulBurridge-kcom/followers","following_url":"https://api.github.com/users/PaulBurridge-kcom/following{/other_user}","gists_url":"https://api.github.com/users/PaulBurridge-kcom/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulBurridge-kcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulBurridge-kcom/subscriptions","organizations_url":"https://api.github.com/users/PaulBurridge-kcom/orgs","repos_url":"https://api.github.com/users/PaulBurridge-kcom/repos","events_url":"https://api.github.com/users/PaulBurridge-kcom/events{/privacy}","received_events_url":"https://api.github.com/users/PaulBurridge-kcom/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T11:46:13Z","updated_at":"2018-11-05T11:46:13Z","author_association":"NONE","body":"I have done a fair amount lot of testing around this and discovered the following with Amplify version 0.1.31:\r\n\r\nUsing the ```amplify configure project``` command which is described in the documentation as for use _\"When sharing your backend infrastructure code with multiple team members working on different machines\"_ fails unless you have the following in place:\r\n\r\n```\r\n./amplify\r\n./amplify/backend\r\n./amplify/backend/amplify-meta.json\r\n./amplify/.config\r\n./amplify/.config/project-config.json\r\n./amplify/#current-cloud-backend\r\n./amplify/#current-cloud-backend/amplify-meta.json\r\n```\r\n\r\nThis is at odds with the line \"_Note: The project-config.json file has your local system-specific paths and shouldn’t be checked in to your source control if sharing the project with another team member working on another system._\" from https://aws-amplify.github.io/docs/cli/init as without it the command ```amplify configure project``` will not work.\r\n\r\nThe problem with the current process would be users overwriting each others config and having to use ```amplify configure project``` after pulling down the latest code from another user. It is essential that local workstation / user configuration is separated from the general project configuration and ideally adding a cli command that would allow local configuration to be generated (without offering changes to general shared configuration).\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"PaulBurridge-kcom"}}