Skip to content
Snippets Groups Projects
  1. Aug 13, 2021
  2. Aug 09, 2021
  3. Aug 06, 2021
  4. Jul 30, 2021
  5. Jul 28, 2021
  6. Jul 26, 2021
    • Kumar Shivendu's avatar
      grammar.js: Segregate sort_by and limit from filters · 05efa541
      Kumar Shivendu authored
      The grammar should not allow using sort_by and limit more than once throughout
      the query.
      
      Unlike other filters, these two must not be concatenated by 'and' or 'or'
      05efa541
    • Kumar Shivendu's avatar
      query_language: Setup tree-sitter and grammar.js · 2edbbbe8
      Kumar Shivendu authored
      This revision defines the grammar for the search query language and
      prepares swh.search for a smoother development of the grammar.
      
      The parsers generated from the proposed grammar serve two different purposes:
      - Translation of search queries into elasticsearch DSL in swh.search (or any
      other search backend that we may use in the future)
      - Autocompletion of the queries in the swh.web (Archive UI)
      
      tree-sitter has been selected for the task because it has bindings for
      python (swh.search) as well as wasm (swh.web).
      2edbbbe8
  7. Jul 23, 2021
    • Nicolas Dandrimont's avatar
      Always flush kafka producers in tests · 122d7caf
      Nicolas Dandrimont authored
      Sometimes, in a very loaded situation, the producer can return and let
      the consumer start before the topic is actually created.
      
      Adding a `producer.flush()` avoids that race condition.
      122d7caf
  8. Jul 22, 2021
  9. Jul 21, 2021
  10. Jul 13, 2021
  11. Jul 05, 2021
  12. Jul 02, 2021
  13. Jun 28, 2021
    • Kumar Shivendu's avatar
      origin_search: Add sort_by feature · 6b1d563d
      Kumar Shivendu authored
      Sorting options are important features of an advanced search interface.
      
      This diff introduces sort_by parameter in origin_search which shall
      facilitate the same.
      6b1d563d
  14. Jun 23, 2021
  15. Jun 17, 2021
  16. Jun 16, 2021
  17. Jun 15, 2021
    • Kumar Shivendu's avatar
      Store nb_visits and last_visit_date · 8b2c87f4
      Kumar Shivendu authored
      swh.storage passes visit count and visit date for each OriginVisitStatus through swh.journal(kafka).
      These two values are good candidates for filters and the sorting feature so this commit provides the code to
      store these values when they are recieved by the swh.search journal client
      8b2c87f4
  18. Jun 14, 2021
  19. Jun 11, 2021
  20. Jun 09, 2021
  21. Apr 29, 2021
  22. Apr 26, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · c4d6fed4
      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.8.1
      c4d6fed4
  23. Apr 13, 2021
  24. Apr 08, 2021
  25. Mar 19, 2021
  26. Mar 04, 2021
  27. Mar 03, 2021
Loading