Skip to content

Conversation

@uranusjr
Copy link
Member

This matches the ignore file behavior of many popular tools (e.g. Git, Docker) and is likely what most users expect without reading the documentation.

The documentation is also tweaked to emphasize the new default. I also decided to get rid of some regexp examples entirely; I figure most of the users are better off either using glob, or just customize the might_contain_dag_callable hook instead. The regexp syntax parser uses re2, which is quite limiting for security reasons, and does not offer significant advantages over glob for almost all use cases.

@uranusjr uranusjr added airflow3.0:candidate Potential candidates for Airflow 3.0 airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes labels Sep 24, 2024
@uranusjr uranusjr marked this pull request as ready for review September 24, 2024 08:31
@uranusjr uranusjr requested a review from potiuk as a code owner September 24, 2024 08:31
@uranusjr uranusjr force-pushed the airflow-ignore-glob branch 2 times, most recently from 91540fa to 41d63ec Compare September 25, 2024 02:00
This matches the ignore file behavior of many popular tools
(e.g. Git, Docker) and is likely what most users expect without reading
the documentation.

The documentation is also tweaked to emphasize the new default. I also
decided to get rid of some regexp examples entirely; I figure most of
the users are better off either using glob, or just customize the
might_contain_dag_callable hook instead. The regexp syntax parser uses
re2, which is quite limiting for security reasons, and does not offer
significant advantages over glob for almost all use cases.
@shahar1 shahar1 added this to the Airflow 3.0.0 milestone Sep 27, 2024
Copy link
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, small nit

Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
@uranusjr uranusjr merged commit 2eecca1 into apache:main Sep 30, 2024
@uranusjr uranusjr deleted the airflow-ignore-glob branch September 30, 2024 04:43
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes airflow3.0:candidate Potential candidates for Airflow 3.0 kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants