From owner-freebsd-stable Thu Jun 25 17:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27798 for freebsd-stable-outgoing; Thu, 25 Jun 1998 17:01:21 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from gatekeeper.alcatel.com.au (gatekeeper.alcatel.com.au [203.17.66.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27611 for ; Thu, 25 Jun 1998 17:00:17 -0700 (PDT) (envelope-from peter.jeremy@alcatel.com.au) Received: from mfg1.cim.alcatel.com.au ("port 3994"@[139.188.23.1]) by gatekeeper.alcatel.com.au (PMDF V5.1-7 #U2695) with ESMTP id <01IYOSCMGTRK0044VR@gatekeeper.alcatel.com.au> for stable@FreeBSD.ORG; Fri, 26 Jun 1998 09:58:24 +1000 Received: from gsms01.alcatel.com.au by cim.alcatel.com.au (PMDF V5.1-10 #23324) with ESMTP id <01IYOSCK41EOCWHZD0@cim.alcatel.com.au>; Fri, 26 Jun 1998 09:58:22 +1000 Received: (from jeremyp@localhost) by gsms01.alcatel.com.au (8.8.8/8.7.3) id JAA19458; Fri, 26 Jun 1998 09:58:20 +1000 (EST) Date: Fri, 26 Jun 1998 09:58:20 +1000 (EST) From: Peter Jeremy Subject: Re: Release schedule for 2.2.7 To: seggers@semyam.dinoco.de Cc: stable@FreeBSD.ORG Message-id: <199806252358.JAA19458@gsms01.alcatel.com.au> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 25 Jun 1998 22:15:23 +0200, Stefan Eggers 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