snap ack should provide a summary of the assertions status

Bug #1633261 reported by Ryan Harper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
Unassigned
snapd (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

1. % lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

2. % apt-cache policy snapd
snapd:
  Installed: 2.16
  Candidate: 2.16
  Version table:
 *** 2.16 100
        100 /var/lib/dpkg/status
     2.15.2ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     2.0.2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

3. % sudo snap ack my-assertions.txt
OK: system-user email: <email address hidden>
OK: account account-id: canonical
OK: account-key account-id: canonical
FAIL: snap-declaration snap-name: my-snap
OK: snap-declaration snap-name: hello
ACKed (4/5) assertions from my-assertions.txt

4. snap ack provides no feedback w.r.t which assertions were acked, how many, or the type.
It may be useful to extend the command to include --json like create-user which provides some feedback as to what was created (username, and number of ssh keys imported, etc).

Michael Vogt (mvo)
Changed in snapd (Ubuntu):
status: New → Triaged
Changed in snappy:
status: New → Triaged
importance: Undecided → Medium
Changed in snapd (Ubuntu):
importance: Undecided → Medium
Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.