uses removed APIs - Drop pkg
Task Info (Flyspray) | |
---|---|
Opened By | Alad Wenter (Alad) |
Task ID | 80098 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-10-29 09:46:03 UTC |
Status | Unassigned |
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,
- nobody ostensibly still uses this
- the code will only get more broken with the migration to gitlab
- even with flyspray aurphan would require a rewrite to work again
- 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: