From bde1e0dd9ade8eb64996901161e92499087e9d35 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 9 Oct 2010 12:24:57 -0400 Subject: [PATCH] Dependencies - Added a new 'unblocked' report to complement the 'blocked' report. - Updated docs. --- ChangeLog | 1 + NEWS | 2 ++ doc/man/task.1 | 8 ++++++++ src/Config.cpp | 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index eda1295a7..cb7f6e3c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -35,6 +35,7 @@ of precedence via the 'rule.precedence.color' configuration variable. + New 'depends' column for custom reports. + New 'blocked' report for showing blocked tasks. + + New 'unblocked' report for showing tasks that are not blocked. + Improved man pages (thanks to Andy Lester). + Default .taskrc files are now largely empty, and rely almost completed on default values. diff --git a/NEWS b/NEWS index ba2549eda..7ea0afb01 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,8 @@ New Features in taskwarrior 1.9.3 - User-controlled color rule precedence. - Two new color themes. - New holiday files for US, SE, DE, CA, FR, UK, ES and NL localizations. + - Task dependencies, and new 'blocked' and 'unblocked' reports for list + those tasks. Please refer to the ChangeLog file for full details. There are too many to list here. diff --git a/doc/man/task.1 b/doc/man/task.1 index 83d44a972..c34a1aa32 100644 --- a/doc/man/task.1 +++ b/doc/man/task.1 @@ -292,6 +292,14 @@ Shows all recurring tasks matching the specified criteria. .B waiting [tags] [attrs] [description] Shows all waiting tasks matching the specified criteria. +.TP +.B blocked [tags] [attrs] [description] +Shows all blocked tasks, that are dependent on other tasks. + +.TP +.B unblocked [tags] [attrs] [description] +Shows all tasks that are not blocked by dependencies. + .TP .B next [tags] [attrs] [description] Shows all tasks with upcoming due dates matching the specified criteria. diff --git a/src/Config.cpp b/src/Config.cpp index c8a08a233..c018ca417 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -393,7 +393,7 @@ std::string Config::defaults = "#report.next.annotations=full\n" "\n" "# task blocked\n" - "report.blocked.description=Lists all tasks matching the specified criteria\n" + "report.blocked.description=Lists all blocked tasks matching the specified criteria\n" "report.blocked.columns=id,depends,project,priority,due,active,age,description\n" "report.blocked.labels=ID,Deps,Project,Pri,Due,Active,Age,Description\n" "report.blocked.sort=due+,priority-,active-,project+\n" @@ -401,7 +401,7 @@ std::string Config::defaults = "#report.blocked.dateformat=m/d/Y\n" "\n" "# task unblocked\n" - "report.unblocked.description=Lists all tasks matching the specified criteria\n" + "report.unblocked.description=Lists all unblocked tasks matching the specified criteria\n" "report.unblocked.columns=id,depends,project,priority,due,active,age,description\n" "report.unblocked.labels=ID,Deps,Project,Pri,Due,Active,Age,Description\n" "report.unblocked.sort=due+,priority-,active-,project+\n"