mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Import YAML
- Implemented the import-yaml.pl external script. - Added unit tests. - Fixed problem where the pending tasks were not loaded prior to uuid verification.
This commit is contained in:
parent
fa973f734b
commit
751e8e7f90
4 changed files with 195 additions and 56 deletions
|
@ -174,19 +174,12 @@ int CmdImport::execute (std::string& output)
|
|||
task.setAnnotations (annos);
|
||||
}
|
||||
|
||||
// TODO Implement
|
||||
else if (i->first == "parent")
|
||||
{
|
||||
}
|
||||
|
||||
// TODO Implement
|
||||
else if (i->first == "mask")
|
||||
{
|
||||
}
|
||||
|
||||
// TODO Implement
|
||||
else if (i->first == "imask")
|
||||
// Attributes without columns are simply added.
|
||||
else if (i->first == "parent" ||
|
||||
i->first == "mask" ||
|
||||
i->first == "imask")
|
||||
{
|
||||
task.set (i->first, unquoteText (i->second->dump ()));
|
||||
}
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue