Skip to content

Place meta/sdk.yaml at the beginning of the SDK tarball - #301

Open
jonathan-conder wants to merge 3 commits into
mainfrom
chore/optimize-meta-extract
Open

jonathan-conder wants to merge 3 commits into
mainfrom
chore/optimize-meta-extract

Conversation

@jonathan-conder

@jonathan-conder jonathan-conder commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

This enables tools using tar --occurrence=1 to extract the metadata quickly.

Also fixes the QA workflow and removes the deprecated publish script.


Docs

  • I have checked and added or updated relevant documentation.
  • I have checked and added or updated relevant release notes.
  • I have included the technical author in the review.

Or:

  • I confirm the PR has no implications for documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused ordering change is correct, with only an optional regression-test improvement remaining.

1 open issue
What changed in this PR

Prioritizes SDK metadata in the tarball so tools using tar --occurrence=1 can extract it quickly.

Changes:

  • Places meta before other top-level archive entries.
  • Adds an integration assertion for metadata-first ordering.
File Description
tests/​integration/​test_application.py Checks the first two archive members.
sdkcraft/​services/​package.py Prioritizes meta when ordering archive entries.

Review effort: Balanced

Comment thread tests/integration/test_application.py Resolved
@jonathan-conder
jonathan-conder force-pushed the chore/optimize-meta-extract branch from 533cdbc to 82e041e Compare October 21, 2026 02:04
@jonathan-conder
jonathan-conder force-pushed the chore/optimize-meta-extract branch from 82e041e to 7a029b6 Compare October 21, 2026 02:32
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