shithub: todofs

ref: 6dc0bc759e48e1fc98cd5faf7237c128dd8eb914
dir: /README/

View raw version
todo filesystem

* this is an experiment. *
* It's not the best, both design and implementation. *


Usage:

todofs path/to/dir

the todo-directory must contain at least one file called `index`:

	key=config nextid=1

It will be filled with metadata when creating tasks and statuses.


Console interface (ctl file):

addstatus <name> - create a new status
dump - write data back to disk. Shouldn't be needed.


Task interaction:

Imagine the following scenario:

	/mnt/todo/StatusA/1-First_Task
	/mnt/todo/StatusB/2-Second_Task
	; cd /mnt/todo

To move task 1 to StatusB, use create:

	; touch StatusB/1

To edit a task, just open/read/write the task file. This will be forwarded to files-on-disk automatically.

To rename a task:

	; mv StatusB/2-Second_Task 'StatusB/My other task'
	; ls StatusB/2*
	2-My_other_task

To create a new task, create it:

	; touch 'StatusA/New Task'
	; ls StatusA
	3-New_Task

To change assignee/group:

	; chgrp -o alice StatusA/3-New_Task
	; chgrp engineering StatusA/3-New_Task
	; ls -l StatusA
	... alice engineering ... 3-New_Task