← Back to issue list

feat: deprecation warning for snap_daemon system username

View original Github issue

Metadata

Project
snapcraft
Number
#6250
Type
pull request
State
open
Author
lengau
Labels
Created
2026-05-15 23:03:44+00:00
Updated
2026-05-15 23:09:39+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Add a SystemUsernames pydantic model with snap_daemon marked as deprecated, so the JSON schema exposes 'deprecated: true' on that key. Also emit a runtime warning via craft-cli when snap_daemon is used. Fixes: https://github.com/canonical/snapcraft/issues/5448 Describe your changes. --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

No evaluation history available.