launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #02629
Re: uploading to the librarian without a database connection?
On Thu, Feb 18, 2010 at 05:54:58PM +1300, Michael Hudson wrote:
> It's all easy enough, apart from one thing: the need to upload the log
> file of the import to the librarian. These log files can get pretty
> large and staging them through the internal xml-rpc server just seems
> wasteful silly. Hence the question in the subject: is it possible to
> upload to the librarian without a database connection?
>
> It seems this is supported at the protocol level, but if there's a
> librarian client that works in this way I can't find it. Any advice is
> welcome! Even if it's "don't do that" :-) At the moment it looks like
> I'll have to write some more client code, but it's not like it's a very
> complicated protocol.
Have you tried using ILibrarianClient.remoteAddFile()? In theory, that
one should work.
--
Björn Tillenius | https://launchpad.net/~bjornt
Follow ups
References