Re: [Rpm-maint] [PATCH] rpmdbCountPackagesArch

2008-07-02 Thread Pixel
Thomas Fitzsimmons [EMAIL PROTECTED] writes: How are rebuilddbs handled during deployment? If the process is cumbersome or error-prone then maybe a slower rpmdbCountPackagesArch is a worthwhile trade-off for avoiding an RPM database rebuild. i've never had to handle this. I don't remember

Re: [Rpm-maint] [PATCH] rpmdbCountPackagesArch

2008-07-01 Thread Pixel
Thomas Fitzsimmons [EMAIL PROTECTED] writes: [...] In the typical case, rpmtsRun() is already doing 2 iterations on Name doing headerLoad. And there are a few more. IMO if we look at optimisations, there are many things that should be done before this. For example, it would be far more

Re: [Rpm-maint] [PATCH] rpmdbCountPackagesArch

2008-06-30 Thread Thomas Fitzsimmons
Pixel wrote: Thomas Fitzsimmons [EMAIL PROTECTED] writes: I'm working on a way to pass per-architecture package counts to scriptlets [1]. Jeff Johnson suggested creating a new database index for this purpose [2]. Attached are two patches against Fedora 9's rpm. The first adds a Namearch

Re: [Rpm-maint] [PATCH] rpmdbCountPackagesArch

2008-06-28 Thread Pixel
Thomas Fitzsimmons [EMAIL PROTECTED] writes: I'm working on a way to pass per-architecture package counts to scriptlets [1] for the record, mandriva is not allowing to install 2 pkgs with different arch. So any change on this subject won't hurt/help us :) To achieve biarch support Mandriva is

Re: [Rpm-maint] [PATCH] rpmdbCountPackagesArch

2008-06-28 Thread Pixel
Thomas Fitzsimmons [EMAIL PROTECTED] writes: I'm working on a way to pass per-architecture package counts to scriptlets [1]. Jeff Johnson suggested creating a new database index for this purpose [2]. Attached are two patches against Fedora 9's rpm. The first adds a Namearch index to the

[Rpm-maint] [PATCH] rpmdbCountPackagesArch

2008-06-27 Thread Thomas Fitzsimmons
Hi, I'm working on a way to pass per-architecture package counts to scriptlets [1]. Jeff Johnson suggested creating a new database index for this purpose [2]. Attached are two patches against Fedora 9's rpm. The first adds a Namearch index to the RPM database. The second uses Namearch to