From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LaGOp-0004GS-QP for garchives@archives.gentoo.org; Thu, 19 Feb 2009 21:25:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93D78E048C; Thu, 19 Feb 2009 21:25:38 +0000 (UTC) Received: from mail-bw0-f157.google.com (mail-bw0-f157.google.com [209.85.218.157]) by pigeon.gentoo.org (Postfix) with ESMTP id 3119FE048C for ; Thu, 19 Feb 2009 21:25:38 +0000 (UTC) Received: by bwz1 with SMTP id 1so1697930bwz.10 for ; Thu, 19 Feb 2009 13:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=pydUUqSiCh27fiOT6KWfAiJFF8HqHKunt5erg9fOsfI=; b=YAMovzTnyvNDcrnpgfbT9dKzj4bRtzKGPKnRZQKCzNFCKS8SSc1qAUnSFgynCgh85w Ip+AfDAp8d2n9X9sWgSpD0ya/CEo32Q4UyU624H8lWgd1W70RbbDa1b7eaIMCUTDO4/l B3s81ppl1vJoRgiwiFaC8TPYOtYjfrURWGvTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=sFG+sgL7zL4LrVJWpJkZATqobS7uoBT4mmUfy7t+lw87XVNfpkU1grc0pemRRqR9Mq F4gnsrBRXL+HptR2JgyxBFJx1iCiMJ68WkioqFK/VD8BcfFYPQO7PFTi/F4I4Cy/BtP0 mi86XuC3TtSvASHAlmH+2EuqOgtTYbRDrcOKE= Received: by 10.223.113.3 with SMTP id y3mr8193fap.71.1235078736476; Thu, 19 Feb 2009 13:25:36 -0800 (PST) Received: from snowcone (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id 40sm4935509uge.25.2009.02.19.13.25.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Feb 2009 13:25:36 -0800 (PST) Date: Thu, 19 Feb 2009 21:25:29 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Proposal for compression handling (was: Re: prepalldocs is now banned) Message-ID: <20090219212529.077215c9@snowcone> In-Reply-To: <18845.15657.287751.241885@a1ihome1.kph.uni-mainz.de> References: <20090213213017.GA3452@dodo.hsd1.nj.comcast.net> <200902172326.19358.bangert@gentoo.org> <9d2010770902171610u7839ac9bsedca72fa74b70d29@mail.gmail.com> <20090218001806.1a19df6b@snowcone> <20090218083958.01f2111f@gentoo.org> <20090218140646.10282a5b@snowcone> <18844.9899.336441.721100@a1i15.kph.uni-mainz.de> <20090218152137.221889fe@snowcone> <18844.11606.213809.834453@a1i15.kph.uni-mainz.de> <20090218155035.1eac6792@snowcone> <20090218200104.291e07bc@gentoo.org> <18845.15657.287751.241885@a1ihome1.kph.uni-mainz.de> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/AW3O3pSeWKYsNtQ9xgv9M7n"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: ad44903f-4702-47ef-9ee3-b4e2df3dd647 X-Archives-Hash: 432be495aec3637cdcd66bc27c1e9f19 --Sig_/AW3O3pSeWKYsNtQ9xgv9M7n Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 19 Feb 2009 12:06:17 +0100 Ulrich Mueller 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: >=20 > - an inclusion list, initially containing: > /usr/share/doc /usr/share/info /usr/share/man > - an exclusion list, initially containing: > /usr/share/doc/${PF}/html >=20 > Then we need a new command, let's call it "docompress" for now (name > to be discussed), to manipulate the lists: >=20 > - "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? --=20 Ciaran McCreesh --Sig_/AW3O3pSeWKYsNtQ9xgv9M7n Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmdzksACgkQ96zL6DUtXhEKcACfWZvofEdJZ+D81wah0DeyBmTU qP4AoN3qcYcS5Q5SfKNS54KmNvS+5BQm =2071 -----END PGP SIGNATURE----- --Sig_/AW3O3pSeWKYsNtQ9xgv9M7n--