ModifyTaskInTaskwarrior has wrong conditionals for updates
escapedStatus is checked against "completed" and "deleted", when the sprintf that creates it prepends status:
escapedStatus := fmt.Sprintf(`status:%s`, strings.ReplaceAll(status, `"`, `\"`))
if escapedStatus == "completed" {
cmd = exec.Command("task", taskuuid, "done", "rc.confirmation=off")
cmd.Run()
} else if escapedStatus == "deleted" {
cmd = exec.Command("task", taskuuid, "delete", "rc.confirmation=off")
cmd.Run()
}
Yes so, It should use status here instead of escapedStatus.
Is this issue open for all @sternj ?
are you interested in working on it? @SGI-CAPP-AT2
yes, Do you think it's beginner friendly?
What do you think about this (https://github.com/CCExtractor/ccsync/issues/52#issuecomment-2482140387) ? @its-me-abhishek
i have assigned this to you..
What do you think about this (https://github.com/CCExtractor/ccsync/issues/52#issuecomment-2482140387) ?
this seems to be correct, either you can replace with status, or prepend a 'status:' in the escapedStatus check
@its-me-abhishek While docker compose up I am getting following error. How can I resolve ? , beacause I've followed all setup from here Error:
PS D:\CCExtractor Repos\ccsync> docker-compose up
[+] Running 1/1
✘ syncserver Error pull access denied for taskchampion-sync-server, repository does not exist or may require... 2.2s
Error response from daemon: pull access denied for taskchampion-sync-server, repository does not exist or may require 'docker login'
EDIT: Error has been RESOLVED By installation of taskchampion-sync-server
Sorry for ping