Skip to content
Snippets Groups Projects
  1. Aug 19, 2022
  2. Aug 08, 2022
    • vlorentz's avatar
      Initialize 'status' before try block · 43597c48
      vlorentz authored
      It seems that despite setting it in the 'except BaseException' block,
      it is still occasionally undefined in the 'finally' block when
      triggered by a SystemExit exception.
      
      This should hopefully prevent UnboundLocalError from
      being raised from the 'finally' block from now on
      43597c48
  3. Aug 03, 2022
  4. Jun 29, 2022
  5. Jun 21, 2022
  6. Jun 17, 2022
    • Franck Bret's avatar
      Arch Linux loader · b6af2638
      Franck Bret authored
      Fetch Arch linux packages from lister discovered origins.
      For each origin it get versions from extra_loader_arguments['artifacts']
      
      Arch Linux package can comes as .xz or .zst file archive.
      Support for .zst (Zstandard compression) has been requested with D7993.
      
      Related to T4233
      b6af2638
  7. Jun 07, 2022
    • Antoine Lambert's avatar
      package/archive: Handle tarball artifact with null time · d925d06e
      Antoine Lambert authored
      An artifact without time info can be provided in the artifacts list
      parameter of the loader (for instance last modification date
      is not available for tarballs coming from github releases).
      
      That case was not handled by the archive loader wich was resulting
      in loading error so add fix for it.
      d925d06e
  8. May 20, 2022
  9. May 16, 2022
    • Antoine Lambert's avatar
      loader: Ensure success is False when entering exception handler · d9a6ba05
      Antoine Lambert authored
      The post_load method of a loader can raise an exception so we must
      ensure to turn back the success variable to False in that case.
      
      For instance, the subversion loader post_load checks that latest
      exported revision is consistent with what the official subversion
      client produces. If it is not an exception will be raised to set
      the visit status to partial.
      v3.4.2
      d9a6ba05
  10. May 13, 2022
  11. May 06, 2022
  12. May 04, 2022
  13. May 03, 2022
    • Antoine Lambert's avatar
      maven: Use most recent release of a package as default version · c06305e7
      Antoine Lambert authored
      artifacts list sent by the lister is not guaranteed to be sorted
      by artifact time so the last element is not necessarily the most
      recent artifact.
      
      So ensure to use the most recent artifact as default version by
      sorting the artifacts by their ISO 8601 date representation
      (designed for lexicographical sort). If a date failed to be
      parsed by the lister (edge case but can happen), the time value
      will be an empty string so the sort operation will not end up
      with error.
      
      Related to T3874
      c06305e7
  14. May 02, 2022
  15. Apr 29, 2022
    • Antoine Lambert's avatar
      crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc · f07890bc
      Antoine Lambert authored
      It makes the whole swh documentation build fails as relative path to the
      JSON file is not the same when building swh-docs, plus sphinx generates
      a link to the Crates API URL enabling to browse the JSON data.
      f07890bc
    • Antoine Lambert's avatar
      package/maven: Fix jar archive download after changes in lister · e449786a
      Antoine Lambert authored
      Maven lister has been updated to create one origin per package and
      group all its versions in it as releases.
      
      Previously a maven origin URL corresponded to a jar archive URL
      while now it corresponds to the page where all versions of a
      package can be found.
      
      So update loader implementation to reflect this change and fix
      jar archives download.
      
      Also update tests after this change and refactor them a bit,
      notably by using fixtures instead of hardcoded tests data.
      
      Related to T3874
      v3.3.0
      e449786a
  16. Apr 28, 2022
  17. Apr 27, 2022
  18. Apr 26, 2022
  19. Apr 22, 2022
  20. Apr 21, 2022
  21. Apr 20, 2022
  22. Apr 19, 2022
  23. Apr 14, 2022
Loading