On Fri, 2010-09-03 at 17:23 +0200, Frank Becker wrote:
> Lucas Meneghel Rodrigues [2010-09-03, 01:17 +0200]:
> > On Thu, 2010-09-02 at 23:43 +0200, Frank Becker wrote: 
> > > divya [2010-08-31, 07:56 +0200]:
> 
> Hi,
> 
> > > > Autotest.client throws the following error while importing git
> > > >         from autotest_lib.server import git
> > > >         ImportError: No module named server
> > > That is the problem. You also need the server module installed in your
> > > PYTHONPATH.
> > 
> > The problem here is that git resides on the server namespace, and that
> > namespace is not available to clients, at least in a typical
> > server-client setup. The solution I thought was to move git to the
> > common library namespace. I need to review your patch, eventually apply
> > it, and then create the patch to make the move. 
> Yep, that would help me too. Maybe it is worth considering to include one
> of the git modules [0, 1] that exist for Python instead of the 
> server.git.GitRepo()
> class. Otherwise, we may end up implementing that another time.

We try to avoid at all costs introducing non-python 2.4 standard lib
dependencies, mainly because handling dependency install in client
machines can be a painful process, and autotest tries to be as distro
agnostic as possible. So it's better that we make use of what we have.
Thanks for the suggestion, though!

> [0] http://gitorious.org/git-python
> [1] http://samba.org/~jelmer/dulwich/
> 
> Bye,
> 
> Frank
> 


_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to