Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace attr.is:value queries with attr == "value". #91

Merged
merged 1 commit into from
Feb 17, 2015

Conversation

ralphbean
Copy link
Owner

This came up as a result of discussions near the release of
taskwarrior-2.4.1. It turns out that the 'attr.modifier:value' form of
querying is deprecated. It won't go away for a long time, but we need
to eventually move to 'attr == "value"'.

This approach makes taskw perhaps more "helpful" than it should be in
that the query that the user pretty explicitly specifies to
python-taskw, gets changed under the covers before it is handed off to
taskwarrior.

This adds an extra test that failed before the code in
taskw/utils.py was introduced. That new code change makes the test
pass (and introduces no other new failures in the test suite). Tox is
happy on a local run.

This came up as a result of discussions near the release of
taskwarrior-2.4.1.  It turns out that the 'attr.modifier:value' form of
querying is deprecated.  It won't go away for a long time, but we need
to eventually move to 'attr == "value"'.

This approach makes taskw perhaps more "helpful" than it should be in
that the query that the user pretty explicitly specifies to
python-taskw, gets changed under the covers before it is handed off to
taskwarrior.

This adds an extra test that failed before the code in
``taskw/utils.py`` was introduced.  That new code change makes the test
pass (and introduces no other new failures in the test suite).  Tox is
happy on a local run.
ralphbean added a commit that referenced this pull request Feb 17, 2015
Replace attr.is:value queries with attr == "value".
@ralphbean ralphbean merged commit 55afe8d into develop Feb 17, 2015
@ralphbean ralphbean deleted the feature/is-to-equals branch February 17, 2015 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant