diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-04-17 22:33:11 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-04-17 22:33:11 +0100 |
commit | f9679d48e3b8f7d76abb64a456c9062b9c020a99 (patch) | |
tree | 866e3b55d4364ebac38ac76ee949a559a3ee6bae /inboxes.mdwn | |
parent | 5ec08d412c5bccaec70749b256ca37fd6d5567e8 (diff) | |
download | gtdfh.liw.fi-f9679d48e3b8f7d76abb64a456c9062b9c020a99.tar.gz |
Added pseudo-code for inbox processing
Diffstat (limited to 'inboxes.mdwn')
-rw-r--r-- | inboxes.mdwn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inboxes.mdwn b/inboxes.mdwn index dede9c4..15941a5 100644 --- a/inboxes.mdwn +++ b/inboxes.mdwn @@ -95,6 +95,23 @@ from the inbox. This means you need to have a place to put it, even if it is only the trash. We will cover filing systems and other related tools later. + for inbox in inboxes: + while len(inbox) > 0: + item = inbox.pop() + if item.needs_action: + if item.can_be_delegated: + item.delegate() + waiting_for.append(item) + elif item.is_quick: + item.do() + elif len(item.actions) > 1: + projects.append(item) + next_actions.extend(item.actions) + else: + next_actions.append(item) + elif item.may_be_needed_later: + filing_system.put(item) + Bug trackers: not really inboxes -------------------------------- |