Skip to content

Conversation

@pparidans
Copy link
Contributor

tl;dr: redirects to the last bundle tag's summary page.

@pparidans pparidans self-assigned this Dec 18, 2025
@pparidans pparidans force-pushed the 19.0-next-freeze-app branch from f03d53f to ded8456 Compare December 18, 2025 10:04
@C3POdoo C3POdoo requested a review from a team December 18, 2025 10:10
Comment on lines 920 to 923
bundle_tags = bundle_tags.sorted(lambda t: re.search(is_base_regex, t.name).group(1) if re.search(is_base_regex, t.name) else '00.0', reverse=True)
next_freeze_tag = bundle_tags[0] if bundle_tags else None
if not next_freeze_tag:
raise NotFound
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
bundle_tags = bundle_tags.sorted(lambda t: re.search(is_base_regex, t.name).group(1) if re.search(is_base_regex, t.name) else '00.0', reverse=True)
next_freeze_tag = bundle_tags[0] if bundle_tags else None
if not next_freeze_tag:
raise NotFound
if not bundle_tags:
raise NotFound
bundle_tags = bundle_tags.sorted(lambda t: m[1] if (m := re.search(is_base_regex, t.name)) else '00.0', reverse=True)
next_freeze_tag = bundle_tags[0]

tl;dr: redirects to the last bundle tag's summary page.
@pparidans pparidans force-pushed the 19.0-next-freeze-app branch from ded8456 to e5a1bc1 Compare December 18, 2025 10:39
@pparidans pparidans marked this pull request as draft December 22, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants