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

Split recurring tasks when modifying the first instance #617

Closed
dmfs opened this issue Jan 7, 2018 · 2 comments
Closed

Split recurring tasks when modifying the first instance #617

dmfs opened this issue Jan 7, 2018 · 2 comments
Labels

Comments

@dmfs
Copy link
Owner

dmfs commented Jan 7, 2018

It's probably a good idea to split a recurring tasks when overriding the first instance. After the split there would be a single task for the override and a recurring task starting at the next instance (if there is any). This way we don't have to deal with all the old instances of completed tasks. Also some clients seem to support this model only (i.e. Apple clients).
The drawback is, we loose the information about the recurrence, i.e. the current instance would appear as a single task, not a recurring one. One solution to this could be to add a special relation which identifies this task as a part of a recurrence set.
TODO: decide which of these tasks is the result of the old task being modified and which one is the newly created one.

@dmfs dmfs added the provider label Jan 7, 2018
@dmfs
Copy link
Owner Author

dmfs commented Sep 14, 2019

For starters, let's only split off completed instances and see how this works out with Apple and other clients.

dmfs added a commit that referenced this issue Dec 6, 2019
In order to support simple recurrence models and also keep long running tasks small we detach completed instances at the beginning of a series into separate task instances.
dmfs added a commit that referenced this issue Dec 6, 2019
In order to support simple recurrence models and also keep long running tasks small we detach completed instances at the beginning of a series into separate task instances.
dmfs added a commit that referenced this issue Jan 21, 2020
In order to support simple recurrence models and also keep long running tasks small we detach completed instances at the beginning of a series into separate task instances.
dmfs added a commit that referenced this issue Jan 21, 2020
In order to support simple recurrence models and also keep long running tasks small we detach completed instances at the beginning of a series into separate task instances.
dmfs added a commit that referenced this issue Jan 21, 2020
In order to support simple recurrence models and also keep long running tasks small we detach completed instances at the beginning of a series into separate task instances.
dmfs added a commit that referenced this issue Jan 21, 2020
In order to support simple recurrence models and also keep long running tasks small we detach completed instances at the beginning of a series into separate task instances.
@dmfs
Copy link
Owner Author

dmfs commented Jan 31, 2020

Done.

@dmfs dmfs closed this as completed Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant