Suggestion: add "setup.exe" version number to Cygwin home page

Igor Peshansky pechtcha@cs.nyu.edu
Tue Jun 20 14:05:00 GMT 2006


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@cs.nyu.edu | igor@watson.ibm.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/



More information about the Cygwin mailing list