For reference, the chromium-browser package in focal and upwards is a
simple wrapper that installs the chromium snap, and it has a custom
apport hook that attaches some of this information. The names of the
keys there are:

 - Snap.Changes
 - Snap.Connections
 - Snap.Info.chromium
 - Snap.Info.core
 - Snap.Info.core18 (this needs to be updated because it is currently hardcoded 
in the hook, but the snap has since been rebased on core20)
 - Snap.Info.gtk-common-themes

See bug #1958810 for an example.

There isn't any tooling that expects these specific names though, so as
far as I'm concerned they can be changed.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1960964

Title:
  Gather additional info when creating a bug about a snap

Status in apport package in Ubuntu:
  Confirmed

Bug description:
  On the ubuntu-devel mailing list[1] it was suggested that apport
  should collect the following additional information when reporting a
  bug about a snap:

    - snap changes --abs-time $SNAPNAME                                         
                                                             
    - snap connections $SNAPNAME                                                
                                                             
    - snap info --abs-time $SNAPNAME                                            
                                                             
    - for PROVIDER in $(grep default-provider 
/snap/$SNAPNAME/current/meta/snap.yaml | uniq | cut -d: -f2); do snap info 
--abs-time $PROVIDER; done                                                      
                                                      
    - snap info --abs-time $(grep base: /snap/$SNAPNAME/current/meta/snap.yaml 
| cut -d: -f2)      

  This should be fairly straightforward we just need to decide on names
  for the keys in the report.

  [1] https://lists.ubuntu.com/archives/ubuntu-
  devel/2022-February/041836.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1960964/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to