Open
Conversation
Contributor
|
If by cache you mean the cache database, it should be enough to just increment the schema version to force a rebuild. |
Taken from RFC 5545, section `3.8.4.5`. If present in a file, these values are now read and stored in the cache. Nothing in the UI has been changed. Tests are modified to reflect the change. Increment `SCHEMA_VERSION` to allow cache recreation on todoman update.
New names and values added to the JSON output for the `RELATED-TO` property.
List text output is now with a tree structure:
task 1
task 2
task 3
task 4
task 5
The table list is changed to a dictionary representing a tree.
No changes to the SQL queries are made.
RELTYPEs PARENT, CHILD and SIBLING are supported.
https://www.rfc-editor.org/rfc/rfc5545#section-3.2.15
Includes output space formatting fixes.
Tests adjusted to changes.
Comment for describing the weird code for merging arguments.
Using the newly supported attributes, two new options are added. `--subtask-for`, making a task be a subtask for another and `--not-subtask`, making a task no longer be a subtask. The commands `new` and `edit` are fitted with these new options.
e87552a to
b6ee7fa
Compare
Author
Ah thank you, I totally missed it! I rebased my changes to make use of this and to describe it properly in comments and in the documentation. I edited the first comment of the PR to remove the "breaking changes" part since it's not true anymore. |
|
Hey, I just rebased this to the current main for myself and as far as I can see everything works as intended, thanks for that! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for RELATED-TO property and RELTYPE parameter.
Taken from RFC 5545, section
3.8.4.5. If present in a file, these values are now read and stored in the cache.Tests are modified to reflect the change.
The
SCHEMA_VERSIONis incremented to allow the cache to be recreated after the update.Nothing is required from the user to be done for the changes in this PR to work.
Before:

After:

Closes: #396