Repository navigation
locate the original source of DCLX archives by relationship - #239
Merged
Merged
Conversation
vagenas
force-pushed
the
archive-source-relationship
branch
2 times, most recently
from
November 19, 2026 10:46
a7029a7 to
55de252
Compare
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
vagenas
force-pushed
the
archive-source-relationship
branch
from
November 19, 2026 13:28
55de252 to
dbbaf6b
Compare
vagenas
marked this pull request as ready for review
November 19, 2026 13:31
PeterStaar-IBM
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Locate the original source of a DCLX archive by a package relationship instead of a fixed part name.
Spec (Annex B)
_rels/.relsrelationshiphttp://doclang.ai/ns/package/2026/relationships/source. It must be internal and have a content type./source.<ext>(up to two extensions, e.g./source.tar.gz),/source, or an existing part (e.g.audio/1.mp3) with no second copy.…/source-metadatarelationship,application/vnd.doclang.source-metadata+xml) recording the original file name, allowed only together with the source.Packer
--source FILEstores the original assource.<ext>, or reuses the part if the same file is already packed (e.g. as--audio).--keep-source-namerecords the file's own name;--source-name NAMErecords another one (mutually exclusive).[Content_Types].xmldeclares only the extensions actually present.pack(..., source=..., source_name=...).Validator
sourceroot element in its namespace and comes with a source. The source's content type is checked with that of every other part.Migration
source.<ext>instead of being dropped.