Skip to content
Snippets Groups Projects
  1. Feb 05, 2024
  2. Feb 02, 2024
  3. Jan 26, 2024
  4. Jan 17, 2024
  5. Jan 16, 2024
  6. Jan 15, 2024
    • Antoine Lambert's avatar
      NodeLoader: Store standard checksums as ExtIDs in addition to NAR ones · b6144242
      Antoine Lambert authored
      The NodeLoader class handles two checksums layout:
      
      - standard: checksum is computed from the raw downloaded artifact bytes
      - nar: checksum is a NAR hash, recursively computed from source code tree
      
      Previously, only nar checksums were stored as ExtIDs while standard ones
      were only used for integrity checks after downloads.
      
      As mapping a tarball (resp. file) standard checksum to its corresponding
      directory (resp. content) SWHID is of interest for Guix to check if SWH
      archived this software artifact, ensure to also save standard checksums
      as ExtIDs of type "checksum-<hash_algo>".
      b6144242
  7. Dec 07, 2023
  8. Dec 06, 2023
  9. Dec 05, 2023
  10. Dec 04, 2023
  11. Dec 03, 2023
  12. Nov 29, 2023
  13. Nov 17, 2023
  14. Nov 14, 2023
  15. Nov 13, 2023
  16. Oct 04, 2023
  17. Sep 28, 2023
  18. Sep 25, 2023
    • Antoine Lambert's avatar
      rpm: Ensure correct package versions ordering · 506a24e0
      Antoine Lambert authored
      Previously package versions were sorted according to packages dict
      keys but this is not reliable as older versions can be sorted after
      newer ones.
      
      Prefer to sort package versions according to their build time then
      as it produces a correct ordering and ensure the HEAD branch alias
      will target the most recent version of a package.
      506a24e0
  19. Sep 19, 2023
  20. Sep 18, 2023
  21. Sep 14, 2023
  22. Aug 28, 2023
    • Antoine Lambert's avatar
      rpm: Adapt to latest changes in lister and fix some issues · f8900ff6
      Antoine Lambert authored
      Do no attempt to parse version with the packaging.version module as rpm
      version format do not match Python package one and thus numerous parsing
      were failing.
      
      Use package intrinsic version in the message for each produced release in
      order for the loader to not create different releases targeting the same
      directory.
      
      Adapt input data sent by the RPM lister to its latest changes, notably in
      tests.
      
      Related to swh/meta#5011.
      v5.10.0
      f8900ff6
  23. Aug 08, 2023
  24. Jul 25, 2023
    • Antoine Lambert's avatar
      package/utils: Prevent content automatic deflate in download function · 9f187c9d
      Antoine Lambert authored
      The python requests library automatically deflate downloaded content bytes
      if the response header content-encoding is set to a supported encoding.
      
      However some HTTP servers can serve a tarball with content-type set to
      application/x-gzip and content-encoding set to gzip which is wrong as
      tarball is uncompressed while downloading it.
      
      That behavior can make a file checksum check after download fail as the
      expected checksum was computed on the compressed version of the file, not
      the uncompressed one.
      
      So ensure to prevent automatic deflate by reading response raw content
      instead of using the iter_content method when the content-type and
      content-encoding headers are both set to gzip format.
      9f187c9d
  25. Jul 10, 2023
Loading