Skip to content
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

.git is being deployed from VScode #3882

Closed
iobear opened this issue Oct 11, 2023 · 3 comments · Fixed by #3889
Closed

.git is being deployed from VScode #3882

iobear opened this issue Oct 11, 2023 · 3 comments · Fixed by #3889
Labels
Milestone

Comments

@iobear
Copy link

iobear commented Oct 11, 2023

When creating a function via VScode, it generates a .functionignore where .git should be ignored via the first line ".git*" - This is not the case.
After deployment of a function to Azure .git is also deployed, when I change .functionignore from ".git*" to ".git" - .git is not being deployed.
The Zip package size is greatly reduced by changing .functionignore

Looking at the main branch It seems the ".git*" filter is still active.
Source:
src/commands/createNewProject/ProjectCreateStep/ScriptProjectCreateStep.ts

Azure Functions 1.13.1
VScode 1.83.0
Windows 11 Enterprise Version 10.0.22621 Build 22621
WSL2 - Ubuntu 22.04.3 LTS

@JohnLBevan
Copy link

QQ: Are you using .functionignore or .funcignore? FYI: I've only seen the latter in documentation.

@iobear
Copy link
Author

iobear commented Oct 26, 2023

I just checked I'm using .funcignore, I think my my spellchecker "helped" me.

@microsoft microsoft locked and limited conversation to collaborators Dec 29, 2023
@alexweininger
Copy link
Member

Hi, @iobear a fix for this has been released in v1.13.2 of the extension.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants