How to work from behind proxies ? (with patch providing a partial solution)

Vincent LADEUIL v.ladeuil at alplog.fr
Mon Aug 21 08:25:49 BST 2006


>>>>> "vila" == Vincent LADEUIL <v.ladeuil at alplog.fr> writes:

>>>>> "jam" == John Arbash Meinel <john at arbash-meinel.com> writes:

<snip/>

    jam> But no, we don't support push over http (webdav) yet.

    vila> Ok.

So I wrote a plugin for that.  It is running now, at least to the
point to be able to 'bzr push bzr.dev'. It requires:
- a DAV enabled web server,
- pycurl,
- patching  bzr  to  allows  directories  to  be  used  for  http
  transports (1),
- patching  bzr to  allows  http test  servers  to specify  their
  request handler (2),

I would like to publish it and need guidance on how to do that on
launchpad (especially the 'hosted *on* launchpad part).

I'm  implementing an http  DAV test  server but  would appreciate
early feedback  on the existing  work (hence the need  to publish
it).

    >>> And as you didn't answer to the other points in the
    >>> original mail, does that mean that you consider using
    >>> pycurl from behind a restricted firewall not worth the
    >>> effort ?  Or is it just that sftp is better considering
    >>> my encryption requirement ?

    jam> I think pulling over pycurl and https is very good.  And
    jam> I think we should handle proxies for pycurl.

    vila> Ok.

    jam> But from other comments, it already works.

    vila> Strange, it was not in my case (I mean respecting the
    vila> http_proxy env variable).

<cough> Setting HHTPS_PROXY (note caps) works. <blush>

    jam> It just doesn't work with password support.

Which can be  circumvented by embedding user and  password in the
URL which will do the trick for now.

    vila> I'll dig deeper to get a better understanding then.

The   only  remaining   problem   was  that   my   H  server   is
self-authenticated  which  still requires  me  to lower  security
settings of libcurl (3).

Thanks in advance,

       Vincent

(1)(2)(3): Few lines patches to  bzr.dev, what is the best way to
         get them reviewed ?





More information about the bazaar mailing list