We've just noticed that not all neuro-sig packages are being listed in the neuro-sig group in Koschei:
https://koschei.fedoraproject.org/groups/neuro-sig
Only 19 packages are shown, but the neuro-sig maintains ~170 packages together: https://src.fedoraproject.org/group/neuro-sig
They were all listed before correctly in Koschei and were automatically synced from src.fp.o too.
Whenever convenient please.
Metadata Update from @smooge: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: koschei, low-gain, low-trouble, ops
@mizdebsk can you take a look?
Metadata Update from @mizdebsk: - Issue assigned to mizdebsk
This is caused by recent API breakage in Pagure, https://pagure.io/pagure/c/93bdbd2 Now group API returns only first 20 projects instead of all: curl -s "https://src.fedoraproject.org/api/0/group/neuro-sig?projects=1" | jq -r '.projects[]|select(.namespace=="rpms").name' | wc -l prints 20 The number can be increased to 100 by adding per_page=100 argument to the call, but it doesn't fix the issue fully.
curl -s "https://src.fedoraproject.org/api/0/group/neuro-sig?projects=1" | jq -r '.projects[]|select(.namespace=="rpms").name' | wc -l
20
per_page=100
Upstream issue: https://pagure.io/pagure/issue/5110
Hi @mizdebsk : is there anything we can do to help with this? We really miss having koschei :(
In the meantime, could we please stop the automated script that updates the package list on Koschei? We can manage it manually for the time being.
(if the script keeps running, it overwrites our manual package additions again and again)
Hiya,
Could we please stop automatically tracking the neuro-sig packages until the issue is fixed? I'll manually update our package list and keep it in sync.
Cheers,
Done. Auto-tracking of neuro-sig was temporairly disabled in commit 222265d until the real issue is fixed.
# oc -n koschei delete cronjob/cron-track-neuro cronjob/cron-refresh-neuro cronjob.batch "cron-track-neuro" deleted cronjob.batch "cron-refresh-neuro" deleted
Thanks very much @mizdebsk :)
Hi @mizdebsk : any chance we can get the full list of packages now (and re-enable the auto-sync)?
I opened this to update the koschei script to handle pagination. A version works here locally:
https://github.com/fedora-infra/koschei/pull/339
If that works and "fixes" the issue with pagination, please do re-enable neuro-sig tracking too.
Thanks very much :)
Upstream fix: https://github.com/fedora-infra/koschei/pull/340
The issue should be fixed now - I updated Koschei to latest upstream version.
Metadata Update from @mizdebsk: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.