Skip to content

Handle mixed Windows path separators in portable vector exports - #78

Merged
wshlavacek merged 1 commit into
mainfrom
fix/windows-archive-spellings
Dec 4, 2026
Merged

wshlavacek merged 1 commit into
mainfrom
fix/windows-archive-spellings

Conversation

@wshlavacek

Copy link
Copy Markdown
Collaborator

Changes

A Windows publishing workspace can record the same archive with forward slashes in its input history and backslashes in the paper's source URI. Portable export treated those spellings as separate archives and rejected the release when their download names matched.

Normalize the archive portion of Windows paths during source lookup. Keep each tar member name and the original URI used to verify publication status. Matching input-history entries for the same paper are exported once. Conflicting owners and genuinely different archive versions still produce an error.

Verification

The regression exercises recorded and relocated legacy archives with mixed Windows separators. It checks that export publishes one archive and that restore reuses the released vectors and preserves the retraction metadata.

Signed-off-by: Bill Hlavacek <hlavacek@lanl.gov>
@wshlavacek
wshlavacek merged commit 0ab4dbd into main Dec 4, 2026
4 checks passed
@wshlavacek wshlavacek mentioned this pull request Dec 5, 2026
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