[devel] [git update] packages/apt: heads/master
Dmitry V. Levin
=?iso-8859-1?q?ldv_=CE=C1_altlinux=2Eorg?=
Сб Авг 11 20:13:24 MSD 2007
On Sat, Aug 11, 2007 at 08:06:56PM +0400, Alexey M. Tourbin wrote:
> Update of /people/at/packages/apt.git
>
> 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(-)
>
> Changelog since `0.5.15lorg2-alt12' follows:
> commit 30e27b0f1c74b4f67354a6035fae3e210131bca1
> Author: Alexey Tourbin <at на altlinux>
> Date: Sat Aug 11 20:01:05 2007 +0400
>
> apt-0.5.15lorg2-alt-genpkglist-reqfiles.patch
>
> genpkglist strips file lists by default (without --bloat option).
> It keeps only some "useful files" by using a few ad hoc patterns.
>
> 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.
>
> 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.
Я не понял, эта информация кешируется или каждый запуск genpkglist будет
дампить зависимости всех пакетов?
> (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.)
Тогда зачем это изменение?
--
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20070811/b06481ea/attachment-0001.bin>
Подробная информация о списке рассылки Devel