Skip to content
Snippets Groups Projects
  1. Feb 26, 2024
  2. Feb 16, 2024
  3. Feb 05, 2024
  4. Feb 02, 2024
  5. Jan 26, 2024
  6. Jan 17, 2024
  7. Jan 16, 2024
    • Antoine Lambert's avatar
      package/utils: Set accept-encoding to identity for download request · fe561600
      Antoine Lambert authored
      requests package set the value of the Accept-Encoding HTTP header to
      "gzip, deflate" by default and some servers (https://download.ocamlcore.org/
      for instance) will then send a compressed version of the artifact to download
      with response header content-encoding usually set to gzip.
      
      Nevertheless, this conflicts with the code checking if the response bytes
      should be uncompressed as it should not when Content-Encoding header is equal
      to gzip and Content-Type is equal to application/*gzip.
      
      As artifacts to download are usually tarballs already compressed with gzip,
      set the Accept-Encoding request header to identity in order to force the
      server to send raw artifact bytes without the Content-Encoding header set.
      fe561600
    • Antoine Lambert's avatar
      core/loader: Rename ExtID type nar-<hash>-raw-validated to nar-<hash> · c8b10b15
      Antoine Lambert authored
      It seems a better naming as shorter is better.
      c8b10b15
  8. 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
  9. Dec 07, 2023
  10. Dec 06, 2023
  11. Dec 05, 2023
  12. Dec 04, 2023
  13. Dec 03, 2023
  14. Nov 29, 2023
  15. Nov 17, 2023
  16. Nov 14, 2023
  17. Nov 13, 2023
  18. Oct 04, 2023
  19. Sep 28, 2023
  20. 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
  21. Sep 19, 2023
  22. Sep 18, 2023
  23. Sep 14, 2023
Loading