Skip to content

Commit 9ee4b70

Browse files
committed
Move airflow sources to airflow-core package
1 parent 9201b36 commit 9ee4b70

File tree

3,361 files changed

+6074
-6790
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,361 files changed

+6074
-6790
lines changed

.dockerignore

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
**
2828

2929
# Allow only these directories
30-
!airflow
30+
!airflow-core
3131
!common
3232
!dags
3333
!dev
@@ -75,19 +75,24 @@
7575
!pyproject.toml
7676
!manifests
7777
!generated
78+
79+
# Reproducible build configuration
80+
!reproducible_build.yaml
81+
7882
# Now - ignore unnecessary files inside allowed directories
7983
# This goes after the allowed directories
8084

8185
# Git version is dynamically generated
82-
airflow/git_version
86+
airflow-core/src/airflow/git_version
8387

8488
# Exclude node/pmpme caches..
8589
**/.pnpm-store
8690
**/node_modules
8791
# Exclude link to docs
88-
airflow/ui/static/docs
92+
airflow-core/src/airflow/ui/static/docs
8993

9094
# Legacy www exclusions (just to exclude things in case you switch to old branches and generate assets)
95+
# THey should not be in airflow-core as "www" never was there.
9196
airflow/www/static/docs
9297
airflow/www/static/dist
9398
airflow/www/node_modules
@@ -123,7 +128,7 @@ docs/**/_api/**
123128
**/*.egg
124129

125130
# But ensure UI dist files are included
126-
!airflow/ui/dist
131+
!airflow-core/src/airflow/ui/dist
127132
!providers/fab/src/airflow/providers/fab/www/dist
128133

129134
# Exclude temporary vi files

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Dockerfile.ci @potiuk @ashb
8080
/dev/PROVIDER_PACKAGE_DETAILS.md @eladkal
8181
/dev/README.md @kaxil
8282
/dev/README_RELEASE_*.md @kaxil @pierrejeambrun
83-
/dev/README_RELEASE_PROVIDER_PACKAGES.md @eladkal
83+
/dev/README_RELEASE_PROVIDERS.md @eladkal
8484
ISSUE_TRIAGE_PROCESS.rst @eladkal
8585

8686
# AIP-52 - Setup and Teardown

.github/ISSUE_TEMPLATE/airflow_bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
# yamllint disable rule:line-length
99
value: "
10-
<img src='https://raw.githubusercontent.com/apache/airflow/main/docs/apache-airflow/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
10+
<img src='https://raw.githubusercontent.com/apache/airflow/main/airflow-core/docs/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
1111
Thank you for finding the time to report the problem!
1212
1313
We really appreciate the community's efforts to improve Airflow.

.github/ISSUE_TEMPLATE/airflow_doc_issue_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
# yamllint disable rule:line-length
99
value: "
10-
<img src='https://raw.githubusercontent.com/apache/airflow/main/docs/apache-airflow/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
10+
<img src='https://raw.githubusercontent.com/apache/airflow/main/airflow-core/docs/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
1111
Thank you for finding the time to report the problem!
1212
1313
We really appreciate the community's efforts to improve Airflow.

.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
# yamllint disable rule:line-length
99
value: "
10-
<img src='https://raw.githubusercontent.com/apache/airflow/main/docs/apache-airflow/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='120' height='120'>
10+
<img src='https://raw.githubusercontent.com/apache/airflow/main/airflow-core/docs/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='120' height='120'>
1111
Thank you for finding the time to report the problem!
1212
1313
We really appreciate the community's efforts to improve Airflow.

.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
# yamllint disable rule:line-length
99
value: "
10-
<img src='https://raw.githubusercontent.com/apache/airflow/main/docs/apache-airflow/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
10+
<img src='https://raw.githubusercontent.com/apache/airflow/main/airflow-core/docs/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
1111
Thank you for finding the time to report a problem!
1212
1313
We really appreciate the community's efforts to improve Airflow.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
# yamllint disable rule:line-length
99
value: "
10-
<img src='https://raw.githubusercontent.com/apache/airflow/main/docs/apache-airflow/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
10+
<img src='https://raw.githubusercontent.com/apache/airflow/main/airflow-core/docs/img/logos/airflow_64x64_emoji_transparent.png' align='left' width='80' height='80'>
1111
Thank you for finding the time to propose new feature!
1212
1313
We really appreciate the community efforts to improve Airflow.

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Team and how members of it are chosen can be found in the
118118

119119
### Does CVE in Airflow Providers impact Airflow core package ?
120120

121-
Airflow core package is released separately from provider packages. While Airflow comes with ``constraints``
121+
Airflow core package is released separately from provider distributions. While Airflow comes with ``constraints``
122122
which describe which version of providers have been tested when the version of Airflow was released, the
123123
users of Airflow are advised to install providers independently of Airflow core when they want to apply
124124
security fixes found and released in providers. Therefore, the issues found and fixed in providers do

.github/actions/breeze/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
shell: bash
4646
run: breeze ci free-space
4747
env:
48-
AIRFLOW_SOURCES_ROOT: "${{ github.workspace }}"
48+
AIRFLOW_ROOT_PATH: "${{ github.workspace }}"
4949
- name: "Get Python version"
5050
shell: bash
5151
run: >
@@ -56,4 +56,4 @@ runs:
5656
shell: bash
5757
run: breeze setup config --no-cheatsheet --no-asciiart
5858
env:
59-
AIRFLOW_SOURCES_ROOT: "${{ github.workspace }}"
59+
AIRFLOW_ROOT_PATH: "${{ github.workspace }}"

.github/boring-cyborg.yml

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ labelPRBasedOnFilePath:
298298
- providers/zendesk/**
299299

300300
area:API:
301-
- airflow/api/**/*
302-
- airflow/api_fastapi/**/*
301+
- airflow-core/src/airflow/api/**/*
302+
- airflow-core/src/airflow/api_fastapi/**/*
303303
- clients/**/*
304-
- docs/apache-airflow/stable-rest-api-ref.rst
305-
- tests/api_fastapi/**/*
304+
- airflow-core/docs/stable-rest-api-ref.rst
305+
- airflow-core/tests/unit/api_fastapi/**/*
306306

307307
area:dev-tools:
308308
- scripts/**/*
@@ -328,95 +328,95 @@ labelPRBasedOnFilePath:
328328
- docs/helm-chart/**
329329

330330
area:UI:
331-
- docs/apache-airflow/ui.rst
332-
- airflow/ui/**/*
331+
- airflow-core/docs/ui.rst
332+
- airflow-core/src/airflow/ui/**/*
333333

334334
area:CLI:
335-
- airflow/cli/**/*.py
336-
- tests/cli/**/*.py
337-
- docs/apache-airflow/cli-and-env-variables-ref.rst
338-
- docs/apache-airflow/howto/usage-cli.rst
335+
- airflow-core/src/airflow/cli/**/*.py
336+
- airflow-core/tests/unit/cli/**/*.py
337+
- airflow-core/docs/cli-and-env-variables-ref.rst
338+
- airflow-core/docs/howto/usage-cli.rst
339339

340340
area:Lineage:
341-
- airflow/lineage/**/*
342-
- tests/lineage/**/*
343-
- docs/apache-airflow/administration-and-deployment/lineage.rst
341+
- airflow-core/src/airflow/lineage/**/*
342+
- airflow-core/tests/unit/lineage/**/*
343+
- airflow-core/docs/administration-and-deployment/lineage.rst
344344

345345
area:Logging:
346-
- airflow/utils/log/**/*
347-
- docs/apache-airflow/administration-and-deployment/logging-monitoring/logging-*.rst
348-
- tests/utils/log/**/*
346+
- airflow-core/src/airflow/utils/log/**/*
347+
- airflow-core/docs/administration-and-deployment/logging-monitoring/logging-*.rst
348+
- airflow-core/tests/unit/utils/log/**/*
349349
- providers/**/log/*
350350

351351
area:Plugins:
352-
- airflow/cli/commands/local_commands/plugins_command.py
353-
- airflow/plugins_manager.py
354-
- tests/cli/commands/local_commands/test_plugins_command.py
355-
- tests/plugins/**/*
356-
- docs/apache-airflow/administration-and-deployment/plugins.rst
352+
- airflow-core/src/airflow/cli/commands/local_commands/plugins_command.py
353+
- airflow-core/src/airflow/plugins_manager.py
354+
- airflow-core/tests/unit/cli/commands/local_commands/test_plugins_command.py
355+
- airflow-core/tests/unit/plugins/**/*
356+
- airflow-core/docs/administration-and-deployment/plugins.rst
357357

358358
area:Scheduler:
359-
- airflow/jobs/scheduler_job_runner.py
360-
- docs/apache-airflow/administration-and-deployment/scheduler.rst
361-
- tests/jobs/test_scheduler_job.py
359+
- airflow-core/src/airflow/jobs/scheduler_job_runner.py
360+
- airflow-core/docs/administration-and-deployment/scheduler.rst
361+
- airflow-core/tests/unit/jobs/test_scheduler_job.py
362362

363363
area:DAG-processing:
364-
- airflow/dag_processing/**/*
365-
- airflow/jobs/dag_processor_job_runner.py
366-
- docs/apache-airflow/administration-and-deployment/dagfile-processing.rst
367-
- tests/dag_processing/**/*
364+
- airflow-core/src/airflow/dag_processing/**/*
365+
- airflow-core/src/airflow/jobs/dag_processor_job_runner.py
366+
- airflow-core/docs/administration-and-deployment/dagfile-processing.rst
367+
- airflow-core/tests/unit/dag_processing/**/*
368368

369369
area:Executors-core:
370-
- airflow/executors/**/*
371-
- docs/apache-airflow/core-concepts/executor/**/*
372-
- tests/executors/**/*
370+
- airflow-core/src/airflow/executors/**/*
371+
- airflow-core/docs/core-concepts/executor/**/*
372+
- airflow-core/tests/unit/executors/**/*
373373

374374
area:Secrets:
375-
- airflow/secrets/**/*
376-
- tests/secrets/**/*
375+
- airflow-core/src/airflow/secrets/**/*
376+
- airflow-core/tests/unit/secrets/**/*
377377
- providers/**/secrets/*
378-
- docs/apache-airflow/security/secrets/**/*
378+
- airflow-core/docs/security/secrets/**/*
379379

380380
area:Triggerer:
381-
- airflow/cli/commands/local_commands/triggerer_command.py
382-
- airflow/jobs/triggerer_job_runner.py
383-
- airflow/models/trigger.py
381+
- airflow-core/src/airflow/cli/commands/local_commands/triggerer_command.py
382+
- airflow-core/src/airflow/jobs/triggerer_job_runner.py
383+
- airflow-core/src/airflow/models/trigger.py
384384
- providers/standard/src/airflow/providers/standard/triggers/**/*
385-
- tests/cli/commands/local_commands/test_triggerer_command.py
386-
- tests/jobs/test_triggerer_job.py
387-
- tests/models/test_trigger.py
385+
- airflow-core/tests/unit/cli/commands/local_commands/test_triggerer_command.py
386+
- airflow-core/tests/unit/jobs/test_triggerer_job.py
387+
- airflow-core/tests/unit/models/test_trigger.py
388388
- providers/standard/tests/unit/standard/triggers/**/*
389389

390390
area:Serialization:
391-
- airflow/serialization/**/*
392-
- airflow/models/serialized_dag.py
393-
- tests/serialization/**/*
394-
- tests/models/test_serialized_dag.py
395-
- docs/apache-airflow/administration-and-deployment/dag-serialization.rst
391+
- airflow-core/src/airflow/serialization/**/*
392+
- airflow-core/src/airflow/models/serialized_dag.py
393+
- airflow-core/tests/unit/serialization/**/*
394+
- airflow-core/tests/unit/models/test_serialized_dag.py
395+
- airflow-core/docs/administration-and-deployment/dag-serialization.rst
396396

397397
area:core-operators:
398-
- airflow/operators/**/*
399-
- airflow/hooks/**/*
400-
- airflow/sensors/**/*
401-
- tests/operators/**/*
402-
- tests/hooks/**/*
403-
- tests/sensors/**/*
404-
- docs/apache-airflow/operators-and-hooks-ref.rst
405-
- docs/apache-airflow/howto/operator/*
398+
- airflow-core/src/airflow/operators/**/*
399+
- airflow-core/src/airflow/hooks/**/*
400+
- airflow-core/src/airflow/sensors/**/*
401+
- airflow-core/tests/unit/operators/**/*
402+
- airflow-core/tests/unit/hooks/**/*
403+
- airflow-core/tests/unit/sensors/**/*
404+
- airflow-core/docs/operators-and-hooks-ref.rst
405+
- airflow-core/docs/howto/operator/*
406406

407407
area:production-image:
408408
- Dockerfile
409409
- docs/docker-stack/**/*
410410
- docker_tests/**/*
411411

412412
area:system-tests:
413-
- tests/system/**/*
413+
- airflow-core/tests/system/**/*
414414

415415
area:task-sdk:
416416
- task-sdk/**/*
417417

418418
area:db-migrations:
419-
- airflow/migrations/versions/*
419+
- airflow-core/src/airflow/migrations/versions/*
420420

421421
area:providers:
422422
- providers/**/*
@@ -443,7 +443,7 @@ firstPRWelcomeComment: >
443443
444444
- In case of a new feature add useful documentation (in docstrings or in `docs/` directory).
445445
Adding a new operator? Check this short
446-
[guide](https://github.com/apache/airflow/blob/main/docs/apache-airflow/howto/custom-operator.rst)
446+
[guide](https://github.com/apache/airflow/blob/main/airflow-core/docs/howto/custom-operator.rst)
447447
Consider adding an example DAG that shows how users should use it.
448448
449449
- Consider using [Breeze environment](https://github.com/apache/airflow/blob/main/dev/breeze/doc/README.rst)

0 commit comments

Comments
 (0)