← Back to issue list

Add `plugs` and `slots` keys to the project model

View original Github issue

Metadata

Project
snapcraft
Number
#5168
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
2024-12-05 20:32:12+00:00
Updated
2025-04-25 20:02:50+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done The `plugs` and `slots` keys have many keys. A few `plug` keys exist but no `slots` keys are documented or defined in [the project model](https://github.com/canonical/snapcraft/blob/5317dbebac1c953192ff38e4c6fddd294f979cb1/snapcraft/models/project.py#L628). ### Why it needs to get done Faster iteration for developers - errors should be raised early on when validating the model. This has been reported in https://github.com/canonical/snapcraft/issues/5172

Evaluation history

No evaluation history available.