Skip Menu |

This queue is for tickets about the App-Todo CPAN distribution.

Report information
The Basics
Id: 63820
Status: open
Priority: 0/
Queue: App-Todo

People
Owner: Nobody in particular
Requestors: belg4mit [...] pthbb.org
jpierce [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.97
Fixed in: (no value)



Subject: list query not working
list query for priority or keyword in subjects returns all tasks.
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Sat, 11 Dec 2010 10:35:43 -0500
To: bug-App-Todo [...] rt.cpan.org
From: Thomas Sibley <tsibley [...] cpan.org>
Please send the commands you're actually running. Thomas
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Sat, 11 Dec 2010 22:27:48 -0500
To: bug-App-Todo [...] rt.cpan.org
From: belg4mit [...] pthbb.org
Show quoted text
>Please send the commands you're actually running.
Straight from the POD: todo.pl list important And also todo.pl list rocks
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Mon, 13 Dec 2010 11:58:36 -0500
To: bug-App-Todo [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
On 11 Dec 2010 22:27, belg4mit@pthbb.org via RT wrote: Show quoted text
>> Please send the commands you're actually running.
> > Straight from the POD: > > todo.pl list important
As the POD says: todo.pl list important Lists tasks specified by the named search 'important'. For more on named searches, see the CONFIG FILE section of the perldoc So what's the actual query behind your todo.pl search named "important"? Show quoted text
> todo.pl list rocks
Is this another named search of yours? What's the actual query? Thomas
Subject:
Date: Mon, 13 Dec 2010 12:10:12 -0500
To: bug-App-Todo [...] rt.cpan.org
From: belg4mit [...] pthbb.org
Show quoted text
>todo.pl list important > Lists tasks specified by the named search 'important'. > For more on named searches, see the CONFIG FILE section of the perldoc
Doh, I overlooked that. I was expecting more out-of-the-box utility, like RT simple search or (to a lesser extent) hiveminder's web interface, where the search recognizes certain keywords and DWIM e.g; important as shorthand for --pri > normal. The configuration requirement precludes off-the-cuff searching for arbitrary criteria diminishing the script's utility. Afterall, the top of the POD says "todo.pl list query" not "todo.pl list named-search-alias-for-complex-or-frequently-used-query"; that one must reimplement locally independent of the paid service named searches one might have. Perhaps it should fail if it is given a query it does not understand, instead of pausing to eventually return a list of all tasks?
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Mon, 13 Dec 2010 12:12:23 -0500
To: bug-App-Todo [...] rt.cpan.org
From: belg4mit [...] pthbb.org
Show quoted text
>todo.pl list important > Lists tasks specified by the named search 'important'. > For more on named searches, see the CONFIG FILE section of the perldoc
Doh, I overlooked that. I was expecting more out-of-the-box utility, like RT simple search or (to a lesser extent) hiveminder's web interface, where the search recognizes certain keywords and DWIM e.g; important as shorthand for --pri > normal. The configuration requirement precludes off-the-cuff searching for arbitrary criteria diminishing the script's utility. Afterall, the top of the POD says "todo.pl list query" not "todo.pl list named-search-alias-for-complex-or-frequently-used-query"; that one must reimplement locally independent of the paid service named searches one might have. Perhaps it should fail if it is given a query it does not understand, instead of pausing to eventually return a list of all tasks? P.S. Sorry about the previous subjectless submission.
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Mon, 13 Dec 2010 12:21:44 -0500
To: bug-App-Todo [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
The equivalent "simple search" is: todo.pl list query foo Patches are welcome for using pro saved lists (via the API), better doc, etc.
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Mon, 13 Dec 2010 12:36:59 -0500
To: bug-App-Todo [...] rt.cpan.org
From: belg4mit [...] pthbb.org
Ohh, so query is literally part of the command! The documentation is somewhat vague on this point. It is marked up as an option (sans additional parameters necessary for a query), and there are no examples of actual queries given, so it was (easily) mis-interepted as a placeholder for the query terms i.e; that todo.pl list foo would find tasks with foo in the searchable info rather than todo.pl list query foo Perhaps add to the synopsis todol.pl list query foo List tasks that match the arbitrary string foo
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Mon, 13 Dec 2010 12:45:47 -0500
To: bug-App-Todo [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
The searches are token based, like the underlying syntax on the web (visible in the URL or the grey subtitle on list pages). There's a small example in the doc: todo.pl list due before today not complete List tasks that are overdue. The "query" token is the same as "Summary, description, tags contain". Show quoted text
> Perhaps add to the synopsis > > todol.pl list query foo > List tasks that match the arbitrary string foo
A doc patch for this would be great. Thomas
Subject: Re: [rt.cpan.org #63820] list query not working
Date: Mon, 13 Dec 2010 12:50:56 -0500
To: bug-App-Todo [...] rt.cpan.org
From: belg4mit [...] pthbb.org
Show quoted text
>The searches are token based, like the underlying syntax on the web >(visible in the URL or the grey subtitle on list pages). There's a >small example in the doc:
Show quoted text
> todo.pl list due before today not complete > List tasks that are overdue.
That is not an equivalent example since it omits query Show quoted text
>The "query" token is the same as "Summary, description, tags contain".
The searched fields would be worth documenting. Show quoted text
>A doc patch for this would be great.
Indeed.