Skip to content
Snippets Groups Projects
  1. Oct 25, 2024
    • David Douard's avatar
      move sql/ in swh/indexer/storage/ · 24408502
      David Douard authored
      It's now expected the sql/ directory to live in the module implementing
      the swh.core.db based backend.
      24408502
    • David Douard's avatar
      cli: make cli tools use the SWH_CONFIG_FILENAME env var (if any) · cd93e67b
      David Douard authored
      But do not fail if no config file is given by default; required to be able
      to run 'swh indexer mapping list-terms' for example (which is used to build the
      documentation).
      cd93e67b
    • David Douard's avatar
      Declare indexer storage backends in the swh.indexer.storage.classes entry point · b681d147
      David Douard authored
      Normalize the indexer storage db for swh.core 3.6 with improved `swh db` handling
      capabilities.
      
      Remove storage/test_init.py, it's now outdated.
      
      Warning: this rename the config entry for indexer storages from
      'indexer_storage' to 'indexer.storage'. Bw compat core handle this when
      loading the configuration for indexer cli tools and the api server only;
      generic loading mechanism will not handle the old name properly
      (i.e. when managing the storage db using `swh db` commands).
      b681d147
  2. Oct 24, 2024
  3. Sep 12, 2024
  4. Aug 30, 2024
  5. Aug 27, 2024
  6. Aug 02, 2024
  7. Jul 15, 2024
  8. Jun 13, 2024
  9. May 19, 2024
  10. May 15, 2024
  11. May 13, 2024
  12. Apr 22, 2024
  13. Mar 29, 2024
  14. Mar 27, 2024
  15. Feb 09, 2024
  16. Feb 05, 2024
  17. Feb 02, 2024
  18. Jan 17, 2024
  19. Jan 16, 2024
  20. Jan 11, 2024
  21. Jan 10, 2024
  22. Jan 05, 2024
  23. Dec 14, 2023
  24. Dec 05, 2023
  25. Dec 04, 2023
  26. Dec 03, 2023
  27. Nov 29, 2023
  28. Nov 22, 2023
    • Antoine Lambert's avatar
      tasks: Fix registration in scheduler database · 9084a5fb
      Antoine Lambert authored
      Docstring is mandatory for a celery task function as its value
      is inserted in the required description column of the task_type
      table in the scheduler database.
      
      Celery task function name is also used as task name (with underscores
      replaced by dashes) so ensure task function names match the task types
      registered in production scheduler database.
      v2.11.1
      9084a5fb
  29. Nov 21, 2023
  30. Nov 08, 2023
  31. Oct 26, 2023
  32. Oct 18, 2023
    • Antoine Lambert's avatar
      metadata_dictionary/base: Compare metadata filenames in lowercase · c60a72d5
      Antoine Lambert authored
      SingleFileIntrinsicMapping.detect_metadata_files was comparing lowercase
      versions of filenames with SingleFileIntrinsicMapping.filename variable
      value to detect metadata files.
      
      But as SingleFileIntrinsicMapping.filename holds the canonical name of a
      metadata file it can contain uppercase characters.
      
      So ensure to compare lowercase versions of both filenames to avoid metadata
      files being undetected.
      
      This fixes indexing of Python intrinsic metadata.
      c60a72d5
Loading