d3fend
Theme
Text size
GitHub Menu

Move to another edition

Playbook how-to playbooks/update-upstream-pins

Nobody has checked this yet

still a draft

Written 2026-11-04 by ktl-librarian (automation).

The full record
Checks
none recorded
Sources
References
Graph
Open this concept in the knowledge graph
IRI
https://w3id.org/lmodel/d3fend/knowledge/playbooks/update-upstream-pins
Licence
CC BY 4.0
Files
Markdown JSON-LD Source on GitHub History on GitHub
  1. Read the watch’s report and D3FEND’s changelog. A person decides whether the schema moves.1
  2. Put the new Turtle in upstream/, and move the pins in scripts/check_upstream_release.py.1
  3. Move the version, source and annotations in each schema header. tests/test_upstream.py holds them equal to the pins.2
  4. Run just gen-schema. The script stops on a predicate it does not know.3
  5. Run just test. tests/test_coverage.py fails on each new axiom, and tests/test_catalogue.py on each kind whose count moved.4

  1. scripts/check_upstream_release.py, the pins ↩︎ ↩︎

  2. tests/test_upstream.py, test_every_module_names_the_pinned_edition ↩︎

  3. scripts/d3fend_to_linkml.py, the docstring ↩︎

  4. tests/test_coverage.py, the docstring ↩︎