- May 09, 2022
-
-
Pratyush authored
-
- May 02, 2022
-
-
Benoit Chauvet authored
-
- Apr 26, 2022
-
-
vlorentz authored
-
- Apr 21, 2022
-
-
Antoine Lambert authored
That hook can be frustrating as it can discard a long commit message if it finds a typo in it so better removing it.
-
Satvik authored
-
- Apr 19, 2022
-
-
Satvik authored
-
- Apr 08, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Related to T3922
-
Antoine Lambert authored
black is considered stable since release 22.1.0 and the version we are currently using is quite outdated and not compatible with click 8.1.0, so it is time to bump it to its latest stable release. Please note that E501 pycodestyle warning related to line length is replaced by B950 one from flake8-bugbear as recommended by black. https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length Related to T3922
-
- Apr 06, 2022
-
-
Antoine Lambert authored
pytest-postgresql 3.1.3 and pytest-redis 2.4.0 added support for pytest >= 7 so we can now drop the pytest pinning.
-
- Mar 22, 2022
-
-
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.
-
- Feb 24, 2022
-
-
David Douard authored
- add the `get_datastore` function in `swh.indexer` - add the `get_current_version` method in `IndexerBackend`, - remove dbversion management from sql init script - update tests accordingly
-
vlorentz authored
-
- Feb 10, 2022
-
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
- Feb 07, 2022
-
-
Antoine R. Dumont authored
Related to T3916
-
- Jan 21, 2022
-
-
vlorentz authored
-
- Jan 11, 2022
-
-
vlorentz authored
A future release of swh-model will change its constructor's signature (replace 'offset' and 'negative_utc_offset' with 'offset_bytes).
- Dec 21, 2021
-
-
Vincent Sellier authored
Related to T3815
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also: - drops spurious copyright headers to those files if present. - drops a no longer relevant type ignore - add another type ignore (to fix later) Related to T3812
-
- Jun 09, 2021
-
-
Antoine R. Dumont authored
-
- May 28, 2021
-
-
Antoine R. Dumont authored
This fixes error instances [1] [1] https://sentry.softwareheritage.org/share/issue/a5869f724a244fdab2e1cb0303a12fc1/
-
Antoine R. Dumont authored
This fixes occurrences of [1] [1] https://sentry.softwareheritage.org/share/issue/4b92519efe2a4ddd9455f0d600a614b9/
-
- May 06, 2021
-
-
vlorentz authored
It renamed db_name to dbname, which is a breaking change.
-
- Apr 26, 2021
-
-
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
-
- Apr 02, 2021
-
-
Kumar Shivendu authored
The implementation is based on output from cff-converter python library. Deviation has been made for license and organisation.legalName(replaced with organisation.name)
-
- Mar 19, 2021
-
-
Kumar Shivendu authored
codemeta dir was updated last time in Jan 2019. In this commit crosswalk.csv, CITATION and codemeta.jsonld have been updated.
-
- Mar 06, 2021
-
-
Kumar Shivendu authored
-
- Mar 01, 2021
-
-
Kumar Shivendu authored
Add testcase to detect CODEMETA.json
-
- Feb 01, 2021
-
-
vlorentz authored
Simpler code and less error-prone.
-
vlorentz authored
self._index_contents was called multiple times in a loop with the same arguments, except for the set of hashes to exclude. It means that, if there were N pages of hashes to exclude, each content was indexed N times; and the N-1 first iterations didn't even exclude all the hashes they had to exclude.
- Jan 04, 2021
-
-
David Douard authored
-
- Dec 04, 2020
-
-
Antoine R. Dumont authored
The reason for this is to avoid surprises like the indexer journal client stuck in limbo for a while. Related to T2821 Related to T2814
-
- Dec 02, 2020
-
-
Antoine R. Dumont authored
Related to D4638
-
Antoine R. Dumont authored
This detected some paper cuts within cli tests for example. The main goal is to decrease friction when actually deploying indexer related services (backend, indexers, ...). The pg backends tests should still be reasonably fast as it's using the swh.core.db.pytest_plugin (which truncate tables in between tests). Related to T2821
-
- Nov 27, 2020
-
-
Antoine R. Dumont authored
According to the value_sanitizer docstring, this takes 2 parameters, first is the object type, the second is the actual dict value to sanitize. As a somewhat default identity function, this discards the object type and returns directly the dict value unchanged. [1] https://forge.softwareheritage.org/source/swh-journal/browse/master/swh/journal/writer/kafka.py$97-100
-
vlorentz authored
It will become mandatory in a future version.
-
vlorentz authored
This always happens when writing to Kafka, as the Kafka writer sets it to None at the same it it injects the 'tool' data. This was not caught by tests because they use the in-mem writer; which did not call unique_key() at all in swh-journal<=v0.5.1 (but future versions will).
-
Antoine R. Dumont authored
This fixes the indexer debian package build.
-