cli: support exporting login to stdout
Metadata
Current evaluation
Merged in PR #2043 (commit 6bf6fbb81), enabling export-login to stdout as base64-encoded INI credentials.
Resolution: closed resolved
Reason: Pull request #2043 was merged, and resolving commit 6bf6fbb81 added stdout login export for direct use in CI environments.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [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] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
And instead of simply printing the ini file, base64-encode it so it can be more easily handled. This is intended to fit the use-case of sticking the exported login straight into the environment of a CI system instead of needing to encrypt a file.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #2043 (commit 6bf6fbb81), enabling export-login to stdout as base64-encoded INI credentials. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2043, adding CLI login export to stdout as base64-encoded INI data for direct CI environment injection. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a PR adding CLI support to export login credentials to stdout. Output is base64-encoded for direct CI environment variable injection, eliminating the need to manage encrypted credential files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged feature enabling CLI export of login credentials to stdout. Credentials are base64-encoded for direct CI environment injection, removing the need for encrypted file handling. |
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. |