delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/20/10:01:04

X-Spam-Check-By: sourceware.org
Date: Tue, 20 Jun 2006 10:00:46 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dave DOT korn AT artimi DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Suggestion: add "setup.exe" version number to Cygwin home page
In-Reply-To: <00be01c6945d$00463bb0$a501a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.63.0606200956430.11100@access1.cims.nyu.edu>
References: <00be01c6945d$00463bb0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list 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).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019