This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

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, 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, which was what the OP's complained about.  Besides, you can
grep setup.exe itself for the version (the one on, that is).
      |\      _,,,---,,_ |
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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]