- Jul 18, 2022
-
-
vlorentz authored
'document' is a typed dict, which mypy does not seem to allow here
- May 06, 2022
- 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 29, 2022
- 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 29, 2022
- 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 07, 2022
- 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 12, 2022
- 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.
-