Mailinglist Archive: zypp-devel (92 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: DiskUsage calculation status (update)
- From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
- Date: Tue, 7 Aug 2007 16:00:33 +0200
- Message-id: <200708071600.35471.dmacvicar@xxxxxxx>
On Tuesday 07 August 2007 15:41:04 Ladislav Slezak wrote:
> The software proposal is called after partitioning proposal so if any change
>(add/remove a partition) in the partitioner would trigger DU rebuild it
should
>work. At the begining it can be set to the current partitioning (inst-sys),
it
>will be changed to the proposed partitioning before requesting any DU data
anyway...
If that works. The parser only takes care that getZYpp()->getPartitions() is
not empty, otherwise it will fallback to try to detect them.
Note: reparsing DU data right now means reparsing the repository. We don't
support per-file rebuild of cache (now, but it wll be easier to add than
before).
> BTW How much time does it take to parse DU file from e.g. Alpha7 DVD?
Depends on how much partitions you have. If you have the 100.000 partitions
for which our packages.DU file was (over)engineered, it takes infinitum.
For a number of parttions that can be counted with your hand it should take
just a couple of seconds.
Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
> The software proposal is called after partitioning proposal so if any change
>(add/remove a partition) in the partitioner would trigger DU rebuild it
should
>work. At the begining it can be set to the current partitioning (inst-sys),
it
>will be changed to the proposed partitioning before requesting any DU data
anyway...
If that works. The parser only takes care that getZYpp()->getPartitions() is
not empty, otherwise it will fallback to try to detect them.
Note: reparsing DU data right now means reparsing the repository. We don't
support per-file rebuild of cache (now, but it wll be easier to add than
before).
> BTW How much time does it take to parse DU file from e.g. Alpha7 DVD?
Depends on how much partitions you have. If you have the 100.000 partitions
for which our packages.DU file was (over)engineered, it takes infinitum.
For a number of parttions that can be counted with your hand it should take
just a couple of seconds.
Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |