X-Spam-Check-By: sourceware.org
Date: Mon, 16 Jul 2007 19:48:04 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Pedro Alves <pedro_alves@portugalmail.pt>
cc: cygwin@cygwin.com
Subject: Re: hacked package on server
In-Reply-To: <469BFD33.7000504@portugalmail.pt>
Message-ID: <Pine.GSO.4.63.0707161942231.18589@access1.cims.nyu.edu>
References: <12471618.1184601552985.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net>  <Pine.GSO.4.63.0707161448430.18589@access1.cims.nyu.edu>  <183c528b0707161244s83639c9j8ddfb09da2948f29@mail.gmail.com>  <20070716211443.GB4858@ednor.casa.cgf.cx>  <7FE216529E1FE248A760B58F6B82A81002094EA1@EMMA.personal.adp.ltu.se>  <469BFD33.7000504@portugalmail.pt>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, 17 Jul 2007, Pedro Alves wrote:

> Bengt-Arne Fjellner wrote:
>
> > Well in my opinion It could even be better to have an unchecked checkbox
> > like:
> >
> > Wrong MD5 sum detected.
> > This package look broken. Try another mirror.
> > ( ) Yes I Really want to install this even if it looks broken.
> >
> > OK
> >
> > Or something like that. Then its two clicks or several keystrokes before
> > one can continue.
>
> yes, and having something like:
>
> are you sure <yes|no>
>
> (user clicks yes)
>
> are you really sure? <yes|no>
>
> (user clicks yes again)
>
> are you really, really sure? <yes|no>
>
> ... also makes it several clicks.

Indeed.

> The best solution, would be to replace the yes/no buttons with
> verbs/actions, like skip/'install anyway'/abort.
> I haven't looked at the code, but it is probably using
> MessageBox(Ex), which doesn't allow that.  Coding an extended messagebox
> isn't *that* hard, but, it is still work that takes motivation to do.

Yes, the code does use MessageBox.  However, there already exists, in
fact, a bit of code implementing a custom MessageBox (or, rather,
overriding the button labels) for the "Retry on in-use files"
functionality.  Interested parties should look at lines 181-217 of
install.cc (which adds an MB_RETRYCONTINUE message box type).

> The second best, and quickest, would be for a patch to show up
> implementing Thorsten's suggestion that cfg pointed out.
> Until someone steps up to do the work, this discussion is just going
> to fade out and die.

That is exactly the right approach.  <http://cygwin.com/acronyms/#PTC>
drives the open-source world more than anything else.

So, any volunteers?  There isn't even a need to fill out a copyright
assignment for setup contributions...
	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!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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/

