Skip to content

ignore=[modal.FilePatternMatcher.from_file(...)] uses absolute file paths for matching #3048

Open
@N-Demir

Description

@N-Demir

Summary

Following up from this discussion

FilePatternMatcher matches on absolute paths instead of relative paths, so rules in a .dockerignore like *.txt will not trigger (but **/*.txt would). This behavior is different to passing in rules directly to ignore. See this repo for a reproducible example.

Version

0.74.14

App ID

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions