cli: create new snapcraft entry point (CRAFT-729)
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a new CLI entry point for snapcraft that currently invokes the legacy implementation. Subsequent PRs will add routing logic to switch between new and legacy code execution. |
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 after renaming the snapcraft package to snapcraft_legacy to make room for a new craft libraries-based application. Approved, passed CI, and modified 557 files. The application entry point remains unchanged and will be handled separately. | |
| #4194 Migrate snapcraft_legacy subcommands to use craft-cli | snapcraft | closed | Abandoned. The maintainer rejected the proposed approach, confirming the legacy CLI handler will remain in use short-term while commands are fully migrated out of snapcraft_legacy in the medium term. | |
| #2285 snapcraft snap: vendor legacy snapcraft | snapcraft | merged | Merged. Vendored legacy snapcraft into the snapcraft snap to resolve LP: #1793261, maintaining support when no base is specified in snapcraft.yaml. Approved by one reviewer and passed CI checks prior to integration. | |
| #3683 commands: add snap command | snapcraft | merged | Merged into snapcraft/7.0. Implements legacy snap command support for package creation and fixes output parameter passing to managed instances. Approved by reviewer with passing CI checks. |