GitHub user manoj121999 created a discussion: Conditional ignoring of directories from parsing in airflow
### Problem `.airflowignore` currently works as a deny-list only. While it supports ignoring specific files or directories, it does not support conditional or allow-list based directory traversal. Because Airflow walks directories before applying ignore rules, patterns like: - “Ignore all folders except X” - “Parse only this folder under a repo” - “Ignore unless under <path>” This becomes a real limitation in when requirements comes to where: - DAGs live under one folder - Shared code (utils, operators, libs) must coexist - Restructuring the repo is not always possible --- ### Proposed Enhancement Add support for **conditional ignore / allow-list semantics**, for example: #### Option 1: Allow-list mode ```ini dag_ignore_mode = allow GitHub link: https://github.com/apache/airflow/discussions/61514 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
