Skip to content
Snippets Groups Projects
  1. Apr 04, 2023
  2. Mar 27, 2023
    • Jérémy Bobbio (Lunar)'s avatar
      Fix presentation of the loader specification table · f47294fd
      Jérémy Bobbio (Lunar) authored
      After switching to the PyData Sphinx theme, the very large table
      with the loader specification became too wide to be readable.
      These changes make the table scrollable again, remove the right sidebar,
      highlight the name column and add stripe to rows.
      
      They are stopgap measure as such a table might not the best way to
      present this information.
      f47294fd
  3. Mar 08, 2023
  4. Feb 23, 2023
  5. Feb 20, 2023
  6. Feb 17, 2023
  7. Feb 02, 2023
  8. Jan 13, 2023
    • vlorentz's avatar
      Move py.typed from swh/loader/{package,core}/ to swh/loader/ · fed8fc3e
      vlorentz authored
      There is code in swh/loader/cli.py, and swh-loader-metadata will need
      to import cli.py, causing mypy to complain when py.typed is missing.
      fed8fc3e
    • Antoine R. Dumont's avatar
      Allow partial snapshot creation during ingestion · fc1adf07
      Antoine R. Dumont authored
      This introduces a `create_partial_snapshot` parameter to the base loader constructor.
      When activated, during each call of the `store_data` method, if there are more data to
      fetch, this will create a partial snapshot (and an associated visit status).
      
      The final loop behaves as before, create the last visit with status 'full' targeting the
      final snapshot.
      
      The main difference between the 2 behaviors is that an ingestion with that parameter on
      is more verbose in terms of origin_visit_status. This, in turn, allows to be incremental
      in subsequent visits for the same origin. This may especially be interesting for cases
      when loading fail due to out of hand resources issues (e.g. large svn or git
      repositories).
      
      Related to T3625
      Verified
      fc1adf07
  9. Dec 20, 2022
    • Antoine Lambert's avatar
      conda: Fix versions sorting and update release names · a63b39e5
      Antoine Lambert authored
      Release 22.0 of packaging module can no longer parse invalid Python version
      number, an exception is now raised.
      
      Conda loader used the keys of the packages dict as version numbers to sort,
      which are in the form "<arch>/<version>-<build>", but those cannot be parsed
      anymore.
      
      So extract intrinsic version numbers of packages instead to sort the list of
      versions.
      
      Also update snapshot release names to "<version>-<build>-<arch>" as each
      release for a given architecture targets a different directory.
      a63b39e5
    • Antoine Lambert's avatar
      rpm: Fix package versions sorting · b6231045
      Antoine Lambert authored
      Release 22.0 of packaging module can no longer parse invalid Python version
      number, an exception is now raised.
      
      RPM loader used the keys of the packages dict as version numbers to sort,
      which are in the form "<distribution>/<edition>/<package_version_number>",
      but those cannot be parsed anymore.
      
      So use intrinsic version numbers of packages instead to sort the list of
      versions.
      b6231045
    • vlorentz's avatar
      e7ac7a34
  10. Dec 19, 2022
  11. Nov 21, 2022
  12. Nov 16, 2022
  13. Nov 15, 2022
  14. Nov 14, 2022
  15. Nov 03, 2022
  16. Nov 02, 2022
  17. Oct 27, 2022
  18. Oct 25, 2022
  19. Oct 21, 2022
    • Franck Bret's avatar
      Conda: Anaconda packages archive loader · e7ba6316
      Franck Bret authored
      For each origin it takes advantage of 'artifacts' data send through
      'extra_loader_arguments' of the conda lister, providing versions,
      archive url, checksum, etc.
      Author extracted from intrinsic metadata.
      
      Related T4579
      e7ba6316
  20. Oct 18, 2022
  21. Oct 17, 2022
  22. Oct 11, 2022
  23. Oct 07, 2022
  24. Oct 05, 2022
    • Antoine R. Dumont's avatar
      {Cnt|Dir}Loader: Fix standard/nar hash mismatch behavior to fail loading · 8aa6dab7
      Antoine R. Dumont authored
      Prior to this commit, there was a discrepancy between the hash mismatch computations
      with "standard" and "nar" computations. This commit fixes the gap between those.
      
      When a hash mismatch occurs, either "nar" or "standard", the issue is caught and the
      next mirror url is checked. At the end of it all, if nothing is loaded and errors
      exist, this is raised. This fails the visit.
      
      This also adds the missing tests.
      
      Related to T3781
      Verified
      8aa6dab7
    • Antoine R. Dumont's avatar
      DirectoryLoader: Check nar hashes when provided · 4d51ad99
      Antoine R. Dumont authored
      The lister now provides the "checksums_computation". This is either "standard" (for most
      cases as in bare checksums on the object retrieved) or "nar" for some edge case. In that
      case the computation is delegated to the "nix-store" command (which should be present in
      the system running the loading).
      
      This adapts the directory loader to deal with this case.
      
      No work has been done for the ContentLoader yet besides failing the case if a call
      happens with such case.
      
      Related to T3781
      Verified
      4d51ad99
  25. Oct 04, 2022
  26. Oct 03, 2022
Loading