From f1f890aa9651156c450962b6d3204e7e3a6c78c0 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Nov 20 2024 17:23:12 +0000 Subject: Improve comment around unsupported prior release It turns out that this also properly deals with Beta branches that are past the Launch Phase, so this updates the comment to note that this is the expected behavior here. Signed-off-by: Stephen Gallagher --- diff --git a/src/centpkg/utils.py b/src/centpkg/utils.py index 7ce585e..7ad4543 100644 --- a/src/centpkg/utils.py +++ b/src/centpkg/utils.py @@ -643,9 +643,10 @@ def determine_rhel_state( # Determine which phase the prior release is in: prior_release_phase = phase_lookup[prior_release_branch] - # If the prior release is in the Unsupported Phase, it probably means - # that we're dealing with an EOL CentOS Stream (like 8.10). We need - # to use the stream rules in this case. + # If the prior release is in the Unsupported Phase, it either means + # that we're dealing with an EOL CentOS Stream (like 8.10) or else + # the prior release was a Beta which is past the Launch Phase. We + # need to use the stream rules in this case. prior_is_eol = bool(prior_release_phase == pp_phase_unsupported) if not prior_is_eol: