-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create and manage .gitignore file for function templates #127
Comments
I would like to work on these issue. Only these two rules should be added in .gitignore ? |
is this still been worked? |
The i.e.
This should create /tmp/test/.gitignore with the entries:
Then if the .gitignore file exists should only add the entries (append) if they are not already present. This will also need unit tests. |
My bad misunderstood, PR. so the ask is that we want to add |
@alexellis Should we skip the .gitignore file creation and proceed to next steps if we get any error during file creation or append ? |
Right - so is anyone able to work on this? |
I am working on it and implemented the logic. I need to test it. |
When a templated function is created with the
faas-cli new
command then certain files are created and we should add them to the .gitignore file:Used as a local cache of FaaS templates - this can be edited and committed but generally isn't
This is a temporary folder which is not supposed to be committed
Rules:
The text was updated successfully, but these errors were encountered: