← Back to issue list

schema: sync patterns with snapd

View original Github issue

Metadata

Project
snapcraft
Number
#1622
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Synced snap name and hook name patterns with snapd, resolving LP bug #1693798. Improved jsonschema error handling readability. Merged after reviewer approval and passing CI checks.

Suggested action:

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`? ----- The snap name and hook name patterns got out of sync. This PR fixes LP: [#1693798](https://bugs.launchpad.net/snapcraft/+bug/1693798) by getting them back in sync. It also updates the jsonschema error handling to be more readable.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Synced snap name and hook name patterns with snapd, resolving LP bug #1693798. Improved jsonschema error handling readability. Merged after reviewer approval and passing CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged updates synchronizing snap name and hook name patterns with snapd, resolving Launchpad bug #1693798. Jsonschema error handling readability was also improved.
qwen3.6-35b-a3b-mtp-q6 Merged. Synced snap name and hook name patterns with snapd, resolving Launchpad bug #1693798. Includes improved jsonschema error handling readability.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1615 schema: improve invalid app, hook, and part errors snapcraft merged Merged changes improve validation error messages for invalid app, hook, and part names in snapcraft.yaml. Replaces confusing jsonschema errors with custom validation messages, resolving Launchpad bug #1606890. Approved by two reviewers and passed CI.
74%
#2627 synchronizing snapd supported schema to snapcraft snapcraft merged Merged. Synchronized snapd schema with snapcraft, adding dbus daemon type, bus-name, restart-delay, and updated regex patterns. Approved by reviewers after clarifying autostart file validation and finalizing schema updates.
74%
#2609 schema: allow 'snapd' snap type snapcraft merged Merged to allow the 'snapd' snap type in the schema. Approved by one reviewer, passed CI checks, and modified three files.
72%