diff --git a/LICENSE b/LICENSE index b83a80d26d245..405dcfe69d7c5 100644 --- a/LICENSE +++ b/LICENSE @@ -215,7 +215,7 @@ Third party Apache 2.0 licenses The following components are provided under the Apache 2.0 License. See project link for details. The text of each license is also included -at licenses/LICENSE-[project].txt. +at 3rd-party-licenses/LICENSE-[project].txt. (ALv2 License) hue v4.3.0 (https://github.com/cloudera/hue/) (ALv2 License) jqclock v2.3.0 (https://github.com/JohnRDOrazio/jQuery-Clock-Plugin) @@ -227,7 +227,7 @@ MIT licenses ======================================================================== The following components are provided under the MIT License. See project link for details. -The text of each license is also included at licenses/LICENSE-[project].txt. +The text of each license is also included at 3rd-party-licenses/LICENSE-[project].txt. (MIT License) jquery v3.5.1 (https://jquery.org/license/) (MIT License) dagre-d3 v0.6.4 (https://github.com/cpettitt/dagre-d3) @@ -243,11 +243,11 @@ The text of each license is also included at licenses/LICENSE-[project].txt. BSD 3-Clause licenses ======================================================================== The following components are provided under the BSD 3-Clause license. See project links for details. -The text of each license is also included at licenses/LICENSE-[project].txt. +The text of each license is also included at 3rd-party-licenses/LICENSE-[project].txt. (BSD 3 License) d3 v5.16.0 (https://d3js.org) (BSD 3 License) d3-shape v2.1.0 (https://github.com/d3/d3-shape) (BSD 3 License) cgroupspy 0.2.1 (https://github.com/cloudsigma/cgroupspy) ======================================================================== -See licenses/LICENSES-ui.txt for packages used in `/airflow/www` +See 3rd-party-licenses/LICENSES-ui.txt for packages used in `/airflow/www` diff --git a/airflow/_vendor/README.md b/airflow/_vendor/README.md index 9d26a0257f753..7e7752b7b643b 100644 --- a/airflow/_vendor/README.md +++ b/airflow/_vendor/README.md @@ -12,7 +12,7 @@ All Vendored libraries must follow these rules: 1. Vendored libraries must be pure Python--no compiling (so that we do not have to release multi-platform airflow packages on PyPI). 2. Source code for the library is included in this directory. 3. License must be included in this repo and in the [LICENSE](../../LICENSE) file and in the - [licenses](../../licenses) folder. + [licenses](../../3rd-party-licenses) folder. 4. Requirements of the library become requirements of airflow core. 5. Version of the library should be included in the [vendor.md](vendor.md) file. 6. No modifications to the library may be made in the initial commit. @@ -25,13 +25,12 @@ All Vendored libraries must follow these rules: Way to vendor a library or update a version: -1. Update ``vendor.txt`` with the library, version, and SHA256 (`pypi` provides hashes as of recently) +1. Update ``vendor.md`` with the library, version, and SHA256 (`pypi` provides hashes as of recently) 2. Remove all old files and directories of the old version. 3. Replace them with new files (only replace relevant python packages:move LICENSE ) - * move license files to [licenses](../../licenses) folder + * move license files to [licenses](../../3rd-party-licenses) folder * remove README and any other supporting files (they can be found in PyPI) * make sure to add requirements to airflow's ``pyproject.toml`` with appropriate comment stating why the requirements are added and when they should be removed 4. If you replace previous version, re-apply historical fixes from the "package" folder by cherry-picking them. - diff --git a/dev/breeze/doc/images/output_build-docs.svg b/dev/breeze/doc/images/output_build-docs.svg index 424c9cccf5739..ace5782d9b051 100644 --- a/dev/breeze/doc/images/output_build-docs.svg +++ b/dev/breeze/doc/images/output_build-docs.svg @@ -203,32 +203,32 @@ Build documents. ╭─ Doc flags ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---docs-only-dOnly build documentation. ---spellcheck-only-sOnly run spell checking. ---clean-buildClean inventories of Inter-Sphinx documentation and generated APIs and sphinx     +--docs-only-dOnly build documentation. +--spellcheck-only-sOnly run spell checking. +--clean-buildClean inventories of Inter-Sphinx documentation and generated APIs and sphinx     artifacts before the build - useful for a clean build.                            ---one-pass-onlyBuilds documentation in one pass only. This is useful for debugging sphinx        +--one-pass-onlyBuilds documentation in one pass only. This is useful for debugging sphinx        errors.                                                                           ---package-filterFilter(s) to use more than one can be specified. You can use glob pattern         +--package-filterFilter(s) to use more than one can be specified. You can use glob pattern         matching the full package name, for example `apache-airflow-providers-*`. Useful  when you want to selectseveral similarly named packages together.                 (TEXT)                                                                            ---include-not-ready-providersWhether to include providers that are not yet ready to be released. ---include-removed-providersWhether to include providers that are removed. ---github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] ---builderBuildx builder used to perform `docker buildx build` commands.(TEXT) +--include-not-ready-providersWhether to include providers that are not yet ready to be released. +--include-removed-providersWhether to include providers that are removed. +--github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] +--builderBuildx builder used to perform `docker buildx build` commands.(TEXT) [default: autodetect]                                          ---package-listOptional, contains comma-seperated list of package ids that are processed for     +--package-listOptional, contains comma-separated list of package ids that are processed for     documentation building, and document publishing. It is an easier alternative to   adding individual packages as arguments to every command. This overrides the      packages passed as arguments.                                                     (TEXT)                                                                            ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---verbose-vPrint verbose information about performed steps. ---answer-aForce answer to questions.(y | n | q | yes | no | quit) ---help-hShow this message and exit. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--verbose-vPrint verbose information about performed steps. +--answer-aForce answer to questions.(y | n | q | yes | no | quit) +--help-hShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/dev/breeze/doc/images/output_build-docs.txt b/dev/breeze/doc/images/output_build-docs.txt index 57e2a66eeec74..a3fd8a1049cde 100644 --- a/dev/breeze/doc/images/output_build-docs.txt +++ b/dev/breeze/doc/images/output_build-docs.txt @@ -1 +1 @@ -e5edd7e699a13efb360713290f6fc14c +51ee6f7789d0f590d99d4ea36e900376 diff --git a/dev/breeze/doc/images/output_release-management_prepare-provider-packages.svg b/dev/breeze/doc/images/output_release-management_prepare-provider-packages.svg index bb1747d11ab3a..0fbacfc53978c 100644 --- a/dev/breeze/doc/images/output_release-management_prepare-provider-packages.svg +++ b/dev/breeze/doc/images/output_release-management_prepare-provider-packages.svg @@ -187,28 +187,28 @@ Prepare sdist/whl packages of Airflow Providers. ╭─ Package flags ──────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---clean-distClean dist directory before building packages. Useful when you want to build    +--clean-distClean dist directory before building packages. Useful when you want to build    multiple packages  in a clean environment                                       ---github-repository-gGitHub repository used to pull, push run images.(TEXT) +--github-repository-gGitHub repository used to pull, push run images.(TEXT) [default: apache/airflow]                        ---include-not-ready-providersWhether to include providers that are not yet ready to be released. ---include-removed-providersWhether to include providers that are removed. ---package-formatFormat of packages.(wheel | sdist | both)[default: wheel] ---package-list-fileRead list of packages from text file (one package per line).(FILENAME) ---skip-deleting-generated-filesSkip deleting files that were used to generate provider package. Useful for     +--include-not-ready-providersWhether to include providers that are not yet ready to be released. +--include-removed-providersWhether to include providers that are removed. +--package-formatFormat of packages.(wheel | sdist | both)[default: wheel] +--package-list-fileRead list of packages from text file (one package per line).(FILENAME) +--skip-deleting-generated-filesSkip deleting files that were used to generate provider package. Useful for     debugging and developing changes to the build process.                          ---skip-tag-checkSkip checking if the tag already exists in the remote repository ---version-suffix-for-pypiVersion suffix used for PyPI packages (alpha, beta, rc1, etc.).(TEXT) ---package-listOptional, contains comma-seperated list of package ids that are processed for   +--skip-tag-checkSkip checking if the tag already exists in the remote repository +--version-suffix-for-pypiVersion suffix used for PyPI packages (alpha, beta, rc1, etc.).(TEXT) +--package-listOptional, contains comma-separated list of package ids that are processed for   documentation building, and document publishing. It is an easier alternative to adding individual packages as arguments to every command. This overrides the    packages passed as arguments.                                                   (TEXT)                                                                          ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---verbose-vPrint verbose information about performed steps. ---help-hShow this message and exit. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--verbose-vPrint verbose information about performed steps. +--help-hShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/dev/breeze/doc/images/output_release-management_prepare-provider-packages.txt b/dev/breeze/doc/images/output_release-management_prepare-provider-packages.txt index cfda6c7bdec4c..5ef3821cb8f04 100644 --- a/dev/breeze/doc/images/output_release-management_prepare-provider-packages.txt +++ b/dev/breeze/doc/images/output_release-management_prepare-provider-packages.txt @@ -1 +1 @@ -3b7f8eced732d5ee0b5e84b09c6970fb +f4c203a55cd13a763a5fd02c6a795934 diff --git a/dev/breeze/doc/images/output_release-management_publish-docs.svg b/dev/breeze/doc/images/output_release-management_publish-docs.svg index 3731dadeffd73..ae583be4a4169 100644 --- a/dev/breeze/doc/images/output_release-management_publish-docs.svg +++ b/dev/breeze/doc/images/output_release-management_publish-docs.svg @@ -208,33 +208,33 @@ Command to publish generated documentation to airflow-site ╭─ Publish Docs ───────────────────────────────────────────────────────────────────────────────────────────────────────╮ -*--airflow-site-directory-aLocal directory path of cloned airflow-site repo.(DIRECTORY)[required] ---include-not-ready-providersWhether to include providers that are not yet ready to be released. ---include-removed-providersWhether to include providers that are removed. ---override-versioned-sOverrides versioned directories. ---package-filterFilter(s) to use more than one can be specified. You can use glob pattern      +*--airflow-site-directory-aLocal directory path of cloned airflow-site repo.(DIRECTORY)[required] +--include-not-ready-providersWhether to include providers that are not yet ready to be released. +--include-removed-providersWhether to include providers that are removed. +--override-versioned-sOverrides versioned directories. +--package-filterFilter(s) to use more than one can be specified. You can use glob pattern      matching the full package name, for example `apache-airflow-providers-*`.      Useful when you want to selectseveral similarly named packages together.       (TEXT)                                                                         ---package-listOptional, contains comma-seperated list of package ids that are processed for  +--package-listOptional, contains comma-separated list of package ids that are processed for  documentation building, and document publishing. It is an easier alternative   to adding individual packages as arguments to every command. This overrides    the packages passed as arguments.                                              (TEXT)                                                                         ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Parallel running ───────────────────────────────────────────────────────────────────────────────────────────────────╮ ---debug-resourcesWhether to show resource information while running in parallel. ---include-success-outputsWhether to include outputs of successful parallel runs (skipped by default). ---parallelismMaximum number of processes to use while running the operation in parallel. +--debug-resourcesWhether to show resource information while running in parallel. +--include-success-outputsWhether to include outputs of successful parallel runs (skipped by default). +--parallelismMaximum number of processes to use while running the operation in parallel. (INTEGER RANGE)                                                             [default: 4; 1<=x<=8]                                                       ---run-in-parallelRun the operation in parallel on all or selected subset of parameters. ---skip-cleanupSkip cleanup of temporary files created during parallel run. +--run-in-parallelRun the operation in parallel on all or selected subset of parameters. +--skip-cleanupSkip cleanup of temporary files created during parallel run. ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---verbose-vPrint verbose information about performed steps. ---help-hShow this message and exit. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--verbose-vPrint verbose information about performed steps. +--help-hShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/dev/breeze/doc/images/output_release-management_publish-docs.txt b/dev/breeze/doc/images/output_release-management_publish-docs.txt index c4aa6326c2a40..22c2fb2b1f981 100644 --- a/dev/breeze/doc/images/output_release-management_publish-docs.txt +++ b/dev/breeze/doc/images/output_release-management_publish-docs.txt @@ -1 +1 @@ -e84322604c4e2e8ff44f983d2c2a6e4d +243a1028d1b00e884e2e16f613e8239e diff --git a/dev/breeze/src/airflow_breeze/commands/developer_commands.py b/dev/breeze/src/airflow_breeze/commands/developer_commands.py index e7299f53eda70..03f2b63280040 100644 --- a/dev/breeze/src/airflow_breeze/commands/developer_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/developer_commands.py @@ -648,7 +648,7 @@ def start_airflow( "--package-list", envvar="PACKAGE_LIST", type=str, - help="Optional, contains comma-seperated list of package ids that are processed for documentation " + help="Optional, contains comma-separated list of package ids that are processed for documentation " "building, and document publishing. It is an easier alternative to adding individual packages as" " arguments to every command. This overrides the packages passed as arguments.", ) diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py index 8b3e32fccb771..5230c801272bc 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -770,7 +770,7 @@ def basic_provider_checks(provider_package_id: str) -> dict[str, Any]: "--package-list", envvar="PACKAGE_LIST", type=str, - help="Optional, contains comma-seperated list of package ids that are processed for documentation " + help="Optional, contains comma-separated list of package ids that are processed for documentation " "building, and document publishing. It is an easier alternative to adding individual packages as" " arguments to every command. This overrides the packages passed as arguments.", ) @@ -1541,7 +1541,7 @@ def run_publish_docs_in_parallel( "--package-list", envvar="PACKAGE_LIST", type=str, - help="Optional, contains comma-seperated list of package ids that are processed for documentation " + help="Optional, contains comma-separated list of package ids that are processed for documentation " "building, and document publishing. It is an easier alternative to adding individual packages as" " arguments to every command. This overrides the packages passed as arguments.", )