taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

[TW-178] The 'has' attribute modifier should be polymorphic, understanding dependency id/uuid

Open taskwarrior opened this issue 7 years ago • 4 comments

Paul Beckingham on 2013-08-21T10:34:56Z says:

Adding polymorphism to the 'has' attribute modifier lets us query like this:

task depends.has:22 list

This will override the substring search with something more like the Python:

if 3 in [1, 2, 3, 4]:

Note that this should work for both id and UUID values.

Thanks to SynrG and King_DuckZ.

taskwarrior avatar Feb 12 '18 20:02 taskwarrior

Migrated metadata:

Created: 2013-08-21T10:34:56Z
Modified: 2015-02-09T14:33:49Z

taskwarrior avatar Feb 12 '18 20:02 taskwarrior

Renato Alves on 2014-09-22T14:12:50Z says:

Tests for "dep.contains" present in TW-1262.

taskwarrior avatar Feb 12 '18 20:02 taskwarrior

@tbabej I believe the "fixes" comment from the above commit is erroneous, it doesn't seem to relate to this issue. Indeed, the suggestion from this issue would sure be a nice thing to have, I think it would fix #2193 ?

smemsh avatar May 20 '22 17:05 smemsh

Yeah, that's an accidental closure because the commit referred to a different tracking system. Good catch!

tbabej avatar May 21 '22 01:05 tbabej