FS#80098 - [aurphan] uses removed APIs - Drop pkg
Attached to Project:
Arch Linux
Opened by Alad Wenter (Alad) - Sunday, 29 October 2023, 09:46 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Opened by Alad Wenter (Alad) - Sunday, 29 October 2023, 09:46 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
|
Details
Description:
This hasn't been updated since 2014 and uses old APIs. In particular: More issues in the code: * aurphan -a uses rpc.php which no longer exists, and does not specify the RPC version (?v=5&type=info instead of ?type=info) * jshon can't parse AUR RPC output with parse error: illegal index on arg 4, "Maintainer" * aurphan -a uses 1 request per package, which causes rate limiting with large numbers of foreign packages * aurphan -p uses 'https://www.archlinux.org/packages/?sort=pkgname&maintainer=orphan&page=1&repo=Community&repo=Core&repo=Extra&repo=Multilib' when Community no longer exists * aurphan -f and aurphan -m don't work for the same reason All in all, 1. nobody ostensibly still uses this 2. the code will only get more broken with the migration to gitlab 3. even with flyspray aurphan would require a rewrite to work again 4. there's no upstream repo and no active upstream author I suggest to drop it entirely from the repos instead of patching it up. Additional info: * package version(s) 20140212-3 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/aurphan/issues/1
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/aurphan/issues/1
The aurphan CLI is almost without any working functionality now.
And the one remaining working command (for querying bugs) just lists
the number of open bugs of 44 repo packages, not sure why it selects those.
Then it follows with a comma separated list of 74 further repo package names.