- Apr 07, 2022
-
-
Antoine R. Dumont authored
Related to T4125
-
Antoine R. Dumont authored
Related to T4125
-
Jenkins for Software Heritage authored
Update to upstream version '1.0.0' with Debian dir ef98ff95dfcbe311b45d9c1e66dbbd416b99ebd2
-
vlorentz authored
Resolves SWH-DEPOSIT-2P <https://sentry.softwareheritage.org/share/issue/b8509b67972f425a8f5c06805f8cf2fe/>
-
vlorentz authored
'metadata_raw' made sense, to discriminate from 'metadata_dict'; but no longer does, now that the latter was removed. Additionally, swh-web expects it to be named 'raw_metadata', so it could never actually get the metadata.
-
- Apr 06, 2022
-
-
vlorentz authored
-
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
-
-
vlorentz authored
-
vlorentz authored
Manually validate <codemeta:affiliation>. Unfortunately, this cannot be validated by codemeta.xsd, because Codemeta has conflicting requirements: 1. https://codemeta.github.io/terms/ requires it to be Text (represented by simple content), but 2. https://doi.org/10.5063/SCHEMA/CODEMETA-2.0 requires it to be an Organization (represented by complex content) See https://github.com/codemeta/codemeta/pull/239 for a discussion about this issue.
-
- 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 21, 2022
- Mar 16, 2022
-
-
Antoine R. Dumont authored
Related to T4013#80910
-
- Mar 15, 2022
-
-
vlorentz authored
Broken by swh-core 0.12.0 (777ea186fa8d31a972ccc15abb7c42297e0a399f)
-
- Mar 08, 2022
-
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
It makes it easier to identify tests when failing + helps git to make readable diffs.
-
Antoine R. Dumont authored
Prior to this, this was fetching all deposits and then for each deposit, query further information. Then return results and let the pagination happen. This now keeps the queryset lazy, the pagination happens and when a page is requested, this fetches further information on the subset required. Related to T4020
-
Antoine R. Dumont authored
-
- Mar 04, 2022
-
-
vlorentz authored
And Make it non-empty in 'GET Cont-IRI'. And remove the legacy <atom:deposit_date> from the 'GET Cont-IRI'. As it was always empty, there is no need to keep it for backward compatibility.
-
- Mar 02, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.17.1' with Debian dir 4692f897cbb5ea087116f1fa739ff240f978abff
-
This function is only used by server-side API checks. Having it defined in the main utils module makes the deposit client transitively depend on Django (via swh.deposit.errors), which does not seem necessary.
- Feb 28, 2022
-
-
Nicolas Dandrimont authored
This function is only used by server-side API checks. Having it defined in the main utils module makes the deposit client transitively depend on Django (via swh.deposit.errors), which does not seem necessary.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
For now, this only checks they aren't just a string
-
vlorentz authored
This only checks the name is a string.
-
vlorentz authored
-
vlorentz authored
For now this increases code complexity, but this will allow addition of other check more easily.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
The leading newline prevented textwrap.dedent from removing them.
-
vlorentz authored
It was never actually tested...
-
vlorentz authored
This fixes crashes when running 'pytest -k migration', because swh/deposit/tests_migration/ lacks a conftest to initialize the database.
-