Skip to content
Snippets Groups Projects
  1. Oct 05, 2022
    • Franck Bret's avatar
      Crates.io: Add last_update for each version of a crate · 4a09f660
      Franck Bret authored
      In order to reduce http api call amount made by the loader, download a
      crates.io database dump, and parse its csv files to get a last_update
      value for each versions of a Crate.
      Those values are sent to the loader through extra_loader_arguments
      'crates_metadata'.
      
      'artifacts' and 'crates_metadata' now uses "version" as key.
      
      Related T4104, D8171
      4a09f660
    • Antoine R. Dumont's avatar
      nixguix: Deal with manifest entries without an integrity field · 2e6e282d
      Antoine R. Dumont authored
      In that case, this fallbacks to use the "outputHash" which is an equivalent field of the
      integrity one except it's for "recursive" outputHashMode. This adds the necessary
      assertions around this case so correct data is sent to loaders as well.
      
      Related to T3781
      2e6e282d
    • Antoine R. Dumont's avatar
      nixguix: Improve is_tarball detection pattern · f2377c28
      Antoine R. Dumont authored
      This actually includes all query param values as paths to check. When paths have
      extensions, it then pattern matches against tarballs if any. When no extension is
      detected, it's doing as before, fallbacks to head query the url to have more information
      on the file.
      
      Prior to this commit, this only looked over a hard-coded list of values (for hard-coded
      keys: file, f, name, url) detected through docker runs. This way of doing it should
      decrease future misdetections (when new unknown "keys" show up in the wild).
      
      Related to T3781
      f2377c28
    • Antoine R. Dumont's avatar
      nixguix: Improve further tarball detection · 2ee103e2
      Antoine R. Dumont authored
      The current content type detection was a bit off mostly for content which includes
      charset. This commit fixes it.
      
      Related to T3781
      2ee103e2
    • Antoine R. Dumont's avatar
      nixguix: Improve git origins detection · ff80a91f
      Antoine R. Dumont authored
      Without this, some git repositories are detected as file (due to upstream
      misqualification too). This does some extra effort to detect those to avoid sending
      noise to loaders.
      
      This also refactors some common code to build vcs artifacts to avoid duplication.
      
      Related to T3781
      ff80a91f
    • Antoine R. Dumont's avatar
      nixguix: Improve tarball detection · 2fbd6677
      Antoine R. Dumont authored
      Without this, some tarballs hidden within query parameters are not detected. This does
      some extra effort to detect those to avoid sending noise to loaders.
      
      Related to T3781
      2fbd6677
  2. Oct 04, 2022
  3. Oct 03, 2022
  4. Sep 30, 2022
  5. Sep 29, 2022
  6. Sep 27, 2022
  7. Sep 26, 2022
  8. Sep 20, 2022
  9. Sep 19, 2022
  10. Sep 13, 2022
  11. Sep 09, 2022
  12. Sep 07, 2022
  13. Sep 02, 2022
Loading