setup.exe stalled?

Christopher Faylor cgf@redhat.com
Sat Oct 27 10:33:00 GMT 2001


On Sun, Oct 28, 2001 at 03:59:48AM +1100, Robert Collins wrote:
>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>To: <cygwin-developers@cygwin.com>
>Sent: Sunday, October 28, 2001 3:53 AM
>Subject: Re: setup.exe stalled?
>
>
>> On Sun, Oct 28, 2001 at 03:50:28AM +1100, Robert Collins wrote:
>> >>
>> >> One thing that I noticed is that if you cycle through the "View"
>> >> selections, when you come around to "Category" again, there is
>nothing
>> >> displayed for installation.
>> >
>> >Huh? Nothing *displayed* or *nothing selected*. What happens if you
>> >expand a single category that had selected items previously?
>>
>> The display is different when you cycle through it.  The first time
>> through, categories and packages are displayed.  The second time
>through
>> only the categories are displayed.  No packages are displayed.
>
>Ok, so thats UI side.
>
>> I don't know if the packages are still selected for installation.
>
>As you've got it in front of you, can you expand a category that had
>packages selected and see what it shows?

The first time through, categories are displayed along with packages that
will be installed by default.

The second time through, no packages are displayed.  If I click on Base,
it shows all of the packages, as if this was a "Full" display but only
the previously selected packages are actually selected for installation.

If I hit Back and then Next, the display is "normal".  Only the packages
that are auto-selected for installation are displayed.

>> Hmm.  How does this work?  Are we still selecting everything for
>> installation?  I guess we should probably only be selecting the "Base"
>> installation and allow people to click on "Development" and get
>> everything under Development if they want, etc.
>
>We only select (IIRC-hard coded in select.c) 'base' (case insensitive) +
>and dependencies. And that only happends when prev/curr/exp are
>selected. Changing the view *should not* change selections.

I don't see the word "base" anywhere that looks pertinent in the cinstall
directory.  I do see this in the default_trust function in choose.cc, though:

if (pkg->category && !(getpackagecategorybyname (pkg, "Required") ||
  getpackagecategorybyname (pkg, "Misc")))

I wonder if this is my handiwork.  This is the mechanism that would choose
things, right?

cgf



More information about the Cygwin-developers mailing list