[Bug 1365008] Re: allow about->"software licenses" to read gzip'd files to reclaim some more disk space

Sebastien Bacher seb128 at ubuntu.com
Wed Sep 3 15:36:15 UTC 2014


Thanks, note that the "sorted by license type" would be another request
and shouldn't be listed there. It's also something we look at early but
dismissed (at least in the first versions) because it would require to
open and parse all the files to be able to build the list, which was
taking over a minute of busy cpu or some clever cache/db of those
informations (which is doable, but non trivial work and not essential
for a v1)

** Changed in: ubuntu-system-settings (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: ubuntu-system-settings (Ubuntu)
       Status: New => Triaged

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