← Back to issue list

Support "summary" fields in the confdb-schema assertion

View original Github issue

Metadata

Project
snapcraft
Number
#5442
Type
issue
State
closed
Author
miguelpires
Labels
good first issue Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Optional top-level and per-view summaries were added by merged PR canonical/snapcraft#5501 (commit 9d7a82a19) and documented in Snapcraft 8.10.

Resolution: closed resolved

Reason: PR #5501 was merged as commit 9d7a82a19, adding both summary fields with unit tests and fixing issue #5442.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Support adding optional "summary" fields when using edit-confdb-schema, both at the top-level and under each view. Here's the current assertion format (it might've changed after this feature was added to Snapcraft): ``` type: confdb-schema authority-id: string account-id: string name: string summary: string // optional views: view-name: summary: string // optional rules: - request: string storage: string ``` ### Why it needs to get done I've been testing creating confdb-schemas and I noticed that summaries aren't supported. They may have been added to the spec after this feature was added to Snapcraft. I believe the Store has already added support on their side. Please let me know if there's any information missing here or if you need me to test anything. Thanks!

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Optional top-level and per-view summaries were added by merged PR canonical/snapcraft#5501 (commit 9d7a82a19) and documented in Snapcraft 8.10.
stealth/space-bunny-alpha — closed resolved Added optional summary fields to confdb-schema assertions at the top level and per view. PR #5501 was merged via commit 9d7a82a19, fixing #5442.
stealth/space-bunny-alpha — closed resolved Resolved by merged PR #5501 (commit 9d7a82a19), adding optional summary fields to confdb-schema assertions at the top level and within each view, with unit tests.
stealth/space-bunny-alpha — closed resolved Implemented optional confdb-schema summaries at the top level and per view via merged PR #5501 (commit 9d7a82a19), with unit tests.
qwen/qwen3.6-35b-a3b — — Addressed via PR #5501, which adds optional summary fields to confdb-schema assertions. The enhancement request was closed following the pull request submission.
qwen/qwen3.6-35b-a3b — — Optional summary fields for confdb-schema assertions were resolved via pull request #5501. The implementation adds top-level and view-level summary support, fulfilling the enhancement request.
qwen3.6-35b-a3b-mtp-q6 — — Optional summary fields for confdb-schema assertions were implemented via pull request #5501. The enhancement was merged, resolving the request for top-level and per-view summary support, and the issue was closed.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#5501 (confidence 100%)

    Merged implementation adding optional summaries at the schema and view levels.

Related issues

Issue Project State Summary Similarity
#5501 feat(confdb-schema): support optional summary fields snapcraft merged PR #5501 was merged as commit 9d7a82a19, adding optional confdb-schema summary fields at the top level and per view, with unit tests; it fixes #5442.
83%
#5472 Refactor YAML Generation and Schema Models for Optional Summary Support snapcraft closed Closed unmerged and superseded by canonical/snapcraft#5501 (commit 9d7a82a19), which added optional confdb-schema summary fields and tests for issue #5442.
75%