help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnats 4.0/Gnatsweb 4.0 migration problems.


From: Yngve Svendsen
Subject: Re: Gnats 4.0/Gnatsweb 4.0 migration problems.
Date: Tue, 06 Nov 2001 14:58:24 +0100

At 14:18 06.11.2001 +0100, Lars Henriksen wrote:
2.
Queries do not work (I have reported this as PR gnats/295).

$ query-pr --expr category="test"
query-pr: no PRs matched

Whereas

$ query-pr --category=test

returns 18 PRs. I can look at PRs by number, but have had no success with
regular expressions at all.

You need to quote the query expressions to protect them from shell interpretation. The following should work well:

query-pr --expr 'category="test"'

(Appendix D of the manual mentions shell quoting briefly)

From Gnatsweb 4.0 I get a

Return code: 415 - Invalid expression.

whenever I do a query with something other than "any".

That surprises me, because it works flawlessly in my test setup. Exactly what kind of query are we talking about here? Is it from the ordinary Query page, or are you using regular expressions in the Advanced query page? Could you please describe an exact procedure which reproduces this in your setup?

Yngve Svendsen
Gnatsweb maintainer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]