This introduces a new check about the metadata provenance. While it's a suggested field,
it's definitely something that we want deposit clients to send us. So warn when it's not
the case. That does not reject the deposit but it's worth keeping that detail in the
backend.
Details
Details
- Reviewers
moranegg vlorentz - Group Reviewers
Reviewers - Maniphest Tasks
- T3677: Separate origin-source-code and provenance-metadata in the deposit
- Commits
- rDDEP339f7dd390ca: api.checks: Warn when suggested fields are missing from metadata
tox
Diff Detail
Diff Detail
- Repository
- rDDEP Push deposit
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build has FAILED
Patch application report for D7209 (id=26131)
Rebasing onto 40adc8c23b...
Current branch diff-target is up to date.
Changes applied before test
commit b9749edc15f90a63c12f47e022a92eecf27161e6
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Mon Feb 21 15:26:13 2022 +0100
api.checks: Warn when suggested fields are missing from metadata
This introduces a new check about the metadata provenance. While it's a suggested field,
it's definitely something that we want deposit clients to send us. So warn when it's not
the case. That does not reject the deposit but it's worth keeping that detail in the
backend.
Related to T3677Link to build: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/707/
See console output for more information: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/707/console
Comment Actions
Rework commit and fix tests (i had forgotten to run all tests on that code ¯\_(ツ)_/¯)
Comment Actions
Build is green
Patch application report for D7209 (id=26136)
Rebasing onto 40adc8c23b...
Current branch diff-target is up to date.
Changes applied before test
commit 339f7dd390ca8cbe8e79a77a1bc2e3c704d5f3f1
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Mon Feb 21 15:26:13 2022 +0100
api.checks: Warn when suggested fields are missing from metadata
This introduces a new check about the metadata provenance. While it's a suggested field,
it's definitely something that we want deposit clients to send us. So warn when it's not
the case. That does not reject the deposit but it's worth keeping that detail in the
backend.
Related to T3677See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/709/ for more details.