public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] Fix cygcheck -p (was: Cygwin package search down for a while)
       [not found] ` <20130823192251.GA3454@ednor.casa.cgf.cx>
@ 2013-08-23 19:46   ` Yaakov (Cygwin/X)
  2013-08-23 20:11     ` [PATCH] Fix cygcheck -p Yaakov (Cygwin/X)
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-08-23 19:46 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

On 2013-08-23 14:22, Christopher Faylor wrote:
> On Fri, Aug 23, 2013 at 01:27:13PM -0400, Christopher Faylor wrote:
>> I'm working on bringing Cygwin's package search into the multi-arch
>> world so it will be down for a while while I tweak things.
>
> This went much faster than I expected.  The new package interface allows
> you to switch between x86 and x86_64 when searching for or displaying
> packages.
>
> This interface now uses javascript to control which arch is displayed.

Patch to adapt 'cygcheck -p' for this change attached.


Yaakov


[-- Attachment #2: cygcheck-p-arch.patch --]
[-- Type: text/x-patch, Size: 900 bytes --]

2013-08-23  Yaakov Selkowitz  <yselkowitz@...>

	* cygcheck.cc (base_url): Add appropriate arch parameter.

Index: cygcheck.cc
===================================================================
RCS file: /cvs/src/src/winsup/utils/cygcheck.cc,v
retrieving revision 1.139
diff -u -p -r1.139 cygcheck.cc
--- cygcheck.cc	7 Jul 2013 16:57:11 -0000	1.139
+++ cygcheck.cc	23 Aug 2013 19:40:26 -0000
@@ -2129,7 +2129,11 @@ static const char safe_chars[] = "$-_.+!
 
 /* the URL to query.  */
 static const char base_url[] =
-	"http://cygwin.com/cgi-bin2/package-grep.cgi?text=1&grep=";
+#ifdef __x86_64__
+	"http://cygwin.com/cgi-bin2/package-grep.cgi?text=1&arch=x86_64&grep=";
+#else
+	"http://cygwin.com/cgi-bin2/package-grep.cgi?text=1&arch=x86&grep=";
+#endif
 
 /* Queries Cygwin web site for packages containing files matching a regexp.
    Return value is 1 if there was a problem, otherwise 0.  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix cygcheck -p
  2013-08-23 19:46   ` [PATCH] Fix cygcheck -p (was: Cygwin package search down for a while) Yaakov (Cygwin/X)
@ 2013-08-23 20:11     ` Yaakov (Cygwin/X)
  2013-08-23 20:22       ` Christopher Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-08-23 20:11 UTC (permalink / raw)
  To: cygwin-patches

On 2013-08-23 14:46, Yaakov (Cygwin/X) wrote:
> On 2013-08-23 14:22, Christopher Faylor wrote:
>> On Fri, Aug 23, 2013 at 01:27:13PM -0400, Christopher Faylor wrote:
>>> I'm working on bringing Cygwin's package search into the multi-arch
>>> world so it will be down for a while while I tweak things.
>>
>> This went much faster than I expected.  The new package interface allows
>> you to switch between x86 and x86_64 when searching for or displaying
>> packages.
>>
>> This interface now uses javascript to control which arch is displayed.
>
> Patch to adapt 'cygcheck -p' for this change attached.

Never mind, cgf fixed this already.


Yaakov

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix cygcheck -p
  2013-08-23 20:11     ` [PATCH] Fix cygcheck -p Yaakov (Cygwin/X)
@ 2013-08-23 20:22       ` Christopher Faylor
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2013-08-23 20:22 UTC (permalink / raw)
  To: cygwin-patches

On Fri, Aug 23, 2013 at 03:11:24PM -0500, Yaakov (Cygwin/X) wrote:
>On 2013-08-23 14:46, Yaakov (Cygwin/X) wrote:
>> On 2013-08-23 14:22, Christopher Faylor wrote:
>>> On Fri, Aug 23, 2013 at 01:27:13PM -0400, Christopher Faylor wrote:
>>>> I'm working on bringing Cygwin's package search into the multi-arch
>>>> world so it will be down for a while while I tweak things.
>>>
>>> This went much faster than I expected.  The new package interface allows
>>> you to switch between x86 and x86_64 when searching for or displaying
>>> packages.
>>>
>>> This interface now uses javascript to control which arch is displayed.
>>
>> Patch to adapt 'cygcheck -p' for this change attached.
>
>Never mind, cgf fixed this already.

I had it sitting in my sandbox, ready to check in but I've been
investigating an odd snapshot-generation problem.

cgf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-23 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <announce.20130823172713.GA6948@ednor.casa.cgf.cx>
     [not found] ` <20130823192251.GA3454@ednor.casa.cgf.cx>
2013-08-23 19:46   ` [PATCH] Fix cygcheck -p (was: Cygwin package search down for a while) Yaakov (Cygwin/X)
2013-08-23 20:11     ` [PATCH] Fix cygcheck -p Yaakov (Cygwin/X)
2013-08-23 20:22       ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).