cli: add remote build
Metadata
Current evaluation
Merged. Adds remote build capability to Launchpad, dispatching source trees for remote compilation and retrieving resulting snap packages or logs. Approved by reviewers, passed CI, and integrated despite a minor test coverage decrease.
Suggested action: —
No scores available.
Issue body
Add the capability of dispatching a source tree to be built remotely
in Launchpad. After the build is complete, retrieve the resulting snap
packages or the log files in case of error.
LP: #1805220
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds remote build capability to Launchpad, dispatching source trees for remote compilation and retrieving resulting snap packages or logs. Approved by reviewers, passed CI, and integrated despite a minor test coverage decrease. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds CLI remote build capability for Launchpad, dispatching source trees for remote compilation and retrieving resulting snaps or error logs. Codecov noted a minor coverage decrease. A maintainer highlighted a required GIT_PYTHON_GIT_EXECUTABLE configuration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged CLI feature adding remote Launchpad build dispatch with automatic snap package or error log retrieval. Codecov reported a 0.52% coverage decrease, and a maintainer noted a required GIT_PYTHON_GIT_EXECUTABLE configuration fix. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5265 fix(remotebuild): don't fail when cross-compiling | snapcraft | merged | Merged fix resolving remote build cross-compilation failures. Snapcraft now passes build-on architectures to Launchpad instead of build-for, enabling correct cross-compilation and addressing issue #4996. Approved by reviewers and passed CI. | |
| #224 fix(remotebuild): create the launchpad instance correctly | craft-application | merged | Approved by two reviewers and passing CI, the fix to correctly create the remotebuild launchpad instance was successfully merged. | |
| #196 feat: remote build service | craft-application | merged | Merged the remote build service feature, migrating code from snapcraft. Approved by two reviewers, passed CI checks, and introduced 2316 lines across 26 files. | |
| #3648 cli: reintroduce remote-build and promote to snapcraft help | snapcraft | merged | Merged the reintroduction of the remote-build CLI command and promoted it to snapcraft help. Approved by one reviewer, passed CI checks, and resolved Launchpad bug #1943244 via a single-file, four-line deletion. | |
| #384 fix(remotebuild): push git tags to launchpad | craft-application | merged | Merged a fix that pushes git tags to Launchpad, enabling applications to derive versions from tags. Approved by two reviewers, passed CI checks, and applied with minimal changes across two files. | |
| #194 feat: launchpad client | craft-application | merged | Merged a generic Launchpad client wrapper around launchpadlib. Approved by two reviewers and passed CI. Adds 1632 lines across 20 files to provide a unified interface inspired by snapcraft's remote build implementation. | |
| #2634 remote build: fully preserve local sources and support packaging all sources | snapcraft | merged | Merged into remote-build. Preserves local sources and enables packaging all sources. Modified 13 files (+673/-528). Iterative updates addressed review feedback, fixed tests, resolved Git import issues, and updated dependencies. Approved by one reviewer. | |
| #746 docs: add remote build how-to and reference docs | craft-application | merged | Merged documentation update adding remote build how-to and reference guides alongside a new common docs module. Approved by three reviewers and passed CI checks despite one failing snap-test. Modified 11 files with 411 additions and 6 deletions. | |
| #769 feat: add the remote-build command | rockcraft | merged | Merged the remote-build command. Approved by three reviewers, the change adds 86 lines and removes 7 across nine files. Integrated by the maintainer without further comments or CI issues. | |
| #1128 feat(remotebuild): add build-path to snap recipes | craft-application | merged | Merged. Adds build-path to snap recipes and RemoteBuildService, resolving #1106 and unblocking snapcraft #6287. Exposed as --project-dir in the remote-build command. Approved by two reviewers and passed CI. |