← Back to issue list

"snapcraft gated" output doesn't have a clear order

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1668242
Type
issue
State
open
Author
~ara
Labels
store
Created
Updated
Closed
—

Current evaluation

snapcraft gated still emits validations in store-response order; requested ordering is snap name A-Z and revisions by descending validation timestamp

Suggested action: keep open

Reason: The report specifies the exact command and desired ordering: snap names A-Z, then revisions by descending validation date. The current StoreGatedCommand implementation iterates over list_validations() results in response order and passes them directly to tabulate without sorting or ordering tests, so this remains a small, valid usability fix despite the issue's age.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 22 Complexity: 15 Confidence: 95 Actionability: 88

Issue body

When running "snapcraft gated <gating_snap>" the output is very disorganized. For example, different revisions for a snap appear without order, and also snaps are not ordered alphabetically. My suggestion would be: * Snap name ordered a-z * Different revisions of the same snap ordered by validation date (descendent) Thanks!

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 22
Complexity: 15
Confidence: 95
Actionability: 88
keep open snapcraft gated still emits validations in store-response order; requested ordering is snap name A-Z and revisions by descending validation timestamp
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 22
Complexity: 10
Confidence: 70
Actionability: 80
needs triage snapcraft gated command output is unsorted; reporter requests alphabetical snap name ordering and descending date ordering for revisions
qwen/qwen3.8-27b
Impact: 20
Quick Win: 17
Staleness: 90
Complexity: 15
Confidence: 70
Support Request: 10
close stale Feature request to sort 'snapcraft gated' output by snap name (a-z) and by validation date (desc) per snap. Open since ~2017 with zero comments and no maintainer interaction; gated command still exists in the codebase.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Suggests sorting snapcraft gated output alphabetically by snap name and descending by revision validation date. No maintainer interaction in over 8 years; likely outdated given CLI evolution.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Report requests alphabetical snap ordering and date-descending revision sorting for snapcraft gated output. Unassigned, zero comments, and inactive for over 9 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 20
close stale Feature request to sort snapcraft gated output alphabetically by snap name and by validation date for revisions. Unaddressed for over 9 years with no maintainer interaction.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.