Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Oct 25, 2025

This does not remove the actual versions from S3 only limits the drop-down. All versions are available still to see and they are indexed, also links from PyPI continue to work, you can also manually update version in the URL.


^ 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.

@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Oct 25, 2025
@potiuk potiuk force-pushed the filter-versions-to-latest-minor branch from 7972c7a to 09c654d Compare October 25, 2025 13:17
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good solution! I like it.

Copy link
Member

@gopidesupavan gopidesupavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes indeed, definitely worth limiting :) LGTM

@potiuk
Copy link
Member Author

potiuk commented Oct 25, 2025

Let's wait for others / devlist comments -> this is quite a change. It might be a little confusing for users (I imagine) - and I am not entirely sure if 10 last versions is good cut-off ?

@jscheffl
Copy link
Contributor

jscheffl commented Oct 25, 2025

Let's wait for others / devlist comments -> this is quite a change. It might be a little confusing for users (I imagine) - and I am not entirely sure if 10 last versions is good cut-off ?

I think when all the non-latest minor are off then we can get back to the full list in my view... At least every 6 months I have a reason to check for 1.10 docs :-D
But as I manage to change the URL myself, top 10 is also OK'ish. But it might feel the other versions are not there anymore.

Maybe a "all other versions..." can be added in the dropdown leading to a version browser page that lists all in a scrollable page?

@potiuk
Copy link
Member Author

potiuk commented Oct 25, 2025

Maybe a "all other versions..." can be added in the dropdown leading to a version browser page that lists all in a scrollable page?

That's "advanced" UI work - that no-one pivcked up yet :)

@potiuk potiuk linked an issue Oct 25, 2025 that may be closed by this pull request
1 task
@potiuk potiuk force-pushed the filter-versions-to-latest-minor branch from 09c654d to e045634 Compare October 25, 2025 18:31
This does not remove the actual versions from S3 only limits
the drop-down. All versions are available still to see and they
are indexed, also links from PyPI continue to work, you can
also manually update version in the URL.
@potiuk potiuk force-pushed the filter-versions-to-latest-minor branch from e045634 to a64ed77 Compare October 25, 2025 19:26
@potiuk
Copy link
Member Author

potiuk commented Oct 25, 2025

The setup for 20 versions seems like really good for now :)

@potiuk potiuk merged commit a0b4d29 into main Oct 25, 2025
115 checks passed
@potiuk potiuk deleted the filter-versions-to-latest-minor branch October 25, 2025 21:09
github-actions bot pushed a commit that referenced this pull request Oct 25, 2025
…ocs (#57243)

This does not remove the actual versions from S3 only limits
the drop-down. All versions are available still to see and they
are indexed, also links from PyPI continue to work, you can
also manually update version in the URL.
(cherry picked from commit a0b4d29)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

potiuk added a commit that referenced this pull request Oct 25, 2025
…ocs (#57243) (#57262)

This does not remove the actual versions from S3 only limits
the drop-down. All versions are available still to see and they
are indexed, also links from PyPI continue to work, you can
also manually update version in the URL.
(cherry picked from commit a0b4d29)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@jscheffl
Copy link
Contributor

The setup for 20 versions seems like really good for now :)

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make version drop-down usable for the docs

3 participants