Skip to content
Snippets Groups Projects
  1. Jan 06, 2023
  2. Jun 09, 2021
  3. May 18, 2021
    • vlorentz's avatar
      azure: Specialize get_batch() to fetch objects concurrently · 09fea27d
      vlorentz authored
      The default implementation is a naive 'for' loop calling 'get'
      sequentially.
      
      This replaces this default implementation with a local asyncio loop,
      which manages a task for each of the blobs to fetch.
      
      To avoid code duplication, this also rewrites 'get' to use the same
      code as 'get_batch'. Quick benchmarks did not show a noticeable
      slowdown when doing this.
      09fea27d
  4. May 17, 2021
  5. Apr 26, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · 326fcef4
      Antoine Lambert authored
      Enable to check package documentation can be built without producing
      sphinx warnings.
      
      The sphinx environment is designed to be used in continuous integration
      in order to prevent breaking documentation build when committing changes.
      
      The sphinx-dev environment is designed to be used inside a full swh
      development environment.
      
      Related to T3258
      v0.2.3
      326fcef4
  6. Apr 16, 2021
  7. Apr 13, 2021
  8. Jan 05, 2021
  9. Oct 09, 2020
  10. Oct 08, 2020
  11. Oct 02, 2020
  12. Sep 25, 2020
  13. Sep 23, 2020
  14. Sep 17, 2020
  15. Sep 10, 2020
    • David Douard's avatar
      cli: speedup the `swh` cli command startup time · f793e63d
      David Douard authored
      by moving import statements in functions and stop importing
      swh.objstorage.factory.* in swh.objstorage.
      
      Warning: this later breaks a few dependencies that had not updated
      the way they import get_objstorage.
      
      Related to T2575.
      v0.2.0
      f793e63d
  16. Sep 09, 2020
  17. Aug 25, 2020
  18. Aug 06, 2020
  19. Jun 05, 2020
  20. Jun 04, 2020
  21. May 15, 2020
    • Nicolas Dandrimont's avatar
      Handle TOCTOU in azure objstorage add() · d61fd8af
      Nicolas Dandrimont authored
      There's an unavoidable race condition in the azure objstorage between the
      existence check and upload. When this race condition happens and we upload the
      same blob twice, one of the uploads is rejected with a `ResourceExistsError`.
      
      This change brings the azure objstorage back to idempotence.
      
      Fixes sentry error SWH-STORAGE-G6.
      v0.1.1
      d61fd8af
  22. May 13, 2020
  23. May 04, 2020
  24. Apr 29, 2020
  25. Apr 27, 2020
  26. Apr 20, 2020
  27. Apr 08, 2020
  28. Feb 25, 2020
  29. Feb 18, 2020
  30. Feb 07, 2020
  31. Nov 21, 2019
  32. Nov 20, 2019
  33. Nov 07, 2019
Loading