Notifications for out of date stage-packages

Several people have approached me saying that while the service is very useful, it would be nice if you could run a command on a snap to report everything that was open as opposed to simply having to track the emails. While this was always possible with the review-tools.updates-available --snap=<your snap> --usn-db=<usndb> command, you had to know to fetch the usn database and keep it up to date. I recently added a small wrapper command to the review-tools (review-tools.check-notices) that you can use today to query your snaps more easily. Eg:

$ sudo snap install review-tools --beta
# copy some snap somewhere that check-notices can read it
$ cp /var/lib/snapd/snaps/chromium_512.snap ~/snap/review-tools/common/
$ review-tools.check-notices ~/snap/review-tools/common/chromium_512.snap 
{
  "chromium_512": 
    {"libpam-systemd": ["3806-1", "3816-1", "3816-2", "3816-3"]}
}

Hope this helps. Feedback welcome and as always, feel free to file bugs at https://bugs.launchpad.net/review-tools/+filebug.

2 Likes