[Bug 1365008] Re: allow about->"software licenses" to read gzip'd files to reclaim some more disk space
James Hunt
1365008 at bugs.launchpad.net
Wed Sep 3 15:53:39 UTC 2014
As I say, I think we could generate some sort of ascii cache file that
if available could be read to speed the operation up. This cache file
would be generated as part of the build, not by the phone.
Agreed, this is all non-essential but nice to have :)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1365008
Title:
allow about->"software licenses" to read gzip'd files to reclaim some
more disk space
Status in “livecd-rootfs” package in Ubuntu:
New
Status in “ubuntu-system-settings” package in Ubuntu:
Triaged
Bug description:
/usr/share/doc is stripped down to only the copyright files and yet...
$ du -sh /usr/share/doc
19M /usr/share/doc
Compressing even just the copyrights gives an appreciable gain:
$ cp -a /usr/share/doc /tmp/foo
$ find /tmp/foo/ -type f -exec gzip -9 {} \; && du -sh /tmp/foo
5.5M /tmp/foo
A saving of 13+ Meg!
However, for this to be useful, the software licenses view would need
to be able to read gzip'ed files.
= Performance =
Currently, reading a *single* copyright from the software licenses
screen is slow (~1-2 seconds to read what are tiny (<2k) files).
This seems like an issue that needs work before we can consider
reading .gz files.
What would be rather neat is to augment the existing plain
alphabetical list of software packages with icons denoting the
licenses. This would allow the user to get a quick visual summary
without necessarily having to click on each and every package to see
what their particular licences are.
If implemented, it would make sense to generate a map of "package =>
licenses" at livecd-rootfs build-time. This should be
Bonus points to allow the list to be sorted by licence type :-)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1365008/+subscriptions
More information about the foundations-bugs
mailing list