← Back to issue list

cli: create new snapcraft entry point (CRAFT-729)

View original Github issue

Metadata

Project
snapcraft
Number
#3616
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged #3616, adding a new Snapcraft CLI entry point that initially delegates to the legacy implementation; dispatch logic was deferred to future work (merge 6d233500c).

Resolution: closed resolved

Reason: PR #3616 was merged as 6d233500c, with implementation commit f96915bf9. It established the new entry point while preserving existing legacy execution, completing the scoped CRAFT-729 change.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Set a new entry point to the snapcraft application. This currently invokes the legacy implementation in all cases (future PRs will add logic to decide between new and legacy code execution). 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
stealth/space-bunny-alpha — closed resolved Merged #3616, adding a new Snapcraft CLI entry point that initially delegates to the legacy implementation; dispatch logic was deferred to future work (merge 6d233500c).
stealth/space-bunny-alpha — closed resolved Merged PR #3616 via 6d233500c, adding a new Snapcraft CLI entry point that still invokes the legacy implementation, with dispatch logic deferred to future PRs.
qwen/qwen3.6-35b-a3b — — Merged a new snapcraft CLI entry point that currently invokes the legacy implementation. This establishes the foundation for future routing logic between new and legacy code paths.
qwen3.6-35b-a3b-mtp-q6 — — Merged a new CLI entry point for snapcraft routing all commands to legacy code. This foundational change enables future PRs to implement new and legacy execution paths. Codecov warnings did not block the merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3608 many: rename snapcraft package to snapcraft_legacy (CRAFT-726) snapcraft merged Merged PR #3608 renamed the existing snapcraft package to snapcraft_legacy, freeing the snapcraft name for a craft-library-based application while leaving its entry point unchanged.
74%
#2285 snapcraft snap: vendor legacy snapcraft snapcraft merged Merged in canonical/snapcraft#2285 (commit 5c1ee3b88), vendoring legacy Snapcraft and dispatching no-base projects to it to preserve backward compatibility.
72%
#2411 cli: snapcraft init with a base snapcraft merged Merged #2411 as commit 0aa5508a, adding syntax-documentation links after snapcraft init and addressing LP bug #1803776.
71%
#3626 cli: integrate craft-cli and add version command (CRAFT-730) snapcraft merged Merged into snapcraft 7.0 via commit 0457d6572: integrated craft-cli, added the version command, and retained the legacy CLI fallback for other commands.
71%
#1793261 Vendor legacy snapcraft to maintain backward compatibility snapcraft (launchpad) closed Legacy Snapcraft was vendored into the snapcraft snap, dispatching projects without bases to it. Delivered via merged PRs canonical/snapcraft#2283 (commit f9592939a, override-build refactor) and #2285 (commit 5c1ee3b88).
70%