Skip to content

fix(package): exclude CloudHypervisor README#798

Open
stephenlclarke wants to merge 1 commit into
apple:mainfrom
stephenlclarke:fix-cloudhypervisor-readme-warning
Open

fix(package): exclude CloudHypervisor README#798
stephenlclarke wants to merge 1 commit into
apple:mainfrom
stephenlclarke:fix-cloudhypervisor-readme-warning

Conversation

@stephenlclarke

Copy link
Copy Markdown

Summary

Exclude Sources/CloudHypervisor/README.md from the CloudHypervisor SwiftPM target. The README remains tracked and available as source documentation, while package evaluation and builds no longer emit an unhandled-file warning.

Motivation

apple/containerization#782 added a standalone CloudHypervisor target with a README inside its source directory. SwiftPM requires non-source files in target directories to be declared as resources or excluded. This README is documentation rather than a runtime resource, so exclusion is the smallest accurate manifest change.

Changes

  • Add README.md to the CloudHypervisor target's exclude list.
  • Preserve the existing README content and location.
  • Leave runtime code, products, resources, and package APIs unchanged.

Validation

swift package describe >/dev/null
swift test --disable-automatic-resolution --filter CloudHypervisorTests
make check
git diff --check upstream/main...HEAD
  • Package evaluation completes without the Sources/CloudHypervisor/README.md warning.
  • All 41 focused CloudHypervisorTests pass.
  • Swift formatting and Hawkeye license checks pass.
  • The committed diff has no whitespace errors.

Compatibility And Risk

This manifest-only change does not alter compiled sources, runtime resources, public APIs, or supported platforms. The README is already non-executable documentation, so excluding it accurately records SwiftPM's intended treatment of the file.

Related

Release Note Highlight

SwiftPM otherwise reports Sources/CloudHypervisor/README.md as an unhandled target file after apple#782. Keep the README as source documentation while excluding it from CloudHypervisor target inputs.
stephenlclarke added a commit to stephenlclarke/container-compose that referenced this pull request Jul 11, 2026
Add current issue and PR handoffs for apple/containerization#798 and #799, including validation and release-note highlights. Replace the old copy-lock slugs and historical guidance with the active proposal state.
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