[patch] add -p option to cygcheck to query website package search
Tue Nov 22 17:25:00 GMT 2005
On Mon, Jun 20, 2005 at 01:04:45PM -0700, Brian Dessent wrote:
>Here is a patch that implements the -p option to cygcheck that was
>mentioned on the list previously. It uses the WinInet API to hit the
>package-grep.cgi URL on cygwin.com with the search regexp supplied by
Five+ months later, I've checked in (most of) this patch to cygcheck.cc
and the documentation.
It seems like the bug fix that was in the patch was no longer needed
since it didn't apply and the code around the fix had changed.
One reason for the delay was that I wanted to do things a little
differently in package-grep.cgi. I think I've done that, with the help
of HTML::TreeBuilder. So, there is now a "text" option to this script,
similar to your patch, which will just dump raw text.
Another reason for the delay was that I didn't want to add another way
to overload the old sourceware.org. However, the new system is
perfectly capable of handling anything we can throw at it for the
foreseeable future, so this seemed like a good time to implement this
Other than that, your patch just went in as-is. I'm going to make a
snapshot with this change in it soon, Brian, so if you have some new
insights after five months, please let me know so that I can incorporate
I apologize for the very long lag time in getting this patch in. I do
appreciate your addition of this functionality to cygcheck.exe. I hope
that it will be a useful addition to our bag of tech support tricks.
More information about the Cygwin-patches