Skip to content
Snippets Groups Projects
  1. Mar 19, 2021
  2. Feb 26, 2021
  3. Feb 08, 2021
  4. Feb 05, 2021
  5. Feb 02, 2021
    • Antoine Lambert's avatar
    • Antoine Lambert's avatar
      Remove no longer used legacy Lister API and update CLI options · 89335445
      Antoine Lambert authored
      Legacy Lister classes from the swh.lister.core mdule are no longer
      used in swh-lister codebase so it is time to remove them.
      
      Also remove lister CLI options related to legacy Lister API.
      
      As a consequence, the following requirements are no longer needed:
      arrow, SQLAlchemy, sqlalchemy-stubs and testing.postgresql.
      
      Closes T2442
      89335445
    • Antoine Lambert's avatar
      packagist: Reimplement lister using new Lister API · ff05191b
      Antoine Lambert authored
      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
      ff05191b
    • Antoine Lambert's avatar
      gnu: Remove dependency on pytz · 82ab96ad
      Antoine Lambert authored
      UTC timezone settings can be obtained from the datetime.timezone
      module from Python standard library so remove dependency on external
      pytz module.
      82ab96ad
  6. Feb 01, 2021
  7. Jan 29, 2021
  8. Jan 28, 2021
  9. Jan 27, 2021
  10. Jan 26, 2021
    • Antoine Lambert's avatar
      debian: Reimplement lister using new Lister API · bb0184c0
      Antoine Lambert authored
      Port debian lister to `swh.lister.pattern.Lister` API.
      
      The new implementation will produce one instance of ListedOrigin model
      per package, notably containing the set of parameters expected by the
      debian loader.
      
      The lister is also stateful, meaning only new packages and those with
      new found versions since the last listing will be returned.
      
      Closes T2979
      bb0184c0
    • Tenma's avatar
      tests: Remove no longer used conftest files · 6cd31769
      Tenma authored
      All the fixtures declared in them are not used anymore in the
      tests of the listers ported to the new Lister API.
      6cd31769
    • Antoine R. Dumont's avatar
      gitlab: Implement keyset-based pagination listing · 97254a19
      Antoine R. Dumont authored
      The previous pagination implementation has a hard-coded limit server side [1]
      
      [1]
      
      ```
      {"error":"Offset pagination has a maximum allowed offset of 50000 for requests that return objects of type Project. Remaining records can be retrieved using keyset pagination."}
      ```
      
      Related to T2994
      Verified
      97254a19
Loading