From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 742 invoked by alias); 29 Jul 2008 17:13:25 -0000 Received: (qmail 731 invoked by uid 22791); 29 Jul 2008 17:13:24 -0000 X-Spam-Check-By: sourceware.org Received: from dessent.net (HELO dessent.net) (69.60.119.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jul 2008 17:13:07 +0000 Received: from localhost.localdomain ([127.0.0.1] helo=dessent.net) by dessent.net with esmtp (Exim 4.50) id 1KNsky-0007MS-Q3; Tue, 29 Jul 2008 17:13:04 +0000 Message-ID: <488F4F00.887FD361@dessent.net> Date: Tue, 29 Jul 2008 17:13:00 -0000 From: Brian Dessent Reply-To: cygwin-apps@cygwin.com X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: John Morrison CC: cygwin-apps@cygwin.com Subject: Re: Package Grep source and Program not installed functionality References: <488F257D.2E56FFA8@dessent.net> <40e575aeeead0d1901cf3fc8f51c1075.squirrel@mail.morrison.mine.nu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2008-07/txt/msg00178.txt.bz2 John Morrison wrote: > > This already exists, it's spelled "cygcheck -p". > > I didn't know. Thanks for the sarcasm. God I'd forgotten just how nasty > this list can be. And all for wanting to make cygwin a 'nicer' > environment for new/inexperienced users. Seriously, no snark intended. You asked about adding feature X to package-grep.cgi, but feature X already exists and is used by cygcheck to implement -p. As far as auto-suggesting things when commands aren't found, I think there are a lot of implications to consider: - privacy aspects of every user's misspelled commands ending up in sourceware logs - latency aspects of delaying the prompt by a HTTP roundtrip and a sourceware grep for each missing command - increased load on sourceware - implications for offline/disconnected users - large amounts of output when a command matches a string in lots of packages As far as I know ubuntu can simply query the local APT database which is a different prospect entirely than initiating a HTTP request to a remote server. Brian