delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/29/11:45:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 29 May 2001 11:08:48 EDT
To: Cygwin Users <cygwin AT cygwin DOT com>
Subject: Re: Setup.exe v2.56
X-Mailer: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Message-Id: <VA.000007c8.004079c7@thesoftwaresource.com>
From: Brian Keener <bkeener AT thesoftwaresource DOT com>
Reply-To: bkeener AT thesoftwaresource DOT com
In-Reply-To: <3B13AE87.11095F1D@yahoo.com>
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F016 AT itdomain002 DOT itdomain DOT net DOT au> <3B13AE87 DOT 11095F1D AT yahoo DOT com>

Earnie Boyd wrote:
> > > Each time you do a Download from Internet or an Install from
> > > Internet  - yes.
> > 
> > More of a problem is that once setup understands dependencies, a
> > setup.ini will be mandatory. The directory structure is really moot vs
> > the need for setup to have accurate metainformation.
> > 
> 
> Hmm...  However, if a setup.ini doesn't exist then setup should still
> work as it did in previously which was to install any .tar.gz file in
> the directory and sub-directories recursively that setup.exe resides in.
>

This became increasingly more difficult to accomplish when I added the 
additional logic checks for what to display in the package chooser window at 
any given point in time.  What with the buttons for Prev, Current, and Test and 
attempting to make the chooser display what it should it became pretty evident 
we needed a setup.ini to tell us which packages were Prev, Curr, or Test.  What 
I wanted to do (but was not sure that the package struct would handle it) was 
to have setup see every file in the subdirectories as you mentioned and keep 
adding them to the structure.  Bear in mind now - that means for any given 
package (if someone never cleans up their files - cause setup won't) the 
operator might see 6+ different versions to select from whereas now it is only 
based on what versions setup.ini says are available and setup can actually find 
(ie at max 3 choices). 

I wasn't sure how to work with package structure such that I could keep adding 
values without blowing memory or stepping on something - remember I am new to 
this.

Setup is now also more closely tied to installed.db in /etc/setup if it exists. 
Remember part of this effort was to make setup more intelligent for users not 
totally familiar with its functions to allow it to lead them on a bit more.  
The downside to setup installing everything it finds is that in a case like 
mine I have a lot of other directories for packages which may or may not be 
Cygwin installable below my download archive directory for Cygwin packages and 
if setup found all of these I am sure it would barf on many of the file names 
trying to determine a package and or version or whatever else it might need 
from the file name.

Also Roberts comment on dependencies and if we try to come up with categories 
that the packages belong to will both make it imperative that there be a local 
control file.  If you are going to download 20 packages and move them some 
where on your network and then install 20 different times I think you are going 
to need something like a setup.ini and whatever else we come up with for 
categories and dependencies to make it work in that environment.

bk



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019