> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Clark Williams > Sent: Monday, June 26, 2006 4:07 PM > To: Discussion of Fedora build system > Subject: Re: New version of mock working (I think) > > Ok, I can go with that. Probably the most convincing portion > of the above argument is the idea of implementing a > root-privilege server as opposed to pushing that back to the > build system maintainers. > > So I suppose it means that we should publish a call-out > specification that says: if you invoke mock with the > --server-mumble=X on the command line, mock will use X as a > URL to make an XML-RPC call with the state as an argument in > <as yet to be determined> form. We will then have to wrap > that in a try/except and possibly some timeout logic to make > sure that if the other end isn't speaking our language, we > continue or fail in a controlled fashion.
I have some stock timeout and exception handling code that we can cut and paste in. It adds another 5-10 lines of code, and should make the code robust against what you describe. First order of business would be to get Dan's opinion on the matter, then settle on an API. I can code this up, along with a test harness. -- Michael -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list