{"action":"created","issue":{"url":"https://api.github.com/repos/lando/lando/issues/1154","repository_url":"https://api.github.com/repos/lando/lando","labels_url":"https://api.github.com/repos/lando/lando/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/lando/lando/issues/1154/comments","events_url":"https://api.github.com/repos/lando/lando/issues/1154/events","html_url":"https://github.com/lando/lando/issues/1154","id":355037085,"node_id":"MDU6SXNzdWUzNTUwMzcwODU=","number":1154,"title":"Detect .lando.yml, then .lando.yml.dist","user":{"login":"ro0NL","id":1047696,"node_id":"MDQ6VXNlcjEwNDc2OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1047696?v=4","gravatar_id":"","url":"https://api.github.com/users/ro0NL","html_url":"https://github.com/ro0NL","followers_url":"https://api.github.com/users/ro0NL/followers","following_url":"https://api.github.com/users/ro0NL/following{/other_user}","gists_url":"https://api.github.com/users/ro0NL/gists{/gist_id}","starred_url":"https://api.github.com/users/ro0NL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ro0NL/subscriptions","organizations_url":"https://api.github.com/users/ro0NL/orgs","repos_url":"https://api.github.com/users/ro0NL/repos","events_url":"https://api.github.com/users/ro0NL/events{/privacy}","received_events_url":"https://api.github.com/users/ro0NL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T07:43:17Z","updated_at":"2018-09-03T05:14:00Z","closed_at":null,"author_association":"NONE","body":"Feature Request\r\n===============\r\n\r\nI'd like to store a distribution lando config in my app, suffixed with the .dist extension. This way i can gitignore the actual .lando.yml, allowing users to modify it as needed.\r\n\r\nHowever, the dist file works fine out-of-the-box, as such i'd like `lando start` to detect it in case no .lando.yml file is present.\r\n\r\nCurrently:\r\n\r\n```bash\r\n$ lando start\r\nwarn: Could not find app in this dir\r\n```\r\n\r\nAdditionally the .yaml extension could take precedence.\r\n\r\n```\r\n.lando.yaml > .lando.yml > .lando.yaml.dist > .lando.yml.dist\r\n```"},"comment":{"url":"https://api.github.com/repos/lando/lando/issues/comments/418002108","html_url":"https://github.com/lando/lando/issues/1154#issuecomment-418002108","issue_url":"https://api.github.com/repos/lando/lando/issues/1154","id":418002108,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODAwMjEwOA==","user":{"login":"tylerssn","id":4887071,"node_id":"MDQ6VXNlcjQ4ODcwNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/4887071?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerssn","html_url":"https://github.com/tylerssn","followers_url":"https://api.github.com/users/tylerssn/followers","following_url":"https://api.github.com/users/tylerssn/following{/other_user}","gists_url":"https://api.github.com/users/tylerssn/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerssn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerssn/subscriptions","organizations_url":"https://api.github.com/users/tylerssn/orgs","repos_url":"https://api.github.com/users/tylerssn/repos","events_url":"https://api.github.com/users/tylerssn/events{/privacy}","received_events_url":"https://api.github.com/users/tylerssn/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T05:14:00Z","updated_at":"2018-09-03T05:14:00Z","author_association":"NONE","body":"What is your reasoning behind using a dist file? \r\n\r\nThe only time I can envision this being appropriate is if it is packaged in a framework that you're distributing. In that case, I'd have your documentation instruct users on renaming the file appropriately.\r\n\r\nIf this is a matter of env customizations, I'd suggest taking advantage of .env files as Lando does a decent job of parsing env variables so that they can be used in the Lando YAML."}}
{"actor":{"display_login":"tylerssn"}}