Update owner-sync-pagure.j2 to work with EPEL 10, second attempt #2191

Merged
ryanlerch merged 1 commit from owner-sync-pagure-epel10-followup into main 2024-07-31 14:28:57 +00:00
Contributor

Originally attempted in 01be34a70645eb744751b5341fd3a2339d70433c, but it didn't work correctly and needed to be reverted. Some notable differences this time around:

  • Previously the script predicted branch and version based on the tag. I had this switched to get both of those from the bodhi release, but not all tags have a corresponding bodhi release. So this now takes a hybrid approach of using bodhi release if available, and falling back to the prediction approach otherwise.
  • Retired package lists from the lookaside are now skipped if they don't exist, both during the retrieval and when checked later.
  • The get_project_branches function now returns a set.

Signed-off-by: Carl George carlwgeorge@gmail.com

Originally attempted in [01be34a70645eb744751b5341fd3a2339d70433c](https://pagure.io/fedora-infra/ansible/c/01be34a70645eb744751b5341fd3a2339d70433c?branch=main), but it didn't work correctly and needed to be reverted. Some notable differences this time around: - Previously the script predicted branch and version based on the tag. I had this switched to get both of those from the bodhi release, but not all tags have a corresponding bodhi release. So this now takes a hybrid approach of using bodhi release if available, and falling back to the prediction approach otherwise. - Retired package lists from the lookaside are now skipped if they don't exist, both during the retrieval and when checked later. - The get_project_branches function now returns a set. Signed-off-by: Carl George <carlwgeorge@gmail.com>
First-time contributor
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/56970bfd30884adf8033376ac5fa4f7e - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/76e1ff3b3c3347819554506dac150d1b) : SUCCESS in 3m 49s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/ba877dd11b7641da92f4b5516570a109) : SUCCESS in 2m 27s
Contributor

rebased onto a0f31814d2

rebased onto a0f31814d2615702d7c376c7e89a949454ad13cf
Contributor

rebased onto a0f31814d2

rebased onto a0f31814d2615702d7c376c7e89a949454ad13cf
Contributor

Pull-Request has been merged by zlopez

Pull-Request has been merged by zlopez
First-time contributor
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/b75d855d11834da0bd18a1d6f0d0f2ab - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/a0d4152ac1cd4260a1db7c35188a5971) : SUCCESS in 4m 30s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/ad47d8dd0a2e428a9e0870cc7fda0f7a) : SUCCESS in 2m 48s
Contributor

Merged and deployed with

ansible-playbook /srv/web/infra/ansible/playbooks/groups/bodhi-backend.yml
Merged and deployed with ``` ansible-playbook /srv/web/infra/ansible/playbooks/groups/bodhi-backend.yml ```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/ansible#2191
No description provided.