Open kylegc opened 5 years ago
@kylegc What do you have in mien when you say honour .gitignore
?
<stack>/templates/
)This is how we do some of this today:
.dockerignore
file in their stack. /templates/
dir) and not treat folders that start with a .
as templates?Good questions. This was suggested by Erin as a follow-up to #444. In 444, the issue was .DS_Store
on the mac was getting incorrectly picked up as a template in the <stack/templates/
dir. The idea is that we don't want to hard code individual files/dirs as they cause problems, we want a more configurable and standard way of ignoring files/dirs.
We could use this issue to design/define the larger appsody ignore strategy. For example, when is .dockerignore
vs .gitignore
appropriate and do these cover all appsody scenarios. There may be other scenarios, such as ignoring files to mount during appsody run/debug/test, which we don't cover today and may want to consider.
Is your feature request related to a problem? Please describe. This is related to #444
Describe the solution you'd like Instead of hard coding directories and files to ignore, we should use some sort of configuration.
.gitignore
seems logical even if the stack developer isn't currently working from a git repository..gitignore
can also be used to ignore files to be put into the stack and templates (see ci scripts, I think they do something similar).Describe alternatives you've considered
.