Skip to content

Fix handling selective docs builds for "special" packages - #35102

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix-special-docs-packages-also-handled-as-command
Oct 21, 2023
Merged

Fix handling selective docs builds for "special" packages#35102
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix-special-docs-packages-also-handled-as-command

Conversation

@potiuk

Copy link
Copy Markdown
Member

The #35069 and #35087 that switched from --package-filter to shorthand package names in CI did not handle all the cases - special package names such as "apache-airflow" or "helm-chart" were treated also as providers and the --package-filter constructed was wrong.

This caused a few PRs that got "selective" documentation build (only when they changed provider + some airflow docs) would fail.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Comment threaddev/breeze/src/airflow_breeze/params/doc_build_params.py Outdated
Comment threaddev/breeze/src/airflow_breeze/params/doc_build_params.py Outdated
@potiuk
potiukforce-pushed the fix-special-docs-packages-also-handled-as-command branch 2 times, most recently from e7ee93c to 3f722ddCompareOctober 21, 2023 15:38
The apache#35069 and apache#35087 that switched from `--package-filter` to
shorthand package names in CI did not handle all the cases - special
package names such as "apache-airflow" or "helm-chart" were treated
also as providers and the --package-filter constructed was wrong.
This caused a few PRs that got "selective" documentation build (only
when they changed provider + some airflow docs) would fail.
@potiuk
potiukforce-pushed the fix-special-docs-packages-also-handled-as-command branch from 3f722dd to 009371eCompareOctober 21, 2023 15:39
@potiuk

potiuk commented Oct 21, 2023

Copy link
Copy Markdown
MemberAuthor

I found also a duplication @Taragolis@amoghrajesh -> so the docs build params used their own version of converting from short-hand to filters, and I now made them common.

@potiuk
potiuk merged commit a562174 into apache:mainOct 21, 2023
@potiuk
potiuk deleted the fix-special-docs-packages-also-handled-as-command branch October 21, 2023 16:20
potiuk added a commit that referenced this pull request Oct 29, 2023
The #35069 and #35087 that switched from `--package-filter` to
shorthand package names in CI did not handle all the cases - special
package names such as "apache-airflow" or "helm-chart" were treated
also as providers and the --package-filter constructed was wrong.
This caused a few PRs that got "selective" documentation build (only
when they changed provider + some airflow docs) would fail.
(cherry picked from commit a562174)
@potiukpotiuk added this to the Airflow 2.7.3 milestone Oct 29, 2023
@potiukpotiuk added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Oct 29, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-toolschangelog:skipChanges that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@potiuk@Taragolis@amoghrajesh