dcallagh added a new comment to an issue you are following:
``
Seems like the problematic retirements all happened on 5 August, so we can narrow the
range a bit. And I crafted this curl+jq invocation to ask Pkgdb if a package was actually
retired:
```
$ p=python-cherrypy2; curl -s -f
"https://admin.fedoraproject.org/pkgdb/api/package/$p/" | jq -r '.packages[]
| select(.collection.branchname == "epel7") | .status'
Approved
$ p=pcre2; curl -s -f "https://admin.fedoraproject.org/pkgdb/api/package/$p/" |
jq -r '.packages[] | select(.collection.branchname == "epel7") |
.status'
Retired
```
So based on the koji history we can cross-reference. For EPEL7:
```
koji list-history --tag=epel7 --after=2017-08-05 --before=2017-08-06 | grep -B1 blocked |
grep -P -o '(?<=package list entry for ).*(?= in epel7)' | while read p ; do if
[[ $(curl -s -f "https://admin.fedoraproject.org/pkgdb/api/package/$p/" | jq -r
'.packages[] | select(.collection.branchname == "epel7") | .status') ==
"Approved" ]] ; then echo $p ; else echo NOT $p ; fi ; done
```
and similarly for EPEL6:
```
koji list-history --tag=dist-6E-epel --after=2017-08-05 --before=2017-08-06 | grep -B1
blocked | grep -P -o '(?<=package list entry for ).*(?= in dist-6E-epel)' |
while read p ; do if [[ $(curl -s -f
"https://admin.fedoraproject.org/pkgdb/api/package/$p/" | jq -r '.packages[]
| select(.collection.branchname == "el6") | .status') ==
"Approved" ]] ; then echo $p ; else echo NOT $p ; fi ; done
```
So unless I've made a mistake in my bash command above, it shows that *all* the EPEL
packages retired on 5 August were wrongly retired and should be unblocked and retagged in
Koji.
I compared the lists and it's the same set of packages listed by @till in his comment
above, *except* conntrack-tools which is listed in Pkgdb as approved but according to
@orion's comment it should stay retired.
``
To reply, visit the link below or just reply to this email
https://pagure.io/releng/issue/6945