Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#451237: debian-cd: list2cds add_package() needs some love

From: Steve McIntyre <steve(at)einval.com>
Date: Thu Jan 10 2008 - 20:05:04 EST


tag 451237 +pending
thanks

On Wed, Nov 14, 2007 at 01:11:54PM +0100, Frans Pop wrote:
>Package: debian-cd
>Version: 3.0.3
>
>The log for list2cds currently has for _all_ packages:
> Adding <package> to CD 1 ...
>I.e. the CD counter never increases. This makes the log somewhat confusing.
>
>Also, the image size increases to infinity:
> $cd_size = 17049601950, $size = 76764
>
>The fact that the CD counter is never increased may also have a more serious
>side effect because packages excluded for CD1 may now never be included
>again as the following code is not hit any more:
> # Creation of a new CD when needed
> if ($cd_size + $size > $limit) {
> [...]
>
> # Unexclude packages
> unexclude ($cd);
> }
>
>But maybe there's a different mechanism for that now?
>
>Anyway, some cleanup seems indicated.

Just checked in.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"When C++ is your hammer, everything looks like a thumb." -- Steven M. Haflich




-- 
To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Jan 10 20:10:41 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:57:08 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library