public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: [PATCH setup 3/3] Add the last element of URL path to site chooser, if interesting.
Date: Tue, 22 Apr 2014 07:53:00 -0000	[thread overview]
Message-ID: <20140422075315.GB5959@calimero.vinschen.de> (raw)
In-Reply-To: <53555F7C.7070708@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]

On Apr 21 19:12, Jon TURNEY wrote:
> On 21/04/2014 15:10, Christopher Faylor wrote:
> > On Mon, Apr 21, 2014 at 12:16:27PM +0100, Jon TURNEY wrote:
> >> If I add the site http://mirrors.kernel.org/sources.redhat.com/cygwinports/ to
> >> setup's mirror list, using the GUI or --site option, I get two indistinguishable
> >> entries named http://mirrors.kernel.org in the mirror list box.
> >>
> >> So, to make the site chooser list entries more distinguishable, add the last
> >> element of the URL path to the site chooser, if it exists and isn't 'cygwin' (or
> >> some other alternatives used by current mirrors)
> >>
> >> As Corinna pointed out in Nov 2010, there is still a corner case of URLs which
> >> share protocol, hostname and the last element of the URL path being
> >> indistinguishable.  Additionally, it will need updating for any new mirrors which
> >> don't use one of the expected strings for the last path element in the URL.
> > 
> > I'd actually be ok with just displaying the whole URL even if it ends with Cygwin.
> > Is there a reason not to do that?
> 
> Last time this was discussed [1], I think you felt that the current site list
> and dialog box is too small to display the full URL usefully.
> 
> [1] http://cygwin.com/ml/cygwin-apps/2010-11/msg00134.html

The dialog has still a lot of space to the left and right of the URL
list window.  We could resize it to take the full available space even
in the smallest dialog size.  I think that would be sufficient most
of the time.  And the dialog can be resized if it doesn't suffice.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-04-22  7:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 11:16 [PATCH setup 0/3] Setup download site list fixes Jon TURNEY
2014-04-21 11:16 ` [PATCH setup 3/3] Add the last element of URL path to site chooser, if interesting Jon TURNEY
2014-04-21 14:10   ` Christopher Faylor
2014-04-21 18:12     ` Jon TURNEY
2014-04-22  7:53       ` Corinna Vinschen [this message]
2014-04-22 14:47         ` Christopher Faylor
2014-04-22 17:50           ` Jon TURNEY
2014-04-21 11:16 ` [PATCH setup 1/3] Fix selecting sites added to the download site list box Jon TURNEY
2014-04-21 11:16 ` [PATCH setup 2/3] Correctly make displayed_url for non-FQDNs Jon TURNEY

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=20140422075315.GB5959@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    /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).