Loading…
Reference in a new issue
No description provided.
Delete branch "fix/990-binned-not-exported"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #830. Closes #990. Two changes to the campaign export and import, in one PR because the second is built on the first.
#830: prep sheets, story arcs and the shelf travel
The export carried none of them, so a GM moving a campaign lost their prep and table setup. Schema version 15, additive; v2–14 files import as before, and a missing, empty or malformed section is skipped row by row.
story_arcs: live arcs.prep: one sheet per session with a sheet or beats (includingsessions.beat_notes), its plan, and its items, "For later" included.shelf: scenes (empty ones too), pins with their whole span, cards (including ones taken off a shelf, which still stand for their pin), a rules creature's HP and conditions, and reveals.New module
app/services/prep_shelf_archive.py, in the shape ofdiscussion_archive.py.References and audiences
#990: what is in the bin does not travel
The export selected wiki pages with no
deleted_atfilter and the import never set it, so a page a GM binned came back live, readable by players of the new campaign.wiki/*.mdandmedia/lore/.A file exported before this fix may still hold binned pages, which nothing can detect; the docs say so and recommend exporting again. Whether the bin should instead travel into the new campaign's bin is question X1.
Also
tests/wiki/test_title_readers.py(from #877) flagged the new module's two.titlereads on merge; both are now classified (an arc's own title; a reveal's, already the table's).docs/API.md: the export's section now describes the new sections and the bin rule, and its stale "schema version 13" is corrected.Follow-ups filed
Checked
tests/exportandtests/wiki, 596 passed.🤖 Generated with Claude Code