This is the mail archive of the cygwin-apps 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]

[PATCH] setup: Add --nowarn-if-older option


One consequence of doing releases from a separate branch, rather than the
trunk, is that self-built setup from the trunk will complain[*] that a
newer version is available (unless there was a check-in since the
release).  The attached patch adds a --nowarn-if-older (-o) option that
prevents this warning.  I'd be happy to have an alternative solution to
this problem (such as removing the warning altogether, or making it
non-modal).

Again, the ChangeLog is below.
	Igor
[*] Rather annoyingly, by popping one message box per mirror, plus an
extra message box in the end.
==============================================================================
2005-09-07  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

	* state.cc (no_warn_if_older): New global variable.
	* state.h (no_warn_if_older): Declare it.
	* main.cc (NoWarnIfOlderOption): New boolean option.
	* ini.cc (do_ini_thread): Don't warn about newer setup if
	no_warn_if_older is true.
	* IniDBBuilderPackage.cc (IniDBBuilderPackage::buildVersion): Ditto.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

Attachment: setup-nowarn-ifolder-option.patch
Description: Text document


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