← Back to issue list

source-type breaks remote-build

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1860526
Type
issue
State
closed
Author
~wallyworld
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in a new remote-builder that pushes the existing repo to Launchpad unmodified, resolving the source-type: git failure during remote-build.

Resolution: closed resolved

Reason: Resolved by a new remote-builder implementation that pushes the existing repository to Launchpad unmodified, as noted by @mr-cal in a recent comment.

Evaluated by: mr-cal-bot

No scores available.

Issue body

If I have a snapcraft.yaml with juju: source: . source-type: git then snapcraft remote-build fails because the source code directory is not the same as the working directory and running go dep from the working directory fails since the source is missing.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed resolved Fixed in a new remote-builder that pushes the existing repo to Launchpad unmodified, resolving the source-type: git failure during remote-build.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 25
Complexity: 40
Confidence: 99
Actionability: 94
close resolved Local Git sources with source-type: git were not packaged for remote builds; merged PR #3056 (ccfd349af) added that handling.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 26
Complexity: 38
Confidence: 98
Actionability: 94
close resolved remote-build failed for local Git sources; merged PR #3056 in commit ccfd349af later packaged such sources for upload, resolving the reported failure mode.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 25
Complexity: 40
Confidence: 70
Actionability: 60
close resolved remote-build fails with source-type: git because source directory differs from working directory, causing build failures
qwen/qwen3.8-27b
Impact: 10
Quick Win: 7
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale snapcraft remote-build fails when source-type is git because the source directory differs from the working directory, causing go dep to fail. The remote-build command has since been removed from snapcraft, making this issue obsolete.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 90
Support Request: 10
close stale snapcraft remote-build fails when juju source-type is set to git due to working directory mismatches during dependency resolution. The issue has been inactive for over six years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Issue reports that using source-type git in snapcraft.yaml causes remote-build to fail due to a working directory mismatch. No maintainer response or activity for over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 5
close stale Snapcraft remote-build fails with juju source-type git due to directory mismatch. Unlabeled, zero comments, inactive for over six years.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1898877 [remote-build] source-type 'zip' aborts with KeyError snapcraft (launchpad) closed No resolving change was identified for Launchpad issue #1898877; it closed without a documented fix or linked PR.
73%
#3056 remote-build: package up local sources with source-type 'git' snapcraft merged Merged PR #3056 in commit ccfd349af, making remote-build package local Git sources declared with source-type: git.
72%
#4460 fix: push tags for remote-build snapcraft merged Merged PR #4460 in commit 21f6ad788, fixing remote-build to push Git tags to Launchpad for version discovery.
71%