Changes between Initial Version and Version 2 of Ticket #640
- Timestamp:
- 2010-03-25T02:22:21Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #640
- Property Keywords cleanup added
-
Ticket #640 – Description
initial v2 1 Actually, almost each of the cli commands implement theirown logic to do fs operations, both local-side and tahoe-side. I think that most of the command modules should be refactored to use common code. This is for many reasons among:1 Each of the cli commands implements its own logic to do fs operations, both local-side and tahoe-side. I think that most of the command modules should be refactored to use common code. This is for many reasons among: 2 2 3 3 * remove duplication; 4 4 * code comprehensibility and normalization of behavior; 5 * spread avai ability of improvements found in latter commands (backup) to other commands;5 * spread availability of improvements found in latter commands (backup) to other commands; 6 6 * easier implementation of new features like non-ascii charset handling for filenames; 7 7 * better handling of logging? 8 8 9 The steps in order to do that (that ican see):9 The steps in order to do that (that I can see): 10 10 11 11 1. Recognize the needs of each command in term of fs manipulation; … … 13 13 2. Look at the best implementation available and eventually improve it; 14 14 15 3. maybe design a minimal layer that will help handling alias/path/cap based ope tationsand other cases.15 3. maybe design a minimal layer that will help handling alias/path/cap based operations and other cases. 16 16 17 17 Other interesting points to discuss: 18 18 19 * See ifa replacement of httplib with twisted can help in parallelizing and increasing the bandwidth usage.19 * See whether a replacement of httplib with twisted can help in parallelizing and increasing the bandwidth usage. 20 20 21 21 Let's discuss it!