Skip to content
Snippets Groups Projects
  1. Nov 22, 2024
  2. Sep 24, 2024
  3. Sep 23, 2024
  4. Aug 27, 2024
  5. Jul 10, 2024
  6. May 30, 2024
  7. May 15, 2024
  8. Mar 29, 2024
  9. Mar 06, 2024
    • Jérémy Bobbio (Lunar)'s avatar
      Add and implement SearchInterface.origin_delete() · 0bcded86
      Jérémy Bobbio (Lunar) authored
      To enable `swh alter removal` to fully remove origins from the archive,
      we need to be able to remove origins from ElasticSearch.
      
      As ElasticSearch indexes a document per origin, referenced by the origin
      URL, removing references to an origin is as simple as removing the
      associated document.
      
      Closes #4652
      v0.19.0
      0bcded86
  10. Feb 20, 2024
    • David Douard's avatar
      setup: fix editable install (again) · c7270281
      David Douard authored
      Fix a "typo" in paths returned by get_output_mapping()...
      v0.18.2
      c7270281
    • David Douard's avatar
      setup: fix editable install · 92917a17
      David Douard authored
      Add missing links in editable install to parser source files generated
      by tree-sitter.
      
      Since the Translator can build the extension on the fly, this should
      work ok for strict editable install.
      
      Note that this also fixes the building of the sdist package, including
      generated files to build the tree-sitter parser extension.
      
      Thanks to lunar for this solution.
      v0.18.1
      92917a17
  11. Feb 19, 2024
  12. Feb 15, 2024
    • Antoine Lambert's avatar
      interface: Update origin_search to return visits info of origins · 9b2a6e66
      Antoine Lambert authored
      Previously, origin_search was only returning a list of dict containing
      a single url field. From now on, the list of visit types and a boolean
      indicating if an origin was visited by SWH are also included in each
      returned origin dict.
      
      The purpose of that change is to enable the webapp to exploit the list
      of visit types associated to an origin when searching for origins.
      
      Related to swh-web#4786.
      v0.18.0
      9b2a6e66
  13. Feb 05, 2024
  14. Dec 04, 2023
  15. Dec 03, 2023
  16. Nov 29, 2023
  17. Nov 16, 2023
  18. Oct 19, 2023
    • Antoine Lambert's avatar
      query_language: Remove hardcoded list of origin visit types · 1dd8e8bb
      Antoine Lambert authored
      There is no easy way to get that list dynamically as the query language
      parser code in C is generated when building the swh-search Python package
      and not at runtime.
      
      So prefer to remove that harcoded list of visit types as it must updated
      each time a new visit type is added in the archive or searching for such
      visit type will fail.
      1dd8e8bb
  19. Sep 06, 2023
    • Antoine Lambert's avatar
      tests: Remove unittest use and migrate to pytest · 3a8b3990
      Antoine Lambert authored
      Remove test cases inheritance of unittest.TestCase in order to benefit
      from all pytest features like fixtures and parametrize.
      
      Migrate tests setup and teardown to pytest style.
      
      Remove no longer needed hypothesis use.
      3a8b3990
  20. Jul 21, 2023
    • Antoine Lambert's avatar
      setup.py: Fix editable install with setuptools >= 64 · ff807565
      Antoine Lambert authored
      The way editable installs are handled by setuptools has changed since
      release >= 64 and the custom develop command in setup.py is no longer
      called. As a consequence, the tree-sitter parser code generation was
      no longer executed when performing an editable install and runtime
      error was raised when executing the swh-search backend.
      
      So use proper way to handle editable install with latest setuptools and
      ensure backward compatibility with older versions.
      v0.16.5
      ff807565
  21. Jul 07, 2023
  22. Jun 28, 2023
  23. Feb 26, 2023
  24. Feb 17, 2023
  25. Feb 16, 2023
  26. Feb 02, 2023
  27. Dec 19, 2022
  28. Oct 18, 2022
  29. Oct 10, 2022
  30. Oct 07, 2022
Loading