summaryrefslogtreecommitdiffstats
path: root/TODO.org
blob: 92def6264e40c256cdd50ac2068c1c5e61ca4b35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
* combox
** bugs :bugs:
*** platform specific :platform-specific:
**** DONE use os.path.expanduser to get user's home directory			 :b#1:
	 CLOSED: [2015-04-09 Thu 17:21]
	 - CLOSING NOTE [2015-04-09 Thu 17:21] \\
	   Done. But I'm not sure if fix the issue in Windows though.
	 At present os.getenv('HOME') is used to get the user's home
	 directory; This does not seem to work on Windows[1].

	 Thanks to Dr. Green for finding this.

	 [1]: http://stackoverflow.com/questions/4028904/how-to-get-the-home-directory-in-python
**** DONE combox not handling temprorary files created by editors properly :b#2:
     CLOSED: [2015-09-29 Tue 14:15]
     - CLOSING NOTE [2015-09-29 Tue 14:15] \\
       Done.
**** TODO config has problems creating nested node directories           :b#3:
**** DONE NodeDirMonitor.on_modified assums shard 0 is always available :b#4:
     CLOSED: [2015-08-25 Tue 23:21]
     - CLOSING NOTE [2015-08-25 Tue 23:21] \\
       Fixed this. Now it checks if all shards are available before
       doing decrypt and glue.
     This is not always the case.
*** functionality
**** DONE combox does not move shards properly                          :b#5:
     When a file is moved/renamed to a place in different directory,
     combox does not corresponding move/rename shards.
     CLOSED: [2015-09-12 Sat 20:18]
     - CLOSING NOTE [2015-09-12 Sat 20:18] \\
       Done.
**** DONE directory rename does not delete old directory on remote computer. :b#6:
     This is happending because the files inside the directory are
     going through a delayed deletion.
     CLOSED: [2015-09-12 Sat 22:20]
     - CLOSING NOTE [2015-09-12 Sat 22:20] \\
       Done.

     The solution will be to do a delayed deletion of the old directory path.
**** DONE combox.file.rm_path fails when a non-existent file is given   :b#7:
     CLOSED: [2015-09-12 Sat 22:20]
     - CLOSING NOTE [2015-09-12 Sat 22:20]
**** DONE combox does not differentiate between local and remote directory delete. :b#8:
     CLOSED: [2015-09-12 Sat 23:29]
     - CLOSING NOTE [2015-09-12 Sat 23:29] \\
       Fixed.
**** DONE read_file and write_file functions in combox.file must call close() on file objects :b#9:
     CLOSED: [2015-10-16 Fri 19:37]
     - CLOSING NOTE [2015-10-16 Fri 19:37] \\
       Fixed it.

**** DONE combox has problems handling large files                     :b#10:
     CLOSED: [2015-11-13 Fri 09:18]
     Large files (500MiB say) are not getting written properly in combox directory.
**** DONE ComboxDirMonitor does not use Lock                           :b#11:
     CLOSED: [2015-11-19 Thu 08:36]
     This class must be modified to use the same the Lock that the
     node monitors are using.
** functionlity
*** DONE rewrite combox.events.NodeDirMonitor.on_created method
	CLOSED: [2015-04-01 Wed 23:06]
	- CLOSING NOTE [2015-04-01 Wed 23:06] \\
	  Done.
*** DONE rewrite combox.events.NodeDirMonitor.on_moved method
	 CLOSED: [2015-04-22 Wed 20:51] DEADLINE: <2015-04-24 Fri 08:00>
	 - CLOSING NOTE [2015-04-22 Wed 20:51] \\
	   Zarking holy, this is done.
*** DONE rewrite combox.events.NodeDirMonitor.on_deleted method
	 CLOSED: [2015-04-15 Wed 20:59] DEADLINE: <2015-04-17 Fri 08:00>
	 - CLOSING NOTE [2015-04-15 Wed 20:59] \\
	   Zarking done, I guess.
*** DONE rewrite combox.events.NodeDirMonitor.on_modified method
	CLOSED: [2015-04-08 Wed 20:58] DEADLINE: <2015-04-10 Fri 23:00>
	- CLOSING NOTE [2015-04-08 Wed 20:58] \\
	  Done.

	  Part of it was done while listening to Avril's "Complicated".
*** DONE rewrite combox.events.NodeDirMonitor.housekeep method's 'delete file' functionality
	 CLOSED: [2015-05-01 Fri 09:43]
	 - CLOSING NOTE [2015-05-01 Fri 09:43] \\
	   Done.
*** DONE rewrite combox.events.NodeDirMonitor.housekeep method's 're-construct created file' functionality
	 CLOSED: [2015-05-01 Fri 09:43]
	 - CLOSING NOTE [2015-05-01 Fri 09:43] \\
	   Done.
*** TODO rewrite combox.events.NodeDirMonitor.housekeep method's 're-construct modified file' functionality
	- This is not release critical. So, I'm going not going to focus
      on this now.
	- To do this, we got to store information about the the names of
      the shards that are getting created/modified/deleted/moved in
      the node directories.
*** DONE change combox.cbox to initialize a node monitor for each node  directory.
    CLOSED: [2015-11-02 Mon 11:39]
    - CLOSING NOTE [2015-11-02 Mon 11:39] \\
      This was done long long time ago. I don't know why I did not mark it
      as DONE.
*** DONE ComboxSilo: reload db from disk before reading/writing to it.
	CLOSED: [2015-04-01 Wed 11:13]
	- CLOSING NOTE [2015-04-01 Wed 11:13] \\
	  Yeah, done.
*** DONE modify combox.silo.ComboxSilo so that it uses Locks properly.
	CLOSED: [2015-04-01 Wed 10:37] DEADLINE: <2015-04-03 Fri 09:00>
	- CLOSING NOTE [2015-04-01 Wed 10:37] \\
	  Zarking done.
*** DONE flesh out housekeep method in combox.events.NodeDirMonitor
	CLOSED: [2015-03-26 Thu 20:29] DEADLINE: <2015-03-27 Fri 23:00>
	- CLOSING NOTE [2015-03-26 Thu 20:29] \\
	  First version done + corresponding tests have been written.

	  Now, we got to work on making the NodeDirMonitor behave more
	  realistically taking into account the beautiful imperfections of this
	  zarking world.
*** DONE fix the silo bug in ComboxDirMonitor and NodeDirMonitor
	CLOSED: [2015-03-04 Wed 20:12] DEADLINE: <2015-03-06 Fri 09:00>
	- CLOSING NOTE [2015-03-04 Wed 20:12] \\
	  Done.
*** DONE flesh out on_delete method (NodeDirMonitor)
	CLOSED: [2015-03-04 Wed 23:06] DEADLINE: <2015-03-06 Fri 09:00>
	- CLOSING NOTE [2015-03-04 Wed 23:06] \\
	  Done.
*** DONE write on_moved method (NodeDirMonitor)
	CLOSED: [2015-03-18 Wed 21:53] DEADLINE: <2015-03-22 Fri 09:00>
	- CLOSING NOTE [2015-03-18 Wed 21:53] \\
	  zarking done.
*** DONE flesh out another method in NodeDirMonitor
	 CLOSED: [2015-02-26 Thu 22:58] DEADLINE: <2015-02-26 Thu 23:00>
	 - CLOSING NOTE [2015-02-26 Thu 22:58] \\
	   Done. Fleshed out on_modified method + wrote tests for it.
*** DONE fix the on_create method in ComboxDirMonitor
	 CLOSED: [2015-02-26 Thu 02:46] DEADLINE: <2015-02-26 Thu 23:00>
	 - CLOSING NOTE [2015-02-26 Thu 02:46] \\
	   Done.
*** DONE start thinking about how to write the node monitor.
	 CLOSED: [2015-02-13 Fri 09:40] DEADLINE: <2015-02-13 Fri 09:00>
	 - CLOSING NOTE [2015-02-13 Fri 09:40] \\
	   Thought about during times of idleness. But haven't started writing
	   the code for it yet.

	   Must positively start working on it during the week to come.
*** DONE try to rewrite the tests.
	 CLOSED: [2015-02-13 Fri 09:38] DEADLINE: <2015-02-13 Fri 09:00>
	 - CLOSING NOTE [2015-02-13 Fri 09:38] \\
	   Re-wrote all of the tests. Now tests have have proper setup and
	   teardown methods.

	   Still some work has to be done to remove files produced by the
	   tests. Will work on it during the week to come.
*** DONE integrate config into cbox script.
	 CLOSED: [2015-02-08 Sun 21:22] DEADLINE: <2015-02-08 Sun 23:00>
	 - CLOSING NOTE [2015-02-08 Sun 21:22] \\
	   This was already done before. Neverthless, when testing the cbox
	   script, I found a bug and fixed it.
*** DONE redis - Read redis py README file.
	 DEADLINE: <2015-02-03 Tue 23:59>
*** DONE put cbox script in bin/
	 CLOSED: [2015-02-05 Thu 21:30] DEADLINE: <2015-02-06 Fri 09:00>
	 - CLOSING NOTE [2015-02-05 Thu 21:30] \\
	   Did this using 'entry_points' thingy.
	   See: https://pythonhosted.org/setuptools/setuptools.html#automatic-script-creation
	must do it through setup.py
*** DONE Write the combox monitor startup thingy
	 DEADLINE: <2015-01-29 Thu>
** unit tests
*** TODO unit test the NodeDirMonitor.on_modified method for the special Dropbox thing.