Skip to content

refactor(exporter): reorganize record export flow - #1424

Open
slint wants to merge 1 commit into
zenodo:masterfrom
slint:exporter-staged-dual-format
Open

refactor(exporter): reorganize record export flow#1424
slint wants to merge 1 commit into
zenodo:masterfrom
slint:exporter-staged-dual-format

Conversation

@slint

@slint slint commented Aug 11, 2026

Copy link
Copy Markdown
Member

AI disclosure: I directed this refactor with Codex and reviewed the resulting diff in detail. AI wrote pretty much most of the move, new implementations, and tests. I had to go through many iterations though, referencing the legacy Zenodo exporter module, and getting the right naming and "split" between the different concepts.

  • Split the logic from the Celery task into separate files. Some part of
    the design was borrowed from the legacy Zenodo exporter module.
  • Produce multiple export formats from one record scan.
  • Use a temporary "staging" file(s) to write the archive(s) before creating
    the final published ObjectVersion(s).

* Split the logic from the Celery task into separate files. Some part of
  the design was borrowed from the legacy Zenodo exporter module.
* Produce multiple export formats from one record scan.
* Use a temporary "staging" file(s) to write the archive(s) before creating
  the final published ObjectVersion(s).
@slint
slint force-pushed the exporter-staged-dual-format branch from 1938046 to 098aa09 Compare August 13, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant