Merge ~merlijn-sebrechts/snappy-debug:main into snappy-debug:main

Proposed by Merlijn Sebrechts
Status: Merged
Merged at revision: 62084e4ac04ecfbabb57f13b9f9175c427775a55
Proposed branch: ~merlijn-sebrechts/snappy-debug:main
Merge into: snappy-debug:main
Diff against target: 41 lines (+29/-2)
1 file modified
snapcraft.yaml (+29/-2)
Reviewer Review Type Date Requested Status
The snappy-debug snap developers Pending
Review via email: mp+435782@code.launchpad.net

Commit message

Update metadata of snap

Description of the change

This adds some info on how to use the tool, where to report bugs, and where to find the code.

Note: in order for the store to adopt this information, you need to enable the "update metadata on release" flag in the snap settings page: https://snapcraft.io/snappy-debug/settings

To post a comment you must log in.
Revision history for this message
Alex Murray (alexmurray) wrote :

LGTM - thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/snapcraft.yaml b/snapcraft.yaml
2index 5aa8833..ae736c8 100644
3--- a/snapcraft.yaml
4+++ b/snapcraft.yaml
5@@ -1,7 +1,34 @@
6 name: snappy-debug
7 version: "0.36-snapd2.57.5"
8-summary: Snappy debug tools
9-description: Snappy debug tools
10+summary: Tool for debugging snap confinement policy violations
11+description: |
12+ Snap developers can use this tool to help them debug and fix policy violations.
13+
14+ Each snap runs confined inside its own sandbox. The policy of each sandbox describes what the application is allowed to do. When an application tries to do something that is not allowed, the system logs a policy violation.
15+
16+ This snap
17+
18+ * watches syslog for such policy violations,
19+ * shows them in a human readable format,
20+ * and makes recommendations for how to solve them.
21+
22+ Run the following command to start watching policy violations.
23+
24+ sudo snappy-debug
25+
26+ If you have dropped messages, try the following command instead.
27+
28+ sudo journalctl --output=short --follow --all | sudo snappy-debug
29+
30+ Note: these commands only show policy violations that happen _after_ you run them. So first run one of these commands and then run the snap that you want to debug.
31+
32+ See `snappy-debug --help` for more information about this tool.
33+website: https://launchpad.net/snappy-debug
34+contact: https://bugs.launchpad.net/snappy-debug
35+issues: https://bugs.launchpad.net/snappy-debug
36+source-code: https://code.launchpad.net/snappy-debug
37+license: GPL-3.0-or-later
38+
39 confinement: strict
40 grade: stable
41 base: core18

Subscribers

People subscribed via source and target branches