HomeSoftware Heritage

pubdev: Retrieve last publication date for each listed package

Description

pubdev: Retrieve last publication date for each listed package

In order to get a last_update for each ListedOrigin sent to scheduler
database, send an extra HTTP request for each listed package to the
/api/packages/<package_name> endpoint of pub.dev API.

A pub.dev developer inform us that endpoint is heavily used and cached
so there is no particular issues to query that endpoint for each package
in a row periodically.

Details