← Back to issue list

remote-build `version: git` resolved too late

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2050860
Type
issue
State
open
Author
~saviq
Labels
Created
Updated
Closed

Current evaluation

Remote-build with version: git resolves SHA from mangled source instead of original. Untriaged, 955 days old, no maintainer response.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and zero maintainer comments after 955 days. It describes a concrete bug (git SHA resolution in remote-build uses mangled source instead of original) with a suggested fix, but no maintainer has acknowledged or triaged it yet. Without evidence that remote-build or version: git has been removed or the bug fixed, it warrants triage rather than closure.

Impact: 55 Quick Win: 30.25 Staleness: 85 Complexity: 45 Confidence: 65 Support Request: 25

Issue body

When `remote-build`ing with a `version: git` stanza, the SHA will be that of the Snapcraft-mangled source, not the original one. Snapcraft should probably resolve the `git` version before it sends the source up to Launchpad for building. Related to https://bugs.launchpad.net/snapcraft/+bug/1973199, though using `git describe` in override stanzas will obviously be affected by the mangling.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 55
Quick Win: 30.25
Staleness: 85
Complexity: 45
Confidence: 65
Support Request: 25
needs triage Remote-build with version: git resolves SHA from mangled source instead of original. Untriaged, 955 days old, no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 80
Support Request: 5
close stale remote-build with version: git resolves the commit SHA after source mangling instead of the original. Untriaged, zero comments, inactive for ~2.5 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 50
Confidence: 75
Support Request: 10
needs triage remote-build with version: git resolves the commit SHA after source mangling, causing incorrect versioning. The issue has remained unlabelled and without maintainer interaction for over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 50
Confidence: 75
Support Request: 10
needs triage remote-build with version: git resolves the SHA after source mangling, causing incorrect version strings. Untriaged, no maintainer comments, inactive for ~2.5 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 40
Confidence: 80
Support Request: 5
needs triage Bug report stating remote-build resolves git version SHA after source mangling rather than before. Unlabelled and unassessed by maintainers for over two years.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#1973199 (confidence 70%)

    Issue body references Launchpad bug #1973199 as related, suggesting overlapping concerns about git describe behavior in override stanzas.

Related issues

No related issues found above the similarity threshold.