New version of mock working (I think)

Clark Williams williams at redhat.com
Sat Jun 24 20:57:17 UTC 2006


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

Jesse Keating wrote:
> On Sat, 2006-06-24 at 11:26 -0400, Dan Williams wrote:
>> I'd rather not read the status file either.  Any ideas that don't suck
>> would be greatly appreciated.
>
> Wild/Crazy idea:
>
> Why not use xml-rpc calls between the two?  If mock sent out status
> information via xml-rpc, any other wrapper around mock would be able to
> gather that information up and act upon it.
>
> I have no idea what amount of work this would entail.

Hmm, that would mean that mock would have to be an XML-RPC server.  I
like XML-RPC, but that might be a bit more complicated than is
strictly needed.

How about shared memory? mock just dumps the state into it; anyone
that wants to know state just reads it? We might even be able to do it
through mmap'ing the state file...

Or a UNIX-domain socket?

Clark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEnactHyuj/+TTEp0RAtJ5AJ40sHAUix+cZfb5Z64cY8PG6W3F9QCgujmo
clQDEysMpj1vj2JlVocFuzQ=
=agsL
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list