From fec2af34bceb7b9d1b890e76e94f580c0d5d0795 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 9 Oct 2010 12:29:07 -0400 Subject: [PATCH] Movie - Finalized (hopefully) the movie script for 1.9.3. --- doc/misc/run.193 | 101 +++++++++++++++++++++++++--------------- doc/misc/script-193.txt | 44 +++++++++++++++-- 2 files changed, 104 insertions(+), 41 deletions(-) diff --git a/doc/misc/run.193 b/doc/misc/run.193 index e473274f9..ff3d7b707 100755 --- a/doc/misc/run.193 +++ b/doc/misc/run.193 @@ -7,9 +7,9 @@ echo 'color=off' >> x echo 'color.summary.background=on gray3' >> x # Basic usage -echo Basic usage -echo task rc:x add Select a free weekend in August -task rc:x add Select a free weekend in August +echo Basic usage -------------------------------------------------------------- +echo task rc:x add Select a free weekend in November +task rc:x add Select a free weekend in November echo task rc:x add Select and book a venue task rc:x add Select and book a venue echo task rc:x add Come up with a guest list @@ -34,7 +34,7 @@ echo task rc:x list task rc:x list # Projects -echo Projects +echo Projects -------------------------------------------------------------- echo task rc:x add Pay teh rent on teh 31st task rc:x add Pay teh rent on teh 31st echo task rc:x 7 /teh/the/g @@ -53,7 +53,7 @@ echo task rc:x li pro:par task rc:x li pro:par # Priorities -echo Priorities +echo Priorities -------------------------------------------------------------- echo task rc:x 1-3,5 priority:H echo 'All' | task rc:x 1-3,5 priority:H echo task rc:x list @@ -62,7 +62,7 @@ echo task rc:x 3 pri: task rc:x 3 pri: # Tags -echo Tags +echo Tags -------------------------------------------------------------- echo task rc:x list task rc:x list echo task rc:x 3,5,6 +mall @@ -75,7 +75,7 @@ echo task rc:x 3 -mall task rc:x 3 -mall # Modifications -echo Modifications +echo Modifications -------------------------------------------------------------- echo task rc:x 7 Pay rent at the end of the month echo 'Yes' | task rc:x 7 Pay rent at the end of the month echo task rc:x add music @@ -104,19 +104,19 @@ echo task rc:x undo echo 'y' | task rc:x undo # Info -echo Info +echo Info -------------------------------------------------------------- echo task rc:x 1 info task rc:x 1 info echo task rc:x stats task rc:x stats # Annotations -echo Annotations -echo task rc:x 1 annotate the 12th looks good -task rc:x 1 annotate the 12th looks good +echo Annotations -------------------------------------------------------------- +echo task rc:x 1 annotate the 13 looks good +task rc:x 1 annotate the 13 looks good sleep 1 -echo task rc:x 1 annotate or the 13th -task rc:x 1 annotate or the 13th +echo task rc:x 1 annotate or the 14th +task rc:x 1 annotate or the 14th echo task rc:x list task rc:x list echo task rc:x list rc.annotations:full @@ -125,13 +125,13 @@ echo task rc:x list rc.annotations:sparse task rc:x list rc.annotations:sparse echo task rc:x list rc.annotations:none task rc:x list rc.annotations:none -echo task rc:x 1 denotate 13th -task rc:x 1 denotate 13th +echo task rc:x 1 denotate 14th +task rc:x 1 denotate 14th echo task rc:x list task rc:x list # Configuration -echo Configuration +echo Configuration -------------------------------------------------------------- echo task rc:x show task rc:x show echo task rc:x config answer 42 @@ -144,7 +144,7 @@ echo task rc:x rc.report.list.sort=description+ list task rc:x rc.report.list.sort=description+ list # Defaults -echo Defaults +echo Defaults -------------------------------------------------------------- echo task rc:x config default.command list echo 'y' | task rc:x config default.command list echo task rc:x @@ -165,14 +165,14 @@ echo task rc:x config default.project echo 'y' | task rc:x config default.project # Aliases -echo Aliases +echo Aliases -------------------------------------------------------------- echo task rc:x config alias.zzz list echo 'y' | task rc:x config alias.zzz list echo task rc:x zzz task rc:x zzz # Color -echo Color +echo Color -------------------------------------------------------------- echo task rc:x config color on echo 'y' | task rc:x config color on echo task rc:x list @@ -214,7 +214,7 @@ echo man task-color #man task-color # Active tasks -echo Active tasks +echo Active tasks -------------------------------------------------------------- echo task rc:x 2 start task rc:x 2 start echo task rc:x list @@ -225,7 +225,7 @@ echo task rc:x 2 stop task rc:x 2 stop # Due dates -echo Due dates +echo Due dates -------------------------------------------------------------- echo task rc:x 1 due:7/31/2010 task rc:x 1 due:7/31/2010 echo task rc:x 1 due:2wks @@ -248,7 +248,7 @@ echo task rc:x rc.dateformat.report:Y-M-DTH:N:SZ list task rc:x rc.dateformat.report:Y-M-DTH:N:SZ list # Calendar -echo Calendar +echo Calendar -------------------------------------------------------------- echo task rc:x calendar task rc:x calendar echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc @@ -264,7 +264,7 @@ echo task rc:x rc.calendar.holidays:full cal task rc:x rc.calendar.holidays:full cal # Recurrence -echo Recurrence +echo Recurrence -------------------------------------------------------------- echo task rc:x 7 info task rc:x 7 info echo task rc:x 7 due:eom recur:monthly @@ -285,7 +285,7 @@ echo task rc:x list task rc:x list # Shell -echo Shell +echo Shell -------------------------------------------------------------- echo task rc:x shell #task rc:x shell echo '> projects' @@ -298,7 +298,7 @@ echo '> quit' #> quit # Special tags -echo Special tags +echo Special tags -------------------------------------------------------------- echo task rc:x 6 +nocolor task rc:x 6 +nocolor echo task rc:x list @@ -309,7 +309,7 @@ echo task rc:x 6 -nocolor task rc:x 6 -nocolor # Waiting -echo Waiting +echo Waiting -------------------------------------------------------------- echo task rc:x add Look for new apartment due:eoy task rc:x add Look for new apartment due:eoy echo task rc:x list @@ -333,14 +333,39 @@ echo task rc:x 11 rc.confirmation:no delete task rc:x 11 rc.confirmation:no delete # Dependencies -echo Dependencies - - - +echo Dependencies -------------------------------------------------------------- +echo task rc:x list pro:party +task rc:x list pro:party +echo task rc:x 3 depends:6 +task rc:x 3 depends:6 +echo task rc:x 6 dep:5 +task rc:x 6 dep:5 +echo task rc:x 2 dep:1 +task rc:x 2 dep:1 +echo task rc:x 5 dep:1,2 +task rc:x 5 dep:1,2 +echo task rc:x 4 dep:1 +task rc:x 4 dep:1 +echo task rc:x long pro:party +task rc:x long pro:party +echo task rc:x 5 dep:-1 +task rc:x 5 dep:-1 +echo task rc:x blocked +task rc:x blocked +echo task rc:x unblocked +task rc:x unblocked +echo task rc:x 1 info +task rc:x 1 info +echo task rc:x 2 info +task rc:x 2 info +echo task rc:x 2 done +echo 'y' | task rc:x 2 done +echo task rc:x 1 info +task rc:x 1 info # Reports -echo Reports +echo Reports -------------------------------------------------------------- echo task rc:x minimal task rc:x minimal echo task rc:x ls @@ -369,7 +394,7 @@ echo task rc:x next task rc:x next # Custom report -echo Custom report +echo Custom report -------------------------------------------------------------- echo 'report.foo.description=My own report' >> x echo 'report.foo.columns=id,entry,description' >> x echo 'report.foo.labels=ID,Entered,Description' >> x @@ -383,7 +408,7 @@ echo task rc:x foo task rc:x foo # Charts -echo Charts +echo Charts -------------------------------------------------------------- echo task rc:x history task rc:x history echo task rc:x history.annual @@ -396,7 +421,7 @@ echo task rc:x rc.color.summary.background:"on gray3" summary task rc:x rc.color.summary.background:"on gray3" summary # Advanced filters -echo Advanced filters +echo Advanced filters -------------------------------------------------------------- echo task rc:x list task rc:x list echo task rc:x list invit @@ -425,7 +450,7 @@ echo task rc:x all status:waiting task rc:x all status:waiting # Import/export -echo Import/export +echo Import/export -------------------------------------------------------------- echo task rc:x export.csv task rc:x export.csv echo task rc:x export.csv venue @@ -462,7 +487,7 @@ echo task rc:x new limit:2 task rc:x new limit:2 # Help -echo Help +echo Help -------------------------------------------------------------- echo task rc:x help task rc:x help echo man task @@ -475,9 +500,11 @@ echo man task-tutorial #man task-tutorial echo man task-faq #man task-faq +echo man task-sync +#man task-sync # Wrap up -echo Wrap up +echo Wrap up -------------------------------------------------------------- echo task rc:x version task rc:x version diff --git a/doc/misc/script-193.txt b/doc/misc/script-193.txt index 232536a33..93483c815 100644 --- a/doc/misc/script-193.txt +++ b/doc/misc/script-193.txt @@ -351,13 +351,42 @@ task add Do something in a few seconds To illustrate this, let's set up a task task 11 wait:5s wait time of five seconds. task list It's gone. -sleep 5 +(sleep 5) We wait for 5 seconds... task list And it's back. task 11 rc.confirmation:no delete And now it's deleted. ---------------------------------------- Dependencies ---------------------------------------------- - dependencies +task list pro:party Taskwarrior supports dependencies. Let's take a look at the + party planning tasks, and assign dependencies. + +task 3 depends:6 Let's see. I can't mail invitations until they are printed. +task 6 dep:5 I can't print them until I design them. +task 2 dep:1 I need to select a weekend before a location. +task 5 dep:1,2 Design depends on location and weekend. +task 4 dep:1 And the caterer needs to know where. + +task long pro:party All my tasks are blocked except task 1. That makes sense. + +task 5 dep:-1 Hmm, that double dependency isn't right. + +task blocked Here are the blocked tasks. +task unblocked and the opposite, the unblocked tasks. + +task 1 info If we look at task 1 closely, we can see that it is blocking +task 2 info 2 and 4. And if we look at task 2, we see that it is + blocked by 1, and blocking 5. + + This is called a dependency chain, which is a string of tasks + that are all connected not only by their project, but by + dependencies. + + Now we understand that task 1 should be done first, but you + may still violate the laws of physics if you wish. Let's + complete task 2 and see what happens. + +task 2 done (y) Taskwarrior realizes what you are doing, and offers to fix +task 1 info the dependency chain to reflect what you have done. ---------------------------------------- Reports --------------------------------------------------- @@ -368,8 +397,9 @@ task long The kitchen sink. task all The packrat. task completed Nostalgia. task recurring Groundhog day. -task waiting Secrets. +task waiting Surprises. task blocked Wedged. +task unblocked Unencumbered. task oldest Ancient history. task newest Contemporary. task timesheet Corporate. @@ -477,7 +507,13 @@ man task-color many features which have more capabilit man task-tutorial This screencast is actually just a recording of me going through the tutorial. -man task-faq + +man task-faq Some frequently asked questions are answered here. + +man task-sync You've patiently watched this whole movie, so here's your + reward - taskwarrior 1.9.3 has network synchronization + features, for sharing tasks across computers. But this is + just a teaser - synch will be shown in the next movie. ---------------------------------------- Wrap up ---------------------------------------------------