Skip to content
Snippets Groups Projects
  1. Mar 20, 2025
  2. Mar 11, 2025
  3. Mar 10, 2025
  4. Feb 26, 2025
  5. Feb 19, 2025
    • Nicolas Dandrimont's avatar
      Ensure compatibility with rpm2cpio 4.20 · 6a604da4
      Nicolas Dandrimont authored
      It seems that the cpio files generated by rpm2cpio now have filenames
      with a leading `./`. Add support for this change in the test fixture (it
      seems that the actual extraction isn't affected by this change).
      6a604da4
  6. Feb 17, 2025
  7. Jan 14, 2025
  8. Jan 13, 2025
    • Antoine Lambert's avatar
      package: Ensure snapshot HEAD alias targets a fetched release · d3c5b380
      Antoine Lambert authored and Antoine Lambert's avatar Antoine Lambert committed
      A package manager can reference a package version that is no longer
      available for download so ensure produced snapshot HEAD alias targets
      a fetched package release.
      d3c5b380
    • Antoine Lambert's avatar
      deposit: Synchronize HTTP read timeout with deposit server · b841711c
      Antoine Lambert authored
      When the deposit loader downloads a deposited tarball, it calls the raw
      endpoint of deposit private HTTP API. In production, the implementation
      of that endpoint downloads a set of tarballs from an azure blob storage
      and return an aggregated version of them.
      
      It has been observed some HTTP read timeouts while downloading tarballs
      from azure. Those have been fixed in swh-deposit!453 by increasing
      the read timeout used to read data from azure.
      
      However, there is still some deposit loader tasks that end up with error
      as the read timeout used to query the raw endpoint of deposit private API
      is twice lesser than the read timeout used to download from azure.
      So ensure those HTTP read timeouts have the same value of 120 seconds.
      b841711c
  9. Dec 18, 2024
    • Antoine Lambert's avatar
      package: Harmonize the way package versions are sorted · b773bc11
      Antoine Lambert authored
      Instead of implementing the versions sorting in each package loader
      prefer  to have a base implementation in swh.loader.package.PackageLoader
      class through the get_sorted_versions method. It relies on the looseversion
      module enabling to interact with heterogeneous version schemes which works
      pretty well with a large majority of package loaders.
      
      The get_default_version method of the PackageLoader class now also has a
      base implementation returning the last element from the list returned by
      the get_sorted_versions method. As a consequence, each snapshot produced
      by a package loader contains a HEAD alias branch targeting the branch
      for the highest version number of a package.
      
      Both methods can be reimplemented in package loaders for special cases
      like debian for instance.
      
      Also remove the use of the packaging module to parse versions as it is
      only dedicated to parse Python package versions.
      
      Related to swh-lister#4711.
      b773bc11
  10. Dec 02, 2024
  11. Sep 05, 2024
    • Franck Bret's avatar
      crates: Improve loader implementation · 89659947
      Franck Bret authored and Antoine Lambert's avatar Antoine Lambert committed
      Add incremental support based on sha256 EXTID.
      
      Use looseversion.LooseVersion2 to parse crate versions.
      
      Manage release date for each versions of a package.
      
      Fetch extrinsic metadata for a crate version from crates Web API.
      
      Adapt test dataset and add incremental test cases.
      
      Related to swh/meta#4104
      89659947
  12. Aug 30, 2024
  13. Aug 27, 2024
  14. Jun 28, 2024
  15. Jun 06, 2024
  16. Jun 03, 2024
  17. May 27, 2024
  18. May 22, 2024
  19. May 21, 2024
  20. May 15, 2024
  21. Mar 28, 2024
  22. Mar 05, 2024
  23. Feb 26, 2024
  24. Feb 16, 2024
  25. Feb 05, 2024
Loading