Task Management with Hiveminder and Perl

This is how I manage my tasks with Hiveminder on a weekly basis and the Perl script that helps me do it. I don’t really expect the Perl script to be useful to anyone as-is but portions of it may be useful to others, as well as the general work flow, so I’ve decided to share them.

nnnnn

At Linode we have a wiki page where we list 5 or more tasks we wish to accomplish during the week. There is a heading for each employee and below the heading we place our tasks. Throughout the week we can add additional tasks or mark existing ones as done.

nnnnn

I’ve used Hiveminder for some time. When we started the weekly task lists at Linode I found that taking a few minutes to figure out which tasks I wish to complete in the coming week works quite well for me. I started marking these tasks with the ‘week’ tag in Hiveminder. I quickly ended up writing a perl script, week.pl, to help me manage hem.

nnnnnnnnnn

My Weekly Workflow

nnnnn

First thing Monday morning I run:

nnn

$ week.pl reportn

nn

This prints a report with two sections. The first section lists tasks that currently have the ‘week’ tag with a line through the task ID if it is completed. This gives me a nice summary of what I planned on accomplishing the previous week and how I did. The second section lists all of my tasks currently visible in Hiveminder. I hide tasks that I know I’m not going to work on in the next few weeks so this list is usually no more than 20 or 30 items.

nnn

Sample report Image

nn

I take this report into the Monday morning meeting with me. During the meeting, I’ll glance over this list and select items for the upcoming week. I also use this page to take notes on during the meeting, writing down any new tasks that come up in the meeting.

nnnnn

After the meeting, I add any new tasks generated in the meeting that I won’t be working on this week to Hiveminder.

nnn

$ todo.pl braindumpn

nn

`todo.pl` comes from App::Todo, a command line Hiveminder interface. The braindump command launches $EDITOR where I add new tasks, one per line. The braindump syntax allows for specifying tags, setting priorities, and other things as well.

nnnnn

Next, I prepare the task list for the upcoming week:

nnn

$ week.pl editnCarry over the following tasks?nbring about world peace (y or n) [default y] ynwrite some awesome prendo some other cool stuffncreate practical cold fusion (y or n) [default y] nnreturn library bookn

nn

The `edit` command iterates over each task tagged with ‘week’ if the task is not marked completed. It prompts whether or not I wish to carry the task over to this week (leave the tag). Any tasks marked completed have the tag removed automatically.

nnn

$ week.pl addnCreated:n        #YRVK write an awesome report for Tom [week dev]n        #YRVL test some new stuff for deployment [week admin]n

nn

The `add

nnn

$ week.pl update https://path.to.trac/wiki/Tasks/2010-03-15nSup dawg, I heard you like tasks so I did ur shit for youn

nn

The `update` command grabs my tasks tagged with ‘week’ and formats them one per line started with ‘ * ‘, a wiki bullet list. It grabs the current wiki page, finds my heading, substitutes the formatted task list under the heading, and submits the change. It also stores the path given in the YAML config file.

nnn

$week.pl gon

nn

This opens the stored URL for this week’s tasks wiki page in my default browser, allowing me to confirm week.pl did what it’s supposed to.

nnnnn

Later in the week once I’ve done something:

nnn

$ week.pl done tomn#YH7T bring about world peace [dev week]n#YRVL test some new stuff for deployment [week admin]n[DONE] #YRVK write an awesome report for Tom [week dev]n

nn

This retrieves the task(s) tagged ‘week’ that are not marked completed containing the given string. If there was only one match, the script marks it as done and then outputs the current state of tasks tagged ‘week’.

nnn

$ week.pl updatenSup dawg, I heard you like tasks so I did ur shit for youn

nn

Same as `update` before, except when no URL is given, the URL is read from the configuration file. This way I only need to worry about the URL once per week, the first time I update for the week.

nnnnn

Conclusion

nnnnn

So there you have it. If you are also using Hiveminder, maybe aspects of my work flow will make sense for you and pieces of the Perl script may be useful. If you aren’t using Hiveminder, maybe you will be inspired to check it out. I use michael@thegrebs.com on Hiveminder in case you feel the need to assign me a task or wish to gift me another year of Hiveminder Pro 😉

nnn

week.pl

n