Problems with FTP transport in Bazaar-NG 0.8

John Arbash Meinel john at arbash-meinel.com
Tue May 16 14:38:58 BST 2006


Jan Hudec wrote:

...

>> If someone can find a small FTP server that we can bundle, for use in
>> the test suite, that would allow FTP to be tested, and it would be less
>> likely to break.
> 
> I fear 'small FTP server' is a contradiction. FTP is unfortunately
> rather complicated protocol.
> 
> Hm, the only ftp server in python I can find is the medusa thing. But
> looking at contents of the debian package with only 27 python sources,
> out of which about half seem to handlers for different protocols, it
> might be small enough to include it. The latest release is at
> http://www.amk.ca/python/code/medusa.html if you want to take a look at
> it.
> 

Well, looking at the code in question, it would seem that medusa's
ftp_server is actually mostly self contained.

It is hard for me to say exactly what the dependencies are, but a lot of
the dependencies seem like they could be removed, because it is mostly
for giving 'nice' results.

Anyway, I think it would definitely be worth investigating stripping out
the unnecessary stuff from medusa, and grabbing the ftp server from it.

Either that, or just make it a third-party dependency, like paramiko.
Such that if medusa is installed, then we will test the ftp protocol.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060516/7557845d/attachment.pgp 


More information about the bazaar mailing list