Azure / Azure/azure-functions-core-tools
Funcignore does not support include-exclude-pattern
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
### Version
```
Azure Functions Core Tools
Core Tools Version: 4.0.6821 Commit hash: N/A +c09a2033faa7ecf51b3773308283af0ca9a99f83 (64-bit)
Function Runtime Version: 4.1036.1.23224
```
### Description
I currently try to make the .funcignore more deterministic by using the git-like [antipattern](https://git-scm.com/docs/gitignore#_pattern_format) to only include the files needed to deploy the function.
```
#.funcignore
# Ignore everything
*
!.funcignore
!function_app.py
!host.json
!requirements.txt
```
which results in:
```
# log output
1:09:17 PM func-example-02: Starting deployment...
1:09:17 PM func-example-02: Creating zip package...
1:09:17 PM func-example-02: Adding 0 files to zip package...
1:09:17 PM func-example-02: Zip package size: 22 B
```
### Steps to reproduce
1. create .funcignore
2. deploy function
Contributor guide
Research direction
Start by reproducing the deployment with the shown .funcignore and inspect the Core Tools entry point that creates the zip package. Confirm whether the expected files—.funcignore, function_app.py, host.json, and requirements.txt—are included, then run the relevant deployment or packaging tests if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, git
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100