show the snap app size info
Bug #1661533 reported by
XiaoGuo, Liu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Triaged
|
Wishlist
|
Unassigned | ||
snapd |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Currently, we use:
$ snap list
command to show all of the snaps installed on the system. I am thinking whether it is possible to show one more column for the size of the snap. For example, for a Qt app, the installed size could be very big if everything is packaged into a single snap package. If a developer finds the size is too big, maybe he/she will opt to content sharing solution or finding other ways to make the package smaller.
Currently, for me, I am more concerned about my disk usage. If I am going to run out of disk space, I may choose one of the biggest app to remove to free more spaces:)
Thanks & best regards,
XiaoGuo
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
The size calculation is quite rich, since you have older versions of
snaps, and backed-up data to deal with as well. Perhaps we want 'snap
size' which shows something like:
$ snap size
Storage space in MB for snaps, data and backups.
Snap Revisions Size Data Reclaimable Total
foo 3 18 7 14 21
bar 4 5 1 2 6
See 'snap size <foo>' for a detailed breakdown per snap.
$ snap size foo
Rev Date Snap Data
23 current 5 MB 1 MB
2017/01/04 1
2016/12/01 1
2016/11/13 1
20 2016/10/22 10 1
2016/09/07 1
2016/05/02 1
18 2016/03/21 9 1
2015/08/16 1
common current 16
--- -----
25 + 23
TOTAL 47 MB