Skip to content

Keep optional package resources optional with package-dir - #338

Merged
JohnAmadis merged 1 commit into
developfrom
fix/package-dir-optional-resources
Oct 19, 2026
Merged

JohnAmadis merged 1 commit into
developfrom
fix/package-dir-optional-resources

Conversation

@JaxCalder

Copy link
Copy Markdown
Contributor

Installing existing release packages with --package-dir failed when their .dmr declared optional documentation that was absent from the archive (observed with dmhaman in a dmod-boot build). Previously these resources were warned about and skipped.

Restore that behavior for missing optional resources while retaining failures for explicitly requested licenses and module binaries. Errors writing resources still fail installation. Extend the package-directory integration fixture with an absent optional resource.

Validation: native dmf-get build and the full dmf-get integration suite passed. The dmod-boot module downloads also completed with this fix.

@JohnAmadis
JohnAmadis merged commit 071c24c into develop Oct 19, 2026
6 checks passed
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.

2 participants