- Feb 23, 2023
-
-
Antoine Lambert authored
It also enables to remove the version restriction on psycopg2. Related to swh/infra/sysadm-environment#4772
-
- Feb 17, 2023
-
-
Antoine Lambert authored
Related to swh/meta#4960
-
- Oct 27, 2022
-
-
vlorentz authored
-
- Aug 05, 2022
-
-
Antoine R. Dumont authored
-
- Jul 19, 2022
-
-
vlorentz authored
-
- May 25, 2022
-
- May 02, 2022
-
-
Benoit Chauvet authored
-
- Apr 11, 2022
-
-
Antoine Lambert authored
Those are not really of interest and generate a lof of noise when executing django development server.
-
Antoine Lambert authored
Add new private API endpoint /1/private/deposits/datatables/ to list and filter deposits whose responses are intended to be consumed by datatables javascript framework used in deposits admin Web UI. Originally that view was implemented in swh-web but for performance reasons it has been decided to move it in swh-deposit, swh-web will then simply forward the HTTP request to swh-deposit. Related to T3128
-
- Apr 08, 2022
-
-
Antoine Lambert authored
Related to T3922
-
- Apr 07, 2022
-
-
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
-
- 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 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
-
-
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
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
This fixes crashes when running 'pytest -k migration', because swh/deposit/tests_migration/ lacks a conftest to initialize the database.
-
- Feb 24, 2022
-
-
Antoine R. Dumont authored
This will refuse the metadata-only deposit if the metadata provenance does not match. This is doing a similar check already done when doing deposit with origin url mismatching that same (client) provider url. Related to T3677
-