Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | TODO.org: marked bugs #6 and #7 as fixed. | Siddharth Ravikumar | 2015-09-12 | 1 | -2/+7 | |
| | ||||||
* | fix for bug #7. | Siddharth Ravikumar | 2015-09-12 | 1 | -1/+1 | |
| | ||||||
* | fix for bug #6 | Siddharth Ravikumar | 2015-09-12 | 1 | -2/+11 | |
| | | | | | Now, we check if the directory contains files, if it does, then we delay the deletion of the directory. | |||||
* | TODO.org: filed bug #7. | Siddharth Ravikumar | 2015-09-12 | 1 | -0/+1 | |
| | ||||||
* | TODO.org: filed bug #6. | Siddharth Ravikumar | 2015-09-12 | 1 | -2/+8 | |
| | ||||||
* | TODO.org: fixed b#5 | Siddharth Ravikumar | 2015-09-12 | 1 | -1/+4 | |
| | ||||||
* | fix for bug #5. | rsiddharth | 2015-09-12 | 1 | -8/+7 | |
| | ||||||
* | TODO.org: logged bug #5. | Siddharth Ravikumar | 2015-09-12 | 1 | -0/+4 | |
| | ||||||
* | tests/silo_test: updated test_csilo_noderem test. | Siddharth Ravikumar | 2015-09-12 | 1 | -1/+1 | |
| | ||||||
* | Introduced `node_store_moved_info' method in combox.silo.ComboxSilo class. | Siddharth Ravikumar | 2015-09-12 | 2 | -2/+27 | |
| | | | | | | | | This method allows us to track old path and new path of the file which is being renamed/moved. modified: combox/silo.py modified: tests/silo_test.py | |||||
* | combox.events: plaftorm specific changes. | Siddharth Ravikumar | 2015-09-07 | 1 | -7/+20 | |
| | | | | | | In NodeDirMonitor's on_moved method, when we detect that a shard is modified, we push the info, about the shard modification, to silo from the on_moved for the OS X platform. | |||||
* | combox.events: fixed file path variable name in NodeDirMonitor's on_move method. | Siddharth Ravikumar | 2015-09-07 | 1 | -5/+5 | |
| | ||||||
* | combox.events: fixed deadlock issue. | Siddharth Ravikumar | 2015-09-07 | 1 | -8/+7 | |
| | ||||||
* | combox.events: fixes a dropbox specific issue. | Siddharth Ravikumar | 2015-09-07 | 1 | -5/+8 | |
| | ||||||
* | combox.events: updated/added print statemets for debugging. | Siddharth Ravikumar | 2015-09-06 | 1 | -1/+2 | |
| | ||||||
* | combox.events: added `print' statements; helpful for debugging. | Siddharth Ravikumar | 2015-09-06 | 1 | -1/+9 | |
| | ||||||
* | ests.events_test: updated TestEvents's teardown_class method. | Siddharth Ravikumar | 2015-09-06 | 1 | -2/+2 | |
| | ||||||
* | combox.config: now we're always returning config_info no matter what. | Siddharth Ravikumar | 2015-09-06 | 1 | -0/+1 | |
| | ||||||
* | combox.config module update. | Siddharth Ravikumar | 2015-09-06 | 1 | -1/+1 | |
| | | | | | For obvious reasons, We are using os.makedirs to create node paths if it is not already created. | |||||
* | Wrote a fix for Google Drive client behavior for file modification. | Siddharth Ravikumar | 2015-09-06 | 2 | -14/+157 | |
| | | | | | | | | | | The unit test that simulates the behavior of Google Drive for file modification runs successfully, but I need to test this fix, with the Google Drive client monitoring a node directory, to confirm if the fix actually works. modified: combox/events.py modified: tests/events_test.py | |||||
* | combox.events: added print statements in NodeDirMonitor.events for debugging. | Siddharth Ravikumar | 2015-08-27 | 1 | -0/+3 | |
| | ||||||
* | combox/events.py: fixed a logical error in NodeDirMonitor.on_moved | Siddharth Ravikumar | 2015-08-27 | 1 | -1/+2 | |
| | ||||||
* | combox/events.py: fixed a logical mistake in the last commit. | Siddharth Ravikumar | 2015-08-27 | 1 | -1/+1 | |
| | ||||||
* | fixed dropbox specific issue in NodeDirMonitor.housekeep method. | Siddharth Ravikumar | 2015-08-27 | 1 | -1/+2 | |
| | | | | modified: combox/events.py | |||||
* | Fix for Dropbox weirdness. | Siddharth Ravikumar | 2015-08-26 | 1 | -15/+47 | |
| | | | | modded combox/events.py | |||||
* | combox/events.py: bugfix (Dropbox specific code). | Siddharth Ravikumar | 2015-08-26 | 1 | -2/+4 | |
| | ||||||
* | combox/events.py: fixed a Dropox specific issue :| | Siddharth Ravikumar | 2015-08-26 | 1 | -5/+22 | |
| | ||||||
* | combox/events.py: fixed Dropbox specific issue. | Siddharth Ravikumar | 2015-08-26 | 1 | -4/+13 | |
| | ||||||
* | fixed a Dropbox specific issue in NodeDirMonitor. | Siddharth Ravikumar | 2015-08-26 | 2 | -3/+23 | |
| | | | | | modified: TODO.org modified: combox/events.py | |||||
* | bug fix (b#4). | Siddharth Ravikumar | 2015-08-25 | 2 | -2/+17 | |
| | | | | | modified: TODO.org modified: combox/events.py | |||||
* | added new function file.no_of_shards + tests. | Siddharth Ravikumar | 2015-08-25 | 2 | -0/+46 | |
| | | | | | modified: combox/file.py modified: tests/file_test.py | |||||
* | setup.py: added new dependency `simplejson'. | Siddharth Ravikumar | 2015-08-24 | 2 | -1/+2 | |
| | | | | | | | | Looks like pickledb requires `simplejson'. modded: README.md setup.py | |||||
* | combox.config: silo directory is expanded to its abs. path when no silo ↵ | Siddharth Ravikumar | 2015-08-24 | 2 | -2/+2 | |
| | | | | | | | directory is given. modified: combox/config.py modified: tests/utils.py | |||||
* | updated combox.cbox.run_cb. | Siddharth Ravikumar | 2015-08-24 | 1 | -0/+3 | |
| | | | | | Now, the first node monitor does the housekeeping thing on the node directories. | |||||
* | combox/events.py: fixed typo in comment. | Siddharth Ravikumar | 2015-08-24 | 1 | -1/+1 | |
| | ||||||
* | Intergrated node monitor into the combox.cbox module. | Siddharth Ravikumar | 2015-05-08 | 1 | -9/+34 | |
| | | | | modified: combox/cbox.py | |||||
* | updated TODO.org | Siddharth Ravikumar | 2015-05-01 | 1 | -1/+14 | |
| | ||||||
* | Updated combox.events.NodeDirMonitor.housekeep's 're-construct file' ↵ | Siddharth Ravikumar | 2015-05-01 | 2 | -24/+63 | |
| | | | | | | | | | | | | | | | | | | | | functionality. - Now the housekeep method re-contructs the files, whose shards were created when combox was off, in the combox directory only if all of its shards have made it to the respective node directories. - If it finds only some of all the shards of a file missing, it stores this information in the `file_created' dict inside the silo. - tests.events_tests.TestEvents.test_NDM_housekeep_create tests the 're-construct file' functionality of combox.events.NodeDirMonitor.housekeep method. modified: combox/events.py modified: tests/events_test.py | |||||
* | added comments in combox.events.NodDirMonitor.housekeep method. | Siddharth Ravikumar | 2015-05-01 | 1 | -0/+3 | |
| | ||||||
* | Updated combox.events.NodeDirMonitor.housekeep's delete functionality. | Siddharth Ravikumar | 2015-04-30 | 2 | -12/+45 | |
| | | | | | | | | | | | | | | | | | | - Now the housekeep method deletes the file in the combox directory only if all of its shards are missing in the respective node directories -- meaning it was deleted on another computer (running combox). - If it finds only some of all the shards of a file missing, it stores this information in the `file_deleted' dict inside the silo. - tests.events_tests.TestEvents.test_NDM_housekeep_delete tests the delete functionality of combox.events.NodeDirMonitor.housekeep method. modified: combox/events.py modified: tests/events_test.py | |||||
* | combox.silo.ComboxSilo.node_set: added an optional parameter called `num'. | Siddharth Ravikumar | 2015-04-29 | 2 | -1/+20 | |
| | | | | | | | - Updated tests as usual. modified: combox/silo.py modified: tests/silo_test.py | |||||
* | TODO.org: rewrote combox.events.NodeDirMonitor.on_moved method | Siddharth Ravikumar | 2015-04-22 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | ------- Theory: Productivity is directly proportional to the slowness of your Internet connection -- slower it is better you are. Proof of theory: Joey Hess -- http://joeyh.name (lives in a cabin, has a dialup connection to the Internet). Hence, proved. ------- I did this zarking rewrite with the Internet zarking turned off. | |||||
* | rewrote combox.events.NodeDirMonitor.on_moved method. | Siddharth Ravikumar | 2015-04-22 | 2 | -15/+42 | |
| | | | | | | | | | | | | | - Now the node monitor waits for all shards of the file, which was moved/renamed on a remote computer, to get moved/renamed on this computer, before it finally reconstructs the moved/renamed file in the combox directory on this computer. - Updated the tests for on_moved method at tests.events_test.TestEvents.test_NDM_onmoved method. modified: combox/events.py modified: tests/events_test.py | |||||
* | TODO.org: added deadline for rewriting ↵ | Siddharth Ravikumar | 2015-04-22 | 1 | -0/+1 | |
| | | | | "combox.events.NodeDirMonitor.on_moved method". | |||||
* | TODO.org: rewrote combox.events.NodeDirMonitor.on_deleted method | Siddharth Ravikumar | 2015-04-15 | 1 | -2/+4 | |
| | ||||||
* | rewrote combox.events.NodeDirMonitor.on_deleted method. | Siddharth Ravikumar | 2015-04-15 | 2 | -6/+75 | |
| | | | | | | | | | | | | | | | | | | | | | - Now the the node monitor waits for all shards of the file, which was deleted on a remote computer, to get deleted on this computer, before it finally deletes the respective file in the combox directory. - Tests for it is at tests.events_test.TestEvents.test_NDM_ondeleted method. modified: combox/events.py modified: tests/events_test.py Did some of this while listening to Cat Stevens' (Yusuf): - Just Another Night - Wild World - Father and son (*) - Peace train - Moonshadow (*) | |||||
* | combox/silo.py: added comment in ComboxSilo.node_set() | Siddharth Ravikumar | 2015-04-15 | 1 | -1/+4 | |
| | ||||||
* | TODO.org: added deadline for TODO rewrite ↵ | Siddharth Ravikumar | 2015-04-15 | 1 | -0/+1 | |
| | | | | combox.events.NodeDirMonitor.on_deleted method | |||||
* | TODO.org: bug #1 is done. | Siddharth Ravikumar | 2015-04-09 | 1 | -1/+4 | |
| | ||||||
* | fixed bug #1 (platform-specific) | Siddharth Ravikumar | 2015-04-09 | 2 | -5/+8 | |
| | | | | | | | we're using os.path.expanduser instead of os.getenv('HOME'). modified: combox/cbox.py modified: combox/config.py |