public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com
Subject: Re: [PATCH setup] Add setup-minimum-version: to setup.ini
Date: Mon, 26 Feb 2018 17:45:00 -0000	[thread overview]
Message-ID: <67a9b2f4-2916-6445-69b7-75d17e68fc81@dronecode.org.uk> (raw)
In-Reply-To: <3018e134-6108-6899-e268-d1aca702e074@gmail.com>

On 26/02/2018 17:10, cyg Simple wrote:
> On 2/26/2018 9:02 AM, Jon Turney wrote:
>> This allows setup.ini to require a certain setup version, rather than advise
>> a newer version when one is available.
>>
>> Unfortunately, versions of setup prior to this one don't implement this, but
>> at least we have this going forward.
>>
>> When we want to start using this, we can break backwards compatibility with
>> even older setup in a less clean way, simply by using setup.ini grammar that
>> they can't parse.
> While you're breaking backward compatibility may I be so bold as to

Um, what?  This doesn't do anything of the sort.

> suggest a change in the name of setup EXE to include the version of
> setup?  And then with that change a query to the user to download and
> use the newest version of setup?

This will break more than backwards compatibility with old versions of 
setup, but also any scripts that do 'wget -N 
https://cygwin.com/setup-x86_64.exe', or equivalent.

It also invalidates a lot of written references to this executable, so 
we should probably only make this change with good reason.

> The change stems from a long standing desire to do just what I've
> described.  Since setup knows that it is out of date why force the user
> to exit it, go to cygwin.com to download the current version and then
> restart that version of setup?  The name change would allow for an easy
> method to apply a change to do the download of the newer version from
> the older version as it removes the name conflict.

You might find the code in [1] a good starting point for an alternate 
implementation, which doesn't require renaming the executable.

[1] https://cygwin.com/ml/cygwin-apps/2011-04/msg00054.html

  reply	other threads:[~2018-02-26 17:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26 14:02 Jon Turney
2018-02-26 17:10 ` cyg Simple
2018-02-26 17:45   ` Jon Turney [this message]
2018-02-27 14:32     ` cyg Simple
2018-02-27 15:32       ` Marco Atzeri
2018-02-27 20:17         ` cyg Simple
2018-02-28 18:54           ` Achim Gratz
2018-03-02 16:09     ` cyg Simple

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=67a9b2f4-2916-6445-69b7-75d17e68fc81@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --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).