This is the mail archive of the
mailing list for the Cygwin project.
RE: Suggestion: add "setup.exe" version number to Cygwin home page
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 20 Jun 2006 10:00:46 -0400 (EDT)
- Subject: RE: Suggestion: add "setup.exe" version number to Cygwin home page
- References: <00be01c6945d$00463bb0$a501a8c0@CAM.ARTIMI.COM>
- Reply-to: cygwin at cygwin dot com
On Tue, 20 Jun 2006, Dave Korn wrote:
> On 19 June 2006 21:18, Buchbinder, Barry (NIH/NIAID) wrote:
> > Daniel Friedman wrote:
> >> It would be nice to learn the latest version of the Cygwin setup
> >> program "setup.exe" without having to download and install it.
> >> Hence I respectfully suggest adding a statement of form "Latest
> >> Cygwin setup.exe version is 2.510.2.2" to http://www.cygwin.com, e.g.
> >> right below the also-helpful "Latest Cygwin DLL release version
> >> is 1.5.19-4" statement.
> >> Thanks,
> >> --daniel
> > It's my experience that this is not really necessary. setup.ini
> > contains timestamp and version information. When setup.exe has been
> > updated, the version on the local system informs the user that a newer
> > version of setup.exe is available. (I would guess that if one is
> > updating using the automated, command line options one will not be so
> > informed. Of course, that may not be a problem since many of the
> > improvements are in the UI.)
> Alternatively, you can find out the latest setup.exe version anytime you
> want like this:-
> pushd >/dev/null /tmp && wget 2>/dev/null `cat
> /etc/setup/last-mirror`/setup.bz2 && ( bunzip2 -c setup.bz2 | grep
> setup-version | cut -f2 -d' ' ) && popd >/dev/null
wget -qO- `cat /etc/setup/last-mirror`/setup.bz2 | \
grep setup-version | cut -f2 -f' ' # :-p
But only if your last mirror was up-to-date, and this is probably just as
bad in terms of network traffic as downloading the actual setup.exe from
cygwin.com, which was what the OP's complained about. Besides, you can
grep setup.exe itself for the version (the one on cygwin.com, that is).
|\ _,,,---,,_ firstname.lastname@example.org | email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html