On Thu, 19 Feb 2009 12:06:17 +0100 Ulrich Mueller <u...@gentoo.org> wrote: > Package managers supporting compression would internally maintain two > lists of paths, both having a default value, plus the possibility to > modify them from ebuilds/eclasses: > > - an inclusion list, initially containing: > /usr/share/doc /usr/share/info /usr/share/man > - an exclusion list, initially containing: > /usr/share/doc/${PF}/html > > Then we need a new command, let's call it "docompress" for now (name > to be discussed), to manipulate the lists: > > - "docompress" (without option or with option "-a"): add paths > (directories or files) to the inclusion list > - "docompress -d": delete paths from the inclusion list > - "docompress -x": add paths to the exclusion list > - "docompress -x -d": remove paths from the exclusion list > (maybe this is not needed?)
If there's an inclusion list and an exclusion list, there's only a need to delete things from the exclusion list if the exclusion list has bad initial values, and never any need to delete things from the inclusion list. And since reliably rewriting links in HTML when compressing is at best tricky and at worst impossible (think JavaScript navigationy things), is there ever going to be any need for removing from the exclusion list? -- Ciaran McCreesh
signature.asc
Description: PGP signature