-
Notifications
You must be signed in to change notification settings - Fork 56
Vit fails when using new context definition (Taswkarrior 2.6.0) #305
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.
8000Already on GitHub? Sign in to your account
Comments
Not sure how long this will take to fix. I'm guessing 2.6.0 is backwards compatible with the older context config, so for now, just use the older config style. |
@thehunmonkgroup Taskwarrior is indeed backwards compatible on this, so defining
However, it goes without saying that without the new form people won't have the ability to differentiate between "read" and "write" 🙂 I can have a look if this is something that can be quickly fixed, if you prefer. |
The context definition consists of two configuration variables in 2.6.0 and later, namely: context.<name>.read=<filter> context.<name>.write=<mods> This makes config parser compatible with moth the new and the old context definition styles. In the new style, the "read" context is used for vit's purposes. Closes vit-project#305.
The context definition consists of two configuration variables in 2.6.0 and later, namely: context.<name>.read=<filter> context.<name>.write=<mods> This makes config parser compatible with moth the new and the old context definition styles. In the new style, the "read" context is used for vit's purposes. Closes vit-project#305.
@lambtho12 can you try latest master and see if the issue is fixed, and that contexts are behaving properly in vit? I think I got it, but didn't do heavy testing. |
OK, I had some bad code in there in my first commit, I think I have it now, let me know. |
🎉 Works for me (as in |
Sorry for the delay. I confirm that it works for me as well. |
I'm using master as well with taskwarrior 2.6.0 and I've had 6505 no issues so far 👍 |
Describe the bug
Taskwarrior 2.6.0 redefined the way context should be specified in the .taskrc. When using the new definition, vit will not start and throws the following error:
To Reproduce
Create a minimal .taskrc with the new context defninition
Expected behavior
Vit should open normally
The text was updated successfully, but these errors were encountered: