Applicability · Subject kind
deposit tool
Subject kind: deposit tool. 1 standard and 15 requirements of the register apply, read from the conformance target of each requirement in the register (registry/requirements.yaml target). Working drafts, not for implementation.
Стандарты
| Стандарт | Название | Статус | Версия | Требования |
|---|---|---|---|---|
| NS-8 | Рабочий процесс публикации в Zenodo с правовой контрольной точкой, обратной записью DOI и архивированием в Software Heritage | Proposed draft, not yet reviewed | 0.1.2 | 30 |
Требования
NS-8 Zenodo publishing workflow with legal gate, DOI write-back, Software Heritage archival
| Требование | Положение | Форма | Текст | Применяется к | How it is checked |
|---|---|---|---|---|---|
| NS8-R1 permalink | 4.1 | обязан | A deposit tool shall refuse to build a deposit for a record whose legalState is not APPROVED. | deposit tool | automatednode --test --test-name-pattern="^the gate refuses each failed condition" test/doi-deposit.test.mjs |
| NS8-R13 permalink | 6.1 | обязан | A deposit tool shall build the deposit of a new version of a deposited record as a new version of the concept DOI recorded for that record. | deposit tool | demonstrationconformance/procedures/ns-8.yaml#NS8-R13/1 |
| NS8-R14 permalink | 6.2 | обязан | Withdrawn in version 0.1.1; the identifier is kept (NS4-R12). See the NOTE of this clause. | deposit tool | automated |
| NS8-R2 permalink | 4.2 | обязан | A deposit tool shall refuse to build a deposit for a record whose rights.accessRight is neither open nor embargoed. | deposit tool | automatednode --test --test-name-pattern="^the gate refuses each failed condition" test/doi-deposit.test.mjs |
| NS8-R22 permalink | 8.4 | обязан | A deposit tool shall use the sandbox environment of the deposit service unless the caller names the production environment. | deposit tool | automatednode --test --test-name-pattern="^embargoed passes, production uses the production base, no environment means sandbox" test/doi-deposit.test.mjs |
| NS8-R25 permalink | 9.3 | обязан | Withdrawn in version 0.1.1; the identifier is kept (NS4-R12). See the NOTE of this clause. | deposit tool | inspectionconformance/assessments/NS/NS8-R25.json#NS8-R25 |
| NS8-R28 permalink | 11.1 | обязан | A deposit tool shall offer a dry-run mode that builds the deposit metadata without calling the deposit service. | deposit tool | automatednode --test --test-name-pattern="^NS8-R28:" test/doi-deposit.test.mjs |
| NS8-R29 permalink | 11.2 | обязан | A deposit tool in dry-run mode shall apply the legal gate. | deposit tool | automatednode --test --test-name-pattern="^the gate refuses each failed condition" test/doi-deposit.test.mjs |
| NS8-R3 permalink | 4.3 | обязан | Withdrawn in version 0.1.1; the identifier is kept (NS4-R12). See NOTE 3. | deposit tool | automated |
| NS8-R30 permalink | 11.3 | обязан | Withdrawn in version 0.1.1; the identifier is kept (NS4-R12). See the NOTE of this clause. | deposit tool | automated |
| NS8-R4 permalink | 4.4 | обязан | Withdrawn in version 0.1.1; the identifier is kept (NS4-R12). See NOTE 3. | deposit tool | automated |
| NS8-R5 permalink | 4.5 | обязан | A deposit tool shall state, for each refusal under NS8-R1 or NS8-R2, the condition that the record failed. | deposit tool | automatednode --test --test-name-pattern="^the gate refuses each failed condition" test/doi-deposit.test.mjs |
| NS8-R7 permalink | 5.1 | обязан | A deposit tool shall add the keyword nexus-uni:<uni> of the record to the deposit that it builds. | deposit tool | automatednode --test --test-name-pattern="^an APPROVED open record yields metadata with the UNI in keywords and description" test/doi-deposit.test.mjs |
| NS8-R8 permalink | 5.2 | обязан | A deposit tool shall include the UNI of the record in the description of the deposit that it builds. | deposit tool | automatednode --test --test-name-pattern="^an APPROVED open record yields metadata with the UNI in keywords and description" test/doi-deposit.test.mjs |
| NS8-R9 permalink | 5.3 | обязан | A deposit tool shall set the title, version, licence and creators of the deposit that it builds from the same fields of the catalog record, by the mapping of the reference export (node tools/nexus-id.mjs export --format zenodo). | deposit tool | automatednode --test --test-name-pattern="^the dry run agrees with the reference export on title, version, licence and creators" test/doi-deposit.test.mjs |