Merge lp:~larryprice/click-reviewers-tools/optional-desktop-field into lp:click-reviewers-tools

Proposed by Larry Price
Status: Rejected
Rejected by: Jamie Strandboge
Proposed branch: lp:~larryprice/click-reviewers-tools/optional-desktop-field
Merge into: lp:click-reviewers-tools
Diff against target: 11 lines (+1/-0)
1 file modified
clickreviews/sr_common.py (+1/-0)
To merge this branch: bzr merge lp:~larryprice/click-reviewers-tools/optional-desktop-field
Reviewer Review Type Date Requested Status
Jamie Strandboge (community) Needs Information
Review via email: mp+315279@code.launchpad.net

Commit message

Add desktop as optional field for apps. (LP: #1658201)

Description of the change

Add desktop as optional field for apps. (LP: #1658201)

The snapcraft docs insist that apps can have an optional 'desktop' field to point to an internal desktop file lieu of using `setup/gui`.

To post a comment you must log in.
Revision history for this message
Larry Price (larryprice) wrote :

Moving to WIP because this is incomplete... needs to also tell check_meta_gui_desktop that it's alright

Revision history for this message
Larry Price (larryprice) wrote :

Upon further inspection, snapcraft actually still copies the specified desktop file to prime/meta/gui, so the other checks seem to still pass. :)

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for the MP but AIUI snapcraft isn't supposed to pass this through to the snap.yaml and snapcraft 2.26 is going to fix this. Please correct me if this is in error.

review: Needs Information
Revision history for this message
Larry Price (larryprice) wrote :

Ah, I hadn't realized they were addressing this within snapcraft itself. I filed this bug because I have a snap being held for manual review in the store because it includes the "desktop" property. If snapcraft 2.26 is released soon, this is a non-issue; hopefully not many others will be affected. Feel free to close.

Unmerged revisions

827. By Larry Price

Add desktop as optional field for apps

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'clickreviews/sr_common.py'
2--- clickreviews/sr_common.py 2017-01-10 16:36:40 +0000
3+++ clickreviews/sr_common.py 2017-01-20 21:30:34 +0000
4@@ -64,6 +64,7 @@
5 apps_required = ['command']
6 apps_optional = ['aliases',
7 'daemon',
8+ 'desktop',
9 'environment',
10 'stop-command',
11 'stop-timeout',

Subscribers

People subscribed via source and target branches