[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian as a CORBA component



On Mon, 2002-01-28 at 11:42, Rodrigo Moya wrote:

> wow, this is a very nice idea, IMO. Only please take into account that
> there is already a CORBA interface for databases (included Postgres) in
> GNOME-DB (http://www.gnome-db.org), so you may want to use that one for
> the DB access part.

Well, I don't think we want to allow the general public to interface
directly with the archive database; then it would be easy to make
queries that would grind auric to its knees.  

The current interface just looks like:

interface FTPMaster {
    Packages::SourcePackageSequence getSourcePackagesByName(in string name)
      raises(InvalidPackage);
    Packages::BinaryPackageSequence getBinaryPackagesByName(in string name)
      raises(InvalidPackage);
  };

And that's all you can do at the moment; I think it might be nice to be
able to search by substring, but it isn't clear to me how useful that
would be.

And for anyone who is interested, the buildd CORBA servant and a sample
client have now been written:

walters@auric> ./buildd-server.pl
Buildd server BuilddServer_impl=HASH(0x1a441c) awaiting requests.


walters@space-ghost> ./builddata.py --package=rsync --arch=hppa --ior=http://auric.debian.org/~walters/buildd-server.ior   
Package: rsync
2.5.1-0.1 [hppa]: successful at Fri Jan  4 18:32:48 2002
2.5.0-0.2 [hppa]: successful at Sun Dec 30 17:43:11 2001
2.5.2-0.1 [hppa]: successful at Sun Jan 27 21:29:52 2002
2.5.0-0.3 [hppa]: successful at Tue Jan  1 00:33:27 2002
2.5.0-0.1 [hppa]: failed at Sun Dec 30 01:11:05 2001                          

I'll probably keep the server running on auric for a bit, so if anyone
wants to test this, you can just download the test client[1] (or write
your own), and point it at the IOR above.

An interface to db.debian.org is next.

[1] http://cvs.verbum.org/debian/debian-corba/python/builddata.py?rev=HEAD&content-type=text/vnd.viewcvs-markup



Reply to: