﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
640	Cli fs operations refactoring	azazel		"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:

 * remove duplication;
 * code comprehensibility and normalization of behavior;
 * spread availability of improvements found in latter commands (backup) to other commands;
 * easier implementation of new features like non-ascii charset handling for filenames;
 * better handling of logging?

The steps in order to do that (that I can see):

 1. Recognize the needs of each command in term of fs manipulation;

 2. Look at the best implementation available and eventually improve it;

 3. maybe design a minimal layer that will help handling alias/path/cap based operations and other cases.

Other interesting points to discuss:

 * See whether a replacement of httplib with twisted can help in parallelizing and increasing the bandwidth usage.

Let's discuss it!

"	enhancement	new	major	undecided	code-frontend-cli	1.3.0		cleanup		
