project: support system-usernames
Metadata
Current evaluation
Merged #3746 added support for system-usernames, relaxing project validation and deferring stricter errors to snap pack; merge commit 1122de9d0.
Resolution: closed resolved
Reason: The pull request was merged after approval, implementing lax system-usernames handling and moving stricter validation to snap pack. The resolution is recorded in merge commit 1122de9d0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Contrary to what was done for legacy, make the system-usernames much more lax.
More strict errors should be raised by "snap pack".
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 `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
CRAFT-1083
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #3746 added support for system-usernames, relaxing project validation and deferring stricter errors to snap pack; merge commit 1122de9d0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #3746, relaxing system-username validation and deferring stricter errors to snap pack; merge commit 1122de9d0. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged relaxed system-username validation, deferring strict checks to snap pack. Approved, passed CI, and added 43 lines across four files. Coverage increased by 0.02%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Relaxes system-username validation in project configuration, deferring strict checks to snap pack. Coverage increased by 0.02%. Unrelated test and lint fixes were addressed in separate pull requests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1845267 please support system-usernames, new in snapd 2.41 | snapcraft (launchpad) | closed | System-username support was implemented, including both YAML forms and long-form snap.yaml output, by merged PR snapcore/snapcraft#2858 (commit bad4d2d69). | |
| #3964 schema,tests: add support for new system usernames | snapcraft | merged | Merged #3964 as 92a9614f5, updating the schema and tests to accept additional system usernames supported by snapd. | |
| #2858 add support for system-usernames | snapcraft | merged | Merged as bad4d2d69, adding system-usernames support and schema tests for LP #1845267. | |
| #2838 add support for system-usernames | snapcraft | closed | Closed while the rebased work was split into smaller PRs; system-usernames support and schema tests landed separately in merged PR #2858 via commit bad4d2d69. |