Which protocol should I use for communication to central server?
John Arbash Meinel
john at arbash-meinel.com
Mon Sep 21 15:37:14 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patapon wrote:
> sftp or ftp or bzr, which one is the most reliable choice? I have tried
> Guildftp (A free and stable ftp server), and fails at
> bzr init-repo ftp://anonymous@localhost/proj
>
...
> File "bzrlib\transport\ftp\__init__.pyo", line 569, in stat
> File "bzrlib\transport\ftp\__init__.pyo", line 69, in __init__
> File "ftplib.pyo", line 510, in size
> File "ftplib.pyo", line 241, in sendcmd
> File "ftplib.pyo", line 217, in getresp
> error_proto
^- I'm not really sure what the error we are getting here is. However,
ftp isn't ever going to be the most recommended method anyway.
Off the cuff, I would recommend going with "bzr+ssh" as it is the
easiest to set up and administrate, has the most real-world usage, and
is going to perform better than any of the 'plain' transports (ftp,
http, sftp).
'bzr://' is about the same, but note that plain 'bzr://' doesn't do
authentication. So you almost definitely want either 'bzr+ssh' or
'bzr+http'. (That uses the http or ssh layers to do the authentication.)
There is a proposal to provide SSL connections for 'bzr://' (aka
bzrs://) and there is also a proposal to provide TLS and then direct
authentication support as part of bzr://. I don't think that is
completed yet.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkq3j5oACgkQJdeBCYSNAANfXACfUb2960X/WieQV3/Lvtniz1Fa
CqUAoMB1PrS/QGdRiJIiERS8X5AKBNgY
=0kDF
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list