You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/19 16:56:00 UTC
[GitHub] [airflow] mik-laj opened a new issue #9413: Support airflowignore for plugins
mik-laj opened a new issue #9413:
URL: https://github.com/apache/airflow/issues/9413
Hello,
Airflow has a mechanism to ignore files before they are automatically loaded by Airflow using a .airflowignore file.
A .airflowignore file specifies the directories or files in DAG_FOLDER that Airflow should intentionally ignore.
> For example, you can prepare a .airflowignore file with contents
> ```
> project_a
> tenant_[\d]
> ```
> Then files like project_a_dag_1.py, TESTING_project_a.py, tenant_1.py, project_a/dag_1.py, and tenant_1/dag_1.py in your DAG_FOLDER would be ignored (If a directory’s name matches any of the patterns, this directory and all its subfolders would not be scanned by Airflow at all. This improves efficiency of DAG finding).
More information: https://airflow.readthedocs.io/en/latest/concepts.html?highlight=airflowignore
It would be helpful to make a similar feature available to plugins. This improves the efficiency of plugins finding.
Cheers
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] mik-laj commented on issue #9413: Support airflowignore for plugins
Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #9413:
URL: https://github.com/apache/airflow/issues/9413#issuecomment-648708277
@j-y-matsubara This seems like a good place. I assigned you to this ticket. :-)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] j-y-matsubara commented on issue #9413: Support airflowignore for plugins
Posted by GitBox <gi...@apache.org>.
j-y-matsubara commented on issue #9413:
URL: https://github.com/apache/airflow/issues/9413#issuecomment-653979555
I'm sorry. I had failed to link to pull reqest.
This issue have already fixed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek commented on issue #9413: Support airflowignore for plugins
Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #9413:
URL: https://github.com/apache/airflow/issues/9413#issuecomment-654079598
Closed in #9531
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] j-y-matsubara commented on issue #9413: Support airflowignore for plugins
Posted by GitBox <gi...@apache.org>.
j-y-matsubara commented on issue #9413:
URL: https://github.com/apache/airflow/issues/9413#issuecomment-648696143
@mik-laj
I am interested in this task. Would you mind if I do it?
I plan to add code of "Ignore" to :
https://github.com/apache/airflow/blob/c703ce20c836e9f797203ed233fe6e3d51d8cbd4/airflow/plugins_manager.py#L159-L162
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek closed issue #9413: Support airflowignore for plugins
Posted by GitBox <gi...@apache.org>.
turbaszek closed issue #9413:
URL: https://github.com/apache/airflow/issues/9413
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org