You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: deduplicate fetch_json, EOL filtering, and version sort
- Extract shared fetch_json into rhdh_lifecycle.redhat; remove local
copies from check_aks_lifecycle.py, check_eks_lifecycle.py,
check_gke_lifecycle.py, and pg.py
- Extract filter_supported_eol_entries helper to deduplicate the
identical EOL cross-verification blocks in AKS and EKS scripts
- Replace all inline version sort lambdas with ver_sort_key from
rhdh_lifecycle.redhat (lifecycle scripts) and rhdh_prow.__init__
(prow scripts); add AGENTS.md sync rule for the prow copy
Assisted-by: OpenCode
Copy file name to clipboardExpand all lines: AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,8 @@ Bump all three when releasing.
78
78
79
79
`skills/prow/scripts/rhdh_prow/repo.py` and `skills/prow/scripts/rhdh_prow/yaml.py` are copies of `skills/lifecycle/scripts/rhdh_lifecycle/repo.py` and `skills/lifecycle/scripts/rhdh_lifecycle/yaml.py`. The only difference is the internal import path (`rhdh_prow.repo` vs `rhdh_lifecycle.repo`). When modifying either copy, update both to keep them in sync.
80
80
81
+
`ver_sort_key` in `skills/prow/scripts/rhdh_prow/__init__.py` is a copy of the same function in `skills/lifecycle/scripts/rhdh_lifecycle/redhat.py`. Keep both in sync.
0 commit comments