- Oct 25, 2024
-
-
David Douard authored
It's now expected the sql/ directory to live in the module implementing the swh.core.db based backend.
-
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).
-
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).
-
- Oct 24, 2024
-
-
vlorentz authored
rdflib implicitly sets xsd:integer as the type of Literal(42); while the ActivityStream specification requires a xsd:nonNegativeInteger here. This was highlighted by a bugfix in rdflib 7.1.0, as previous versions omitted serializing the "default" datatype corresponding to the Python type of the literal value when writing in JSON-LD.
-
David Douard authored
This is only a workaround until these tests are properly fixed. They should probably be converted as actual (py)tests; it would make it easier to support these types of breakage due to formatting changes in rdflib...
-
- Sep 12, 2024
-
- Aug 30, 2024
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Aug 27, 2024
-
-
David Douard authored
-
- Aug 02, 2024
- Jul 15, 2024
-
-
- Jun 13, 2024
-
-
Antoine Lambert authored
Catch parsing error exceptions when attempting to parse a codemeta document in XML or JSON then print error log and return None.
-
- May 19, 2024
-
- May 15, 2024
-
-
Pierre-Yves David authored
-
Pierre-Yves David authored
-
- May 13, 2024
-
-
vlorentz authored
-
- Apr 22, 2024
-
-
Nicolas Dandrimont authored
-
- Mar 29, 2024
-
-
David Douard authored
-
- Mar 27, 2024
-
-
Antoine Lambert authored
Since the release of pytest 8.1, some pytest options are no longer needed and editable install can be used when running tests using tox.
-
- Feb 09, 2024
-
-
Antoine Lambert authored
-
- Feb 05, 2024
-
-
Antoine Lambert authored
Related to swh/meta#5075.
-
- Feb 02, 2024
-
-
Nicolas Dandrimont authored
-
- Jan 17, 2024
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
Most other journal clients use this configuration key
-
Nicolas Dandrimont authored
-
- Jan 16, 2024
-
- Jan 11, 2024
-
- Jan 10, 2024
-
-
Antoine Lambert authored
Celery tasks for indexer were removed so we also need to stop referencing them in the swh.workers entrypoint.
-
- Jan 05, 2024
-
-
vlorentz authored
-
- Dec 14, 2023
-
- Dec 05, 2023
-
-
David Douard authored
-
- Dec 04, 2023
-
-
David Douard authored
And replace comment type annotations by explicit ones.
-
- Dec 03, 2023
-
-
David Douard authored
-
- Nov 29, 2023
-
-
David Douard authored
-
- Nov 22, 2023
-
-
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.
-
- Nov 21, 2023
-
- Nov 08, 2023
-
-
David Douard authored
So that we can get rid of indexer task types being created by swh-schedulers' sql init scripts.
-
- Oct 26, 2023
-
-
vlorentz authored
-
- Oct 18, 2023
-
-
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.
-