mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
Recurrence: Added notes
This commit is contained in:
parent
1f6ea2a8ad
commit
54ea38b663
1 changed files with 14 additions and 1 deletions
|
@ -29,6 +29,14 @@
|
||||||
|
|
||||||
extern Context context;
|
extern Context context;
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Checklist:
|
||||||
|
// - last: Most recently generated instance integer. The first instance
|
||||||
|
// generated is '1'.
|
||||||
|
// - Sync must merge duplicate N.
|
||||||
|
// - Remove recurrence.limit. Now always 1. It is not something that can be done
|
||||||
|
// with rtype:chained tasks.
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Given an old-style task, upgrades it perfectly.
|
// Given an old-style task, upgrades it perfectly.
|
||||||
// Note: Works for both parent and child.
|
// Note: Works for both parent and child.
|
||||||
|
@ -51,9 +59,14 @@ static Datetime calculateDueN (const Task&, int)
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
static void synthesizeTasks (const Task&)
|
static void synthesizeTasks (const Task&)
|
||||||
{
|
{
|
||||||
|
context.debug ("synthesizeTasks start");
|
||||||
|
|
||||||
|
// TODO 'due' = starting point
|
||||||
|
// TODO 'recur' = frequency
|
||||||
|
// TODO 'last' = index of most recently synthesized instance
|
||||||
|
|
||||||
|
|
||||||
|
context.debug ("synthesizeTasks end");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue