commands: add pack command and set it as default (CRAFT-762)
Metadata
Current evaluation
Merged after approval and CI checks. Adds the pack command to build snap packages and sets it as the default when snapcraft runs without arguments.
Suggested action: —
No scores available.
Issue body
Add the `pack` command to create a snap package from the current
project. When snapcraft is invoked without an explicit command,
`pack` will be executed.
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/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI checks. Adds the pack command to build snap packages and sets it as the default when snapcraft runs without arguments. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds the pack command to build snap packages and sets it as the default action when snapcraft runs without arguments. Resolves CRAFT-762. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds the pack command to build snap packages and sets it as the default when snapcraft runs without arguments. Resolves CRAFT-762. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. |