- May 05, 2022
-
-
Antoine Lambert authored
In that case, the search will match all origins and return them in a paginated way. It also enables to consider all origins when filtering them according to different criterions (visit type for instance). These small changes will enable to improve the search features available in swh-web.
-
- Apr 26, 2022
-
- Apr 25, 2022
-
-
Antoine R. Dumont authored
Without this, the following query fails in the archive [1]. While without specifying anything [2], it works. The following commit should fix the issue with the [1] link. [1] https://webapp.staging.swh.network/browse/search/?q=repo1.maven.org&with_visit=true&with_content=true&visit_type=maven [2] https://webapp.staging.swh.network/browse/search/?q=repo1.maven.org&with_visit=true&with_content=true
-
Antoine Lambert authored
elasticsearch 7.17.3 uses JDK >= 18 which changed the value of "java.security.manager" property to "disallow". As a consequence a "java.lang.UnsupportedOperationException" is now raised when bootstrapping elasticsearch server used in tests. So explicitely set the "java.security.manager" property to "allow" to avoid that exception raising when elasticsearch setups its custom security manager. Closes T4192
-
- 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.
-
- 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 07, 2022
-
-
Kumar Shivendu authored
-
- 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 28, 2022
- 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.
-
- Mar 03, 2022
-
- Feb 16, 2022
- Feb 14, 2022
-
- Feb 11, 2022
-
-
vlorentz authored
This will allow us to implement better exception handling in swh-web, instead of erroring with HTTP 500
-
- 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 11, 2022
-
- Jan 10, 2022
-
-
Vincent Sellier authored
Related to T3838
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also: - drops spurious copyright headers to those files if present. - add missing iso8601 runtime dependency Related to T3812
-
- Dec 13, 2021
-
-
Antoine Lambert authored
Since we are not using the elasticsearch startup script, we must explicitely set the LIBFFI_TMPDIR environment variable or elasticsearch will fail to start. See https://www.elastic.co/guide/en/elasticsearch/reference/current/executable-jna-tmpdir.html Closes T3803
-
- Nov 23, 2021
-
-
Antoine R. Dumont authored
This fixes build [1] [1] https://jenkins.softwareheritage.org/view/swh-draft/job/DSEA/job/tests/972/console
-
- Nov 19, 2021
-
-
Antoine Pietri authored
-
- Oct 26, 2021
-
-
Antoine Lambert authored
Some date values that can be found in codemeta.json files (dateCreated, dateModified, datePublished) might be in a format not parsable by elasticsearch which prevents successfull update of origin intrinsic metadata in elasticsearch indices. For instance, the date 2021-7-23 cannot be parsed by elasticsearch as it expects 2021-07-23 instead. So ensure to properly format CodeMeta dates to avoid such indexing errors.
-
- Sep 29, 2021
-
-
Antoine Lambert authored
New visit types are or will be available in production so we must add them here or we will have an error when searching such origins. Related to T3424
-
- Sep 28, 2021
-
-
Antoine Lambert authored
mypy started to detect an error in that function implementation and it is used nowhere in swh codebase so better removing it.
-
Antoine Lambert authored
Python elasticsearch module forbids use of positional arguments in its latest release (7.15.0) in favor of keyword arguments only.
-
Antoine Lambert authored
Since rDMODf56becc196ed6dd4b211c97096654c4400b047ec, an error is raised when calling that function with a dict containing unexpected keys. So use recommended way to get origin identifier since the function deprecation.
-
Antoine Lambert authored
Side effect of rDMOD57ae405d312879bec19107d29a20c2c290d7861d
-
- Sep 08, 2021
- Sep 07, 2021
-
-
vlorentz authored
This should resolve T3562.
-
- Sep 03, 2021
-
-
Antoine Lambert authored
When installing swh-search in develop mode, tree-sitter node module must be installed in order to generate the parser C file.
-
- Sep 02, 2021
-
-
Antoine Lambert authored
Tree-sitter parser compilation is now handled in setup.py or directly in the code so that file can be removed. It also fixes make test invocation.
-