summaryrefslogblamecommitdiffstats
path: root/TODO.org
blob: 92def6264e40c256cdd50ac2068c1c5e61ca4b35 (plain) (tree)
1
2
3
4
5
6
7
8
9
        

                                         
                                                                                      


                                                                     

                                                                    
 


                                                                                                



                                                                                






                                                                              
                 
                                                                             

                                                                    


                                             
                                                                                  

                                                                  


                                             

                                                                             


                                                                             



                                                                                        



                                                                                                   
 

                                                                             
                                                                                   

                                                                             

                                                                  




                                                               



                                                                        



                                                                        





                                                                       













                                                                                                           




                                                                                  






















                                                                               
               
















                                                                              
 





                                                                          
 
















                                                                                             

                                                                                       
* 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.