Skip to content
Snippets Groups Projects
  1. Mar 12, 2025
  2. Feb 28, 2025
  3. Feb 25, 2025
    • Martin Kirchgessner's avatar
      New configuration option: use a compressed graph to build the folder structure. · 4185f757
      Martin Kirchgessner authored
      This abstracts methods needed for
      
      * folder structure creation, behind `GraphBackend`, and
      * BLOB access, behind `ObjBackend`.
      
      Former methods have been bundled in `WebApiBackend`, which implements both interfaces.
      
      This MR also introduces a new `GraphBackend`: `CompressedGraphBackend`. It can be enabled via configuration. It's accessed and tested via its gRPC interface - tests rely directly on data in `swh.graph`.
      
      Existing tests have been moved to `tests/graph`. I also changed the `fuse_mntdir` fixture so it starts FUSE as a thread instead of a sub-process. That way, we can see its log and exceptions' stacktraces if needed, which happens often as that FUSE process is what we're actually testing.
      
      The implementation is as robust as possible against the variation of data available at all nodes/edges, while keeping the possibility to plug different backends.
      4185f757
  4. Feb 17, 2025
  5. Sep 02, 2024
  6. Aug 30, 2024
  7. Aug 27, 2024
  8. Mar 29, 2024
  9. Feb 05, 2024
  10. Dec 05, 2023
  11. Dec 01, 2023
  12. Nov 28, 2023
  13. Jul 07, 2023
  14. May 11, 2023
  15. Feb 23, 2023
  16. Feb 17, 2023
  17. Feb 16, 2023
  18. Feb 02, 2023
  19. Dec 19, 2022
  20. Oct 18, 2022
  21. May 09, 2022
  22. Apr 26, 2022
  23. Apr 21, 2022
  24. Apr 08, 2022
  25. Mar 30, 2022
  26. Mar 22, 2022
    • Antoine Lambert's avatar
      pytest: Exclude build directory for tests discovery · 3235f05c
      Antoine Lambert authored
      Due to test modules being copied in subdirectories of the
      build directory by setuptools, it makes pytest fail by raising
      ImportPathMismatchError exceptions when invoked from root
      directory of the module.
      
      So ignore the build folder to discover tests.
      3235f05c
  27. Feb 10, 2022
  28. Jan 19, 2022
  29. Dec 16, 2021
  30. Oct 18, 2021
  31. Oct 05, 2021
  32. Jun 09, 2021
Loading