o-nikolas commented on code in PR #35586: URL: https://github.com/apache/airflow/pull/35586#discussion_r1393430172
########## dev/README_RELEASE_PROVIDER_PACKAGES.md: ########## @@ -176,6 +175,27 @@ breeze release-management prepare-provider-documentation \ --base-branch provider-cncf-kubernetes/v4-4 cncf.kubernetes ``` +In case you want to **just** regenerate the documentation because you fixed something in the templates, add +`--reapply-templates` flag to the command above. This refreshes content of: + +* `__init__.py` in provider's package +* Provider Commits +* Provider index for the documentation +* Provider README file used when publishing package in PyPI + +If you want to just update min airflow version for all packages, you should modify `MIN_AIRFLOW_VERSION` +in `dev/provider_packages/prepare_provider_packages.py` and run the `prepare-provider-documentation` +command with `--only-min-version-update` flag. this will only update the min version in +the `__init__.py` files and package documentation without bumping the provider versions. Review Comment: ```suggestion If you want to just update the min airflow version for all packages, you should modify `MIN_AIRFLOW_VERSION` in `dev/provider_packages/prepare_provider_packages.py` and run the `prepare-provider-documentation` command with the `--only-min-version-update` flag. This will only update the min version in the `__init__.py` files and package documentation without bumping the provider versions. ``` ########## dev/README_RELEASE_PROVIDER_PACKAGES.md: ########## @@ -176,6 +175,27 @@ breeze release-management prepare-provider-documentation \ --base-branch provider-cncf-kubernetes/v4-4 cncf.kubernetes ``` +In case you want to **just** regenerate the documentation because you fixed something in the templates, add +`--reapply-templates` flag to the command above. This refreshes content of: + +* `__init__.py` in provider's package +* Provider Commits +* Provider index for the documentation +* Provider README file used when publishing package in PyPI + +If you want to just update min airflow version for all packages, you should modify `MIN_AIRFLOW_VERSION` +in `dev/provider_packages/prepare_provider_packages.py` and run the `prepare-provider-documentation` +command with `--only-min-version-update` flag. this will only update the min version in +the `__init__.py` files and package documentation without bumping the provider versions. + +```shell script +breeze release-management prepare-provider-documentation --only-min-version-update +``` + +Note, that this command will only bump min airflow versions for those providers that do not have it set to +a higher version, so you do not have to skip specific providers - run it for all providers and it will Review Comment: ```suggestion Note: that this command will only bump the min airflow versions for those providers that do not have it set to a higher version. You do not have to skip specific providers - run it for all providers and it will ``` ########## dev/README_RELEASE_PROVIDER_PACKAGES.md: ########## @@ -176,6 +175,27 @@ breeze release-management prepare-provider-documentation \ --base-branch provider-cncf-kubernetes/v4-4 cncf.kubernetes ``` +In case you want to **just** regenerate the documentation because you fixed something in the templates, add +`--reapply-templates` flag to the command above. This refreshes content of: Review Comment: ```suggestion `--reapply-templates` flag to the command above. This refreshes the content of: ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
