cli: prompt for login if required
Metadata
Current evaluation
Merged in snapcraft#2736 (commit 215c6c4ae), changing the CLI to prompt for Store login when authentication is required instead of exiting with an error.
Resolution: closed resolved
Reason: The approved change was merged as commit 215c6c4ae, resolving the missing-login flow by prompting users to authenticate.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Promp to login if it is required instead of exiting with an error.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] 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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcraft#2736 (commit 215c6c4ae), changing the CLI to prompt for Store login when authentication is required instead of exiting with an error. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #2736 (commit 215c6c4ae): the CLI now prompts for login when required instead of exiting with an error. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged CLI change to prompt for login when authentication is required instead of exiting with an error (commit 215c6c4ae). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged CLI update that prompts for login when required instead of exiting with an error. Approved and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged CLI changes to prompt for login when required, replacing the previous error exit behavior. Approved and integrated into the codebase. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1780 cli: add export-login command | snapcraft | merged | Merged as commit 53027208d ("cli: add export-login command (#1780)"), adding snapcraft export-login plus a --with option to login, closing #1711 and the abandoned enable-ci approach. |