metacpan-api icon indicating copy to clipboard operation
metacpan-api copied to clipboard

Fedora Project API now returns a 404

Open oalders opened this issue 7 years ago • 10 comments

Failed to fetch https://admin.fedoraproject.org/pkgdb/api/packages/?limit=500&page=1&status=Approved: 404 Not Found at /home/metacpan/metacpan-api/bin/../lib/MetaCPAN/Script/Role/External/Fedora.pm line 29.

/home/metacpan/bin/metacpan-api-carton-exec bin/metacpan external --external_source fedora

oalders avatar Jul 11 '18 02:07 oalders

@book do you know what happened here?

oalders avatar Jul 11 '18 02:07 oalders

looks like URLs have changed, https://admin.fedoraproject.org/pkgdb doesn't exist - it's been decommissioned.

I see they replaced it with https://src.fedoraproject.org/ but I didn't check how that translates to our script using it.

For now we should disable the cron or just let it fail.

mickeyn avatar Jul 11 '18 07:07 mickeyn

PkgDB has indeed being replaced by a number of other services. Let me see what I can do to fix this.

eseyman avatar Jul 11 '18 07:07 eseyman

Makes sense to disable the cron until we get this sorted.

oalders avatar Jul 11 '18 10:07 oalders

https://github.com/metacpan/metacpan-puppet/pull/181

mickeyn avatar Jul 11 '18 11:07 mickeyn

Cron disabled - please lets put a time cap on getting this fixed as offering data that is out of date is worse than not offering it at all

ranguard avatar Jul 29 '18 07:07 ranguard

@eseyman do you have any updates on this?

oalders avatar Oct 10 '18 18:10 oalders

If we don't have an update on this by the end of April, let's remove the code from the repository.

oalders avatar Apr 07 '20 01:04 oalders

I've been waiting for something to replace pkgdb's API but, sadly, nothing seems to be on the horizon. You can remove the code.

eseyman avatar Apr 07 '20 13:04 eseyman

Thanks @eseyman. If a replacement does appear, it's easy enough to revert and get this going again.

oalders avatar Apr 07 '20 14:04 oalders