Merge lp://qastaging/~mvo/command-not-found/snap-support into lp://qastaging/command-not-found

Proposed by Michael Vogt
Status: Merged
Merge reported by: Brian Murray
Merged at revision: not available
Proposed branch: lp://qastaging/~mvo/command-not-found/snap-support
Merge into: lp://qastaging/command-not-found
Diff against target: 199 lines (+62/-39)
3 files modified
CommandNotFound/CommandNotFound.py (+59/-38)
command-not-found (+1/-1)
debian/dirs (+2/-0)
To merge this branch: bzr merge lp://qastaging/~mvo/command-not-found/snap-support
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+335516@code.qastaging.launchpad.net

Description of the change

This is a first preview for snap support in command-not-found. The idea is that snapd will populate /usr/share/command-not-found/snaps.d/all-main.db for command-not-found to consume.

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

I believe this landed in Bionic.

command-not-found (0.3ubuntu18.04.0~pre3) bionic; urgency=medium

  * CommandNotFound/CommandNotFound.py:
    - limit input to 256 chars to avoid DoS (LP: #1605732)
    - add support for suggesting commands snap from snaps
      (needs snapd 2.31+ to work)
    - add "snapd" to suggests

 -- Michael Vogt <email address hidden> Thu, 15 Feb 2018 09:15:40 +0100

Revision history for this message
Brian Murray (brian-murray) wrote :

I'm setting this to merged to take it off the sponsorship list. Feel free to flip it back if I'm wrong.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: