← Back to issue list

Backport to 1.x: Copy entire source, even if source-subdir is specified.

View original Github issue

Metadata

Project
snapcraft
Number
#349
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged into 1.x via #349, backporting #344 so Snapcraft copies the entire fetched source while using source-subdir to select the build directory.

Resolution: closed resolved

Reason: PR #349 was merged as the 1.x backport of merged PR #344. The underlying fix is commit 6beb6fec6, which copies all source content and builds from the selected subdirectory.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Backport of #344 for 1.x.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged into 1.x via #349, backporting #344 so Snapcraft copies the entire fetched source while using source-subdir to select the build directory.
stealth/space-bunny-alpha — closed resolved Merged 1.x backport of #344, ensuring the entire source is copied even when source-subdir is specified.
qwen/qwen3.6-35b-a3b — — Merged backport of #344 to the 1.x branch. The change copies the entire source directory regardless of the source-subdir setting, updating two files with 33 additions and 38 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged to the 1.x branch as a backport of PR #344, ensuring the entire source directory is copied regardless of the source-subdir setting.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#344 (confidence 100%)

    Original merged fix that PR #349 explicitly backported to the 1.x branch.

Related issues

Issue Project State Summary Similarity
#1549676 source-subdir says its "a source dir within a repo to build from" but misses that snapcraft will only copy that subdir snapcraft (launchpad) closed Fixed by merged ubuntu-core/snapcraft#344 (commit 6beb6fec6): Snapcraft now copies the full repository while building from the selected source-subdir.
74%
#344 Copy entire source, even if source-subdir is specified. snapcraft merged Merged PR #344 copies the complete source when source-subdir is set, then builds from that subdirectory, fixing LP #1549676.
72%