Skip to content
Snippets Groups Projects
Commit ff05191b authored by Antoine Lambert's avatar Antoine Lambert
Browse files

packagist: Reimplement lister using new Lister API

The previous implementation was generating tasks for a non implemented
Packagist loader.

The new implementation extracts source repository URL, VCS type and
last update date for each package referenced by Packagist and send
those info to the scheduler.

Packages metadata are retrieved using Packagist API endpoints whose
responses are served from static files, which are guaranteed to be
efficient on the Packagist side (no dymamic queries).
Furthermore, subsequent listing will send the "If-Modified-Since" HTTP
header to only retrieve packages metadata updated since the previous
listing operation in order to save bandwidth and return only origins
which might have new released versions.

Closes T2991
parent 82ab96ad
No related branches found
No related tags found
1 merge request!204packagist: Reimplement lister using new Lister API
Showing with 840 additions and 218 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment