Problems with a gitosis port
Adam Olsen
arolsen at gmail.com
Sat Nov 22 16:07:09 GMT 2008
On Sat, Nov 22, 2008 at 3:11 AM, Michael Hudson
<michael.hudson at canonical.com> wrote:
> Well, that's a lack of imagination :) The smart server process doesn't
> interact with the file system directly, but rather with a transport.
> The transport doesn't have to perform all the requests asked of it.
> (This is how Launchpad works).
Ok, so the idea might possibly be to create a new transport? I've
looked in bzrlib.transports.__init__ and I can see there that it's
possible to register my own transports. Would it be a good idea, on
the server side, to create a plugin that subclasses the ssh.py
transport?
I've looked through bzrlib.smart, bzrlib.medium, bzrlib.protocol and
though it seems pretty concise, it does feel a little overwhelming not
knowing any of the codebase.
I don't want you to do my work for me, but a hint on where to start
for something like this would be great. Basically, when a bzr+ssh
connection is made, I need to somehow find out which repository the
user is requesting and act upon it.
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
More information about the bazaar
mailing list