using transparent gateways to the launchpad platform?

John Arbash Meinel john at arbash-meinel.com
Mon May 2 17:23:33 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/2/2011 4:45 PM, Denys Duchier wrote:
> My students cannot access launchpad through lp->bzr+ssh because they are
> using a parc of machines for which no NAT translation is provided (and
> never will be).
> 
> I am thinking that, if, at the time of getting a transport, bzr could
> automatically substitute bzr+ssh://XXX.launchpad.net/... with
> bzr+ssh://SOME-LOCAL-GATEWAY:PORT-FOR-XXXX, then I could set up
> appropriate port forwarding on SOME-LOCAL-GATEWAY for the necessary
> launchpad targets.
> 
> So here is my question:
> 
> What would be the simplest way to perform this translation
> transparently, so that my students can continue using the usual lp:
> URLS?
> 
> Cheers,
> 
> --Denys
> 

If I understand correctly, you're saying that the machines are behind a
firewall which refuses to route from their machine to
bazaar.launchpad.net, correct?

For starters, I'm pretty sure there is only bazaar.launchpad.net (I
don't think they need to use bazaar.staging.launchpad.net, etc.) Do they
have HTTP access?

Why not just create a plugin with a Directory like lp: does (or even
hijack it in your plugin and provide lp: urls as well).

You can look at "bzr-bookmarks" and the launchpad plugin itself for how
they are provided. It should be pretty easy to provide your own
implementations of them.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2+6JUACgkQJdeBCYSNAAOIFwCg0iw72fCWtOeWCrhXMv2dDqQg
QBUAn2DQjRJZhIook0t/fNALs6klvX/P
=r8m3
-----END PGP SIGNATURE-----



More information about the bazaar mailing list