Public bug reported:

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

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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