I see this error when orphaning packages via retire_packagers.py
$ PAGURE_TOKEN=xxx python retire_packagers.py pkajaba --retire ... pkajaba is main admin of rpms/pagila **** REQUEST FAILED - Orphan package https://src.fedoraproject.org/_dg/orphan/rpms/pagila {'orphan_reason': 'other', 'orphan_reason_info': 'Orphaned by releng'} {'Authorization': 'token xxx'} { "error": "Invalid or incomplete input submitted", "error_code": "EINVALIDREQ", "errors": { "orphan_reason": [ "Not a valid choice" ] } } ...
@pingou Do you know what this is? Has the API endpoint changed?
(The rest of the script works fine.)
I see it, "bug" (or rather oversight) on pagure-dist-git fixed in https://pagure.io/pagure-dist-git/pull-request/125
Metadata Update from @mohanboddu: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Thanks.
The new pagure-dist-git has now been deployed, so this is fixed now :)