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

Do caldalv improvements #129

Merged
merged 2 commits into from
Aug 18, 2024
Merged

Do caldalv improvements #129

merged 2 commits into from
Aug 18, 2024

Conversation

bergercookie
Copy link
Owner

@bergercookie bergercookie commented Aug 17, 2024

  • Refactor caldav readme

  • caldav: Add to docs + mind the +WAITING vtag, cancelled/completed difference

  • Fix back-updating from caldav -> tw

    t add kalimera  # id: 1
    tw_caldav_sync ...
    t mod 1  kalimera2
    tw_caldav_sync
    # on subsequent syncs, the item 'kalimera2' would update caldav->tw because the description field was set in the former to "" and was unset in the latter.

    We're also not accounting the SYNCALL_TW_UUID in the identical keys to compare since that exists in the caldav version but not in the TW one.

  • Correct bug in TaskwarriorSide.items_are_identical

  • Move tw<>caldav tests to new test file and use proper parametrized pytest test cases

* Refactor caldav readme
* caldav: Add to docs + mind the +WAITING vtag, cancelled/completed difference
* Fix back-updating from caldav -> tw

  ```bash
  t add kalimera  # id: 1
  tw_caldav_sync ...
  t mod 1  kalimera2
  tw_caldav_sync
  # on subsequent syncs, the item 'kalimera2' would update caldav->tw
  because the description field was set in the former to "" and was unset
  in the latter.
  ```

  We're also not accounting the `SYNCALL_TW_UUID` in the identical keys
  to compare since that exists in the caldav version but not in the TW
  one.
@bergercookie bergercookie merged commit 0ff1bdd into master Aug 18, 2024
64 checks passed
@bergercookie bergercookie deleted the caldavimprovements branch August 18, 2024 21:27
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