From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 11 Aug 2007 20:13:24 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20070811161324.GB27837@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20070811160656.5B5388E80D5@ssh.git.local.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <20070811160656.5B5388E80D5@ssh.git.local.altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] [git update] packages/apt: heads/master X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 08:48:55 -0000 Archived-At: List-Archive: List-Post: --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 11, 2007 at 08:06:56PM +0400, Alexey M. Tourbin wrote: > Update of /people/at/packages/apt.git >=20 > Changes statistics since `0.5.15lorg2-alt12' follows: > apt-0.5.15lorg2-alt-genpkglist-reqfiles.patch | 106 +++++++++++++++++++= ++++++ > apt.spec | 6 +- > 2 files changed, 108 insertions(+), 4 deletions(-) >=20 > Changelog since `0.5.15lorg2-alt12' follows: > commit 30e27b0f1c74b4f67354a6035fae3e210131bca1 > Author: Alexey Tourbin > Date: Sat Aug 11 20:01:05 2007 +0400 >=20 > apt-0.5.15lorg2-alt-genpkglist-reqfiles.patch > =20 > genpkglist strips file lists by default (without --bloat option). > It keeps only some "useful files" by using a few ad hoc patterns. > =20 > This can break file-level dependencies. Consider pkgA requires > /usr/lib/foo1/bar, and pkgB owns this file without explicitly > providing it. Now if genpkglist strips /usr/lib/foo1/bar > from pkgB file list, this is going to be an unmet dependency. > =20 > This patch changes genpkglist behaviour, so that, when genpkglist > is invoked without --bloat option, it first finds all file-level > dependencies (something like "rpm -qaR |grep ^/"). This requires > a separate pass. The list of file-level dependencies is saved into > "reqfiles" global variable. And on the second (normal) pass, the > function usefulFile() is modified to check the "reqfiles" variable; > that is, it should keep a file in the file list if it's been required > by some package in the repo. =F1 =CE=C5 =D0=CF=CE=D1=CC, =DC=D4=C1 =C9=CE=C6=CF=D2=CD=C1=C3=C9=D1 =CB=C5= =DB=C9=D2=D5=C5=D4=D3=D1 =C9=CC=C9 =CB=C1=D6=C4=D9=CA =DA=C1=D0=D5=D3=CB ge= npkglist =C2=D5=C4=C5=D4 =C4=C1=CD=D0=C9=D4=D8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 =D7=D3=C5=C8 =D0=C1= =CB=C5=D4=CF=D7? > (Unfortunately, this patch does not solve all of the problems > I want it to solve; we have separate repos for i586 and noarch -- > inter-repo file-level dependencies cannot be resolved this way.) =F4=CF=C7=C4=C1 =DA=C1=DE=C5=CD =DC=D4=CF =C9=DA=CD=C5=CE=C5=CE=C9=C5? --=20 ldv --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGveAkfKvmrJ41Nh4RAs+kAKDD/a/jPpRLuJRkX+RV5phZNALtHQCgnHij 018xm38wtXZ4cqYaruGHNp8= =9MYd -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--