go plugin is not striping the .git from the source
Metadata
Current evaluation
2015 bug report: the legacy go parts plugin does not strip the .git suffix from source URLs, so go get targets the wrong package path (e.g. ./cli.git/...). No labels, no comments, inactive ~9.5 years; the go plugin no longer exists in modern snapcraft.
Suggested action: close stale
Reason: The issue is 3733 days old with zero comments and no maintainer interaction, and it targets the legacy go parts plugin from snapcraft 1.x, which has been removed in modern snapcraft (2.x+ uses the craft-parts-based parts system). The affected version is no longer supported and the original problem is no longer reproducible in the current codebase, so it should be closed as stale rather than kept open.
Impact:
15
Quick Win:
12.0
Staleness:
95
Complexity:
20
Confidence:
75
Support Request:
10
Issue body
When I use a source for the go plugin like this:
source: https://github.com/cloudfoundry/cli.git
It will use cli.git as the go package. Notice the ".git" in the last argument:
env GOPATH=/home/elopio/workspace/canonical/snappy-playpen/cloudfoundry-cli/parts/cli/go go get -t -d ./cli.git/...
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
12.0
Staleness:
95
Complexity:
20
Confidence:
75
Support Request:
10
|
close stale | 2015 bug report: the legacy go parts plugin does not strip the .git suffix from source URLs, so go get targets the wrong package path (e.g. ./cli.git/...). No labels, no comments, inactive ~9.5 years; the go plugin no longer exists in modern snapcraft. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
15
Confidence:
90
Support Request:
5
|
close stale | Go plugin fails to strip .git suffix from source URLs, causing incorrect package paths. Unlabeled, no comments, inactive for over 9 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
90
Support Request:
5
|
close stale | Go plugin fails to strip the .git suffix from source URLs, causing incorrect package paths. Issue is over 9 years old with no maintainer activity or labels. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
15
Confidence:
65
Support Request:
5
|
close stale | Go plugin fails to strip .git suffix from source URLs, causing incorrect package paths in go get commands. Issue remains unlabelled and inactive for over 9 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
25
Confidence:
90
Support Request:
5
|
close stale | Go plugin fails to strip .git suffix from source URLs, causing incorrect package paths in go get commands. Open, unassigned, and awaiting triage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1613779 go plugin ignores the source-subdir keyword | snapcraft (launchpad) | open | Go plugin (snapcraft 1.x) ignored source-subdir, symlinking GOPATH to git root instead of the subdirectory. 10 years old, 0 comments, no maintainer interaction. The GOPATH-symlink approach and go-importpath key no longer exist in the modern go plugin. | |
| #1858785 go plugin doesn't strip binaries | snapcraft (launchpad) | open | Feature request to add an option to strip binaries built by the go plugin to reduce snap size. 6.6 years old with zero comments and no labels; the go plugin has since been removed from snapcraft, making the request moot. |