Skip to content

Add packages-metadata generation functions to S3 Docs publishing #50059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

gopidesupavan
Copy link
Member

@gopidesupavan gopidesupavan commented Apr 30, 2025

https://github.com/apache/airflow-site/blob/gh-pages/_gen/packages-metadata.json

We would need the packages-metadata.json file to work properly dropdowns in docs. Now that we are going to publishing all the docs to s3, so its best to generate part of doc publishing packages-metadata and we can pull this json directly in https://github.com/apache/airflow-site/blob/main/dump-docs-packages-metadata.py here.


^ 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 airflow-core/newsfragments.

@gopidesupavan
Copy link
Member Author

We are nearly there :) one last step, planning to try some end to end runs in next two days.

@potiuk
Copy link
Member

potiuk commented Apr 30, 2025

Nice! Getting closer to a fast docs workflow :)

@gopidesupavan gopidesupavan merged commit 8642105 into apache:main May 1, 2025
97 checks passed
mvfc pushed a commit to mvfc/airflow that referenced this pull request May 1, 2025
…che#50059)

* Add packages-metadata generation functions to S3 Docs publishing

* Add semver package
potiuk added a commit to potiuk/airflow that referenced this pull request May 1, 2025
With apache#50059 it turned out that we need to add breeze also as
part of the workspace. With the current ".idea" setup - all our
projects share the same `.venv` environment and when someone wants
to run `breeze` tests using that `.venv`, it is great if `uv sync`
installs all that is needed to run breeze tests as well. The apache#50059
added `awswrangler` that was not part of any other project and
even after `uv sync` in the main repo, `breeze` tests could not
be run.
potiuk added a commit that referenced this pull request May 1, 2025
With #50059 it turned out that we need to add breeze also as
part of the workspace. With the current ".idea" setup - all our
projects share the same `.venv` environment and when someone wants
to run `breeze` tests using that `.venv`, it is great if `uv sync`
installs all that is needed to run breeze tests as well. The #50059
added `awswrangler` that was not part of any other project and
even after `uv sync` in the main repo, `breeze` tests could not
be run.
github-actions bot pushed a commit that referenced this pull request May 1, 2025
…oject (#50078)

With #50059 it turned out that we need to add breeze also as
part of the workspace. With the current ".idea" setup - all our
projects share the same `.venv` environment and when someone wants
to run `breeze` tests using that `.venv`, it is great if `uv sync`
installs all that is needed to run breeze tests as well. The #50059
added `awswrangler` that was not part of any other project and
even after `uv sync` in the main repo, `breeze` tests could not
be run.
(cherry picked from commit e6d6cc1)

Co-authored-by: Jarek Potiuk <[email protected]>
potiuk added a commit that referenced this pull request May 1, 2025
…oject (#50078) (#50080)

With #50059 it turned out that we need to add breeze also as
part of the workspace. With the current ".idea" setup - all our
projects share the same `.venv` environment and when someone wants
to run `breeze` tests using that `.venv`, it is great if `uv sync`
installs all that is needed to run breeze tests as well. The #50059
added `awswrangler` that was not part of any other project and
even after `uv sync` in the main repo, `breeze` tests could not
be run.
(cherry picked from commit e6d6cc1)

Co-authored-by: Jarek Potiuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants