Add godeps plugin.
Metadata
Current evaluation
Godeps plugin merged into snapcraft via commit a073503c0 (PR #691), adding Go godeps dependency support and resolving LP bug #1595981; later enhanced by follow-up PRs.
Resolution: closed resolved
Reason: The PR itself was merged into master as commit a073503c0 ("Add godeps plugin. (#691)"), adding snapcraft/plugins/godeps.py and resolving LP #1595981. Later commits extended it with go-packages support (#1057), GOBIN handling (#1046), build-packages for git (#1179) and base support (#2328).
Evaluated by: mr-cal-bot
No scores available.
Issue body
Snapcraft currently has a go plugin, but go has a number of dependency management systems. One very common one is godeps. This PR resolves LP: [#1595981](https://bugs.launchpad.net/snapcraft/+bug/1595981) by adding a plugin for it.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Godeps plugin merged into snapcraft via commit a073503c0 (PR #691), adding Go godeps dependency support and resolving LP bug #1595981; later enhanced by follow-up PRs. | |
| stealth/space-bunny-alpha | — | closed resolved | Added and merged Godeps plugin support in PR #691 via commit a073503c0, resolving LP #1595981. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the godeps plugin for Snapcraft, resolving Launchpad bug #1595981. The change simplifies snapcraft.yaml for Go projects like Juju and adds tag support. Approved and verified by multiple contributors prior to integration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Added a godeps plugin to Snapcraft for Go dependency management, resolving Launchpad bug #1595981. Approved and verified by maintainers, enabling simplified snap builds with tag support. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#1057
(confidence 85%)
Follow-up commit 81f56fd13 adds godeps plugin support for go-packages, building only specified binaries (LP #1657212).
-
Related To:
snapcraft#2328
(confidence 70%)
Commit e1393815d added base support to the godeps plugin.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1595981 Need a godeps plugin | snapcraft (launchpad) | closed | Godeps plugin support was merged in snapcore/snapcraft#691 via commit a073503c0. | |
| #1794784 Update the godeps plugin to be base aware | snapcraft (launchpad) | closed | Godeps gained base support through snapcore/snapcraft PR #2328, implemented by commit e1393815d. | |
| #1657212 Godeps plugin support to build only needed binaries | snapcraft (launchpad) | closed | Godeps gained go-packages support to build selected binaries via snapcore/snapcraft PR #1057, merged as commit 81f56fd13. | |
| #1179 godeps plugin: add git to build-packages | snapcraft | merged | Merged in canonical/snapcraft#1179 via commit 10c46b8ad, adding git to the godeps plugin’s build-packages so its go get invocation can complete. | |
| #2328 godeps plugin: support for bases | snapcraft | merged | Merged PR #2328 as commit e1393815d, adding base-aware godeps support that prefers the Go snap and can install golang-go as a build package. | |
| #1748202 go plugin doesn't honor godeps file | snapcraft (launchpad) | closed | Closed after a maintainer explained that Snapcraft's dedicated godeps plugin must be used; the go plugin does not consume versions from a Godeps file. | |
| #1922150 godeps using seemingly invalid commit hash | snapcraft (launchpad) | closed | Fixed by merged snapcore/snapcraft#3475 (commit a6dfe1cd2), which defaulted the unmaintained godeps plugin to Go 1.15/stable; the reporter confirmed the workaround restored CI. | |
| #1650624 Update godeps plugin to use get_pull_properties | snapcraft (launchpad) | closed | Godeps was refactored to use get_pull_properties() with updated tests; merged via snapcore/snapcraft#1000 at commit 9b8303005. | |
| #1671546 godeps plugin does not installing the git package by itself | snapcraft (launchpad) | closed | Fixed in snapcore/snapcraft#1179, merged as commit 10c46b8ad; the godeps plugin now adds git to build-packages. | |
| #675 Allow godeps to fetch Go dependencies | snapcraft | closed | Unmerged; kyrofa closed it in favour of #691, which added a proper godeps plugin and was merged as commit a073503c0, fixing LP bug #1595981. |