Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 09:58:20 +1000 (EST)
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        seggers@semyam.dinoco.de
Cc:        stable@FreeBSD.ORG
Subject:   Re: Release schedule for 2.2.7
Message-ID:  <199806252358.JAA19458@gsms01.alcatel.com.au>

next in thread | raw e-mail | index | archive | help
On Thu, 25 Jun 1998 22:15:23 +0200, Stefan Eggers <seggers@semyam.dinoco.de> wrote:
>The hardest part will be marking the needed dependencies and doing it
>in a way which avoids accidental unmarking of those still needed by
>something else.
For each entry, you'll need to store a `selected by user' flag as well
as a pointer to each selected package that depends on this package(*).
The user can toggle the `selected by user' flag, but the package will
be installed anyway if any other packages depend on it.  The visual
indicator (currently space or `X') needs to be able to show `needed by
another package' distinctly from `selected by user', but probably
doesn't need to distinguish whether other packages depend on it or not
if the user wants it.  (It might be useful to allow the user to see
what packages depend on or require this package).

>My plan with this is that the user gets show which packages really get
>installed
I agree that this is a big advantage.

>  If
>A needs B and something else (lets name it C) already has B as a
>dependency A adds just size(A) and not size(A)+size(B).
As I see it, the INDEX file needs to have a new field containing the
installed size of the package itself (ignoring dependencies) When a
user selects (removes) a package, dependencies are recursively added
(deleted) to the list of packages to install.  The total space needed
required field is just a matter of adding the sizes of all the
packages to install.

Question: How do you tell the user that he needs X11 for a package, but
hasn't installed X yet?

(*) You need to distinguish which packages depend on this one so that the
    dependencies are correctly retained when packages are deselected.  A
    reference counter might do.

Peter
--
Peter Jeremy (VK2PJ)                    peter.jeremy@alcatel.com.au
Alcatel Australia Limited
41 Mandible St                          Phone: +61 2 9690 5019
ALEXANDRIA  NSW  2015                   Fax:   +61 2 9690 5247

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806252358.JAA19458>