← Back to issue list

publish complains about desktop file un-necessarily

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1670162
Type
issue
State
open
Author
~popey
Labels
—
Created
Updated
Closed
—

Current evaluation

Store review incorrectly demanded a .desktop file for an x11-enabled CLI snap; maintainers reported the review-tools correction released on 2017-03-20, but the issue remains open.

Suggested action: close resolved

Reason: Close as resolved: on 2017-03-20, ~jdstrand wrote that it was "now fixed in the review tools in the store" and marked the task Fix Released; Snapcraft commit 85765674a (PR #1261) is related manual-review-handling work, though no external fix SHA or version was recorded. The problem could block stable review but affected a narrow CLI/x11 case, while the per-snap override and compatibility concern linked to #1643910 add moderate complexity.

Evaluated by: mr-cal-bot

Impact: 44 Quick Win: 16 Complexity: 57 Confidence: 94 Actionability: 85

Issue body

Publishing a snap which uses the x11 plug but is a command line utility, so doesn't have a .desktop file, I get the following:- Will need manual review...| Publishing checks failed. To release this to stable channel please request a review on the snapcraft list. Use devmode in the edge or beta channels to disable confinement. - desktop interfaces (x11) specified without meta/gui/*.desktop. Please provide a desktop file via setup/gui/*.desktop if using snapcraft or meta/gui/*.desktop otherwise. It should reference one of the 'apps' from your snapcraft/snap.yaml. Surely x11 related things can exist without desktop files?

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 44
Quick Win: 16
Complexity: 57
Confidence: 94
Actionability: 85
close resolved Store review incorrectly demanded a .desktop file for an x11-enabled CLI snap; maintainers reported the review-tools correction released on 2017-03-20, but the issue remains open.
stealth/space-bunny-alpha
Impact: 35
Quick Win: 22
Complexity: 35
Confidence: 98
Actionability: 95
close resolved The Store review tool incorrectly required a desktop file for command-line snaps using x11; maintainers added a per-snap override and reported the fix released in March 2017.
qwen/qwen3.6-35b-a3b
Impact: 60
Quick Win: 25
Complexity: 40
Confidence: 65
Actionability: 70
needs triage Snapcraft publish complains about missing desktop file when using x11 interface for CLI utilities. Issue is open, unlabelled, and has no maintainer response after 9+ years.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 24
Staleness: 96
Complexity: 40
Confidence: 55
Support Request: 25
close stale Snapcraft publish validation falsely requires a .desktop file when a snap uses the x11 plug, blocking a CLI utility from releasing to stable. Reported ~9.5 years ago with no maintainer response; the quoted error is from the old snapcraft 1.x publish flow.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 20
close stale Snapcraft publishing checks incorrectly require a .desktop file when using the x11 plug for CLI utilities. Issue is completely inactive with no maintainer response or labels.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 10
Confidence: 85
Support Request: 20
needs triage Snapcraft publish checks fail for CLI snaps using the x11 plug due to missing desktop files. The issue has no maintainer response, labels, or comments after nearly a decade and remains unassessed.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 20
close stale Snapcraft publish checks incorrectly require a .desktop file for CLI utilities using the x11 plug. Unlabelled, zero comments, inactive for over 9 years.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1643910 (confidence 98%)

    A maintainer said the desktop-interface check's test was important because of this earlier bug.

  • Likely Fixed By: snapcraft#1261 (confidence 75%)

    Commit 85765674a improved handling of Store manual-review hints; the maintainer identified the underlying correction as a Store review-tools fix.

Related issues

No related issues found above the similarity threshold.