Hi Niko, On 09-02-2022 22:49, Niko Tyni wrote:
Not sure about the format but hope the attached will do. Each line has the package to be rescheduled, and then a list of packages that need to be pulled from unstable. I haven't checked whether the lists are absolutely minimal for this, but a few too much shouldn't hurt as they are going to migrate at the same time anyway.
I'll construct lines like this from the list """echo '[{"trigger":"perl/5.34.0-3","package":"libtickit-console-perl","pin-packages":[["src:libtickit-console-perl,src:libobject-pad-perl,src:perl","unstable"]]}]' > tmp4.json
"""because that's the format needed for the debci API, that I can trigger with the following command:
"""for arch in amd64 arm64 armhf i386 ppc64el s390x; do curl --cacert /etc/ssl/ca-global/ca-certificates.crt --header @britney_key.header --form tests=@tmp4.json --form priority=10 "https://ci.debian.net/api/v1/test/testing/${arch}" ; done
"""
If you can reschedule these, I can then sort through the results to see whether this worked at all.
Working on it.
(BTW: Could I do the rescheduling myself via the ci.d.n API, or do the requests need to come from britney to be considered grounds for migration?)
Indeed, you can't schedule these jobs as it needs the credentials for the britney user on ci.d.n which should be only available to release team members.
Paul
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature