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
- Branch
- master
- Lint
Lint Skipped - Unit
Unit Tests Skipped - Build Status
Buildable 27002 Build 42218: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 42217: arc lint + arc unit
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 T3677
Link 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 T3677
See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/709/ for more details.