public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: jhg@acm.org, The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Curious setup behavior?
Date: Sun, 12 Feb 2023 16:35:12 +0000	[thread overview]
Message-ID: <feddbafb-5e48-1940-0dd3-1aa63e0b1303@dronecode.org.uk> (raw)
In-Reply-To: <19227575-b1f5-e21d-8739-3b2033e8025a@jhmg.net>

On 02/02/2023 19:46, Jim Garrison via Cygwin wrote:
> 1) Launch setup-x86_64 and go as far as the "Pending" list (assuming
>     there are pending packages to be updated).  Note "Best" is selected.
> 
> 2) Then click "Back" to get to the mirror selection page
> 
> 3) Click "Next" again.
> 
> Now it says there is nothing pending.
> 
> 4) Click back (mirror selection) and re-select the same or a different
>     mirror and click "Next"
> 
> Still nothing pending, "Best" is still selected.
> 
> 5) Select "Sync" instead of "Best"
> 
> All the pending packages reappear.  Switching from "Sync" back to "Best"
> does not affect the display at this point.

Well, it does because these are two different things, but in most usual 
circumstances they select the same set of packages.

(I think e.g. if you've previously installed a test version, they will 
give different results)

> If you initially have "Sync" selected, then switching to "Best" reveals
> the missing pending items.  I.e. restoring the list seems to be
> "edge-triggered" on the "Keep/Best/Sync" state.

Yes, this is almost certainly not implemented correctly.

Unfortunately, this is complex, because of interactions with how we 
apply packages and selection modes selected via the command line. It's 
not clear at all to me what should happen here when those exist and 
you've then modified them in the chooser and then go back and forward.

At the moment, the back button is always enabled, I think.  There's 
probably some points in the flow where we shouldn't allow that.


      reply	other threads:[~2023-02-12 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02 19:46 Jim Garrison
2023-02-12 16:35 ` Jon Turney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=feddbafb-5e48-1940-0dd3-1aa63e0b1303@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin@cygwin.com \
    --cc=jhg@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).