On Fri, 2006-06-23 at 13:40 -0500, [EMAIL PROTECTED] wrote: > Any chance we could get a better defined method of mock<->plague > communication? Parsing output is bound to be fragile and hard to > maintain.
Yup. Quite right. And I've had problems in the past with the reads of the file blocking (since you evidently can't do NONBLOCK on filesystem file sockets or something either?) and hanging the plague-builder process until more data gets written to the file. So as a quick hack plague-builder will only read & match the first 4 characters of the status string anyway. I'd rather not read the status file either. Any ideas that don't suck would be greatly appreciated. Dan > -- > Michael > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Clark Williams > > Sent: Friday, June 23, 2006 10:44 AM > > To: Discussion of Fedora build system > > Subject: Re: New version of mock working (I think) > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Dan Williams wrote: > > > > > >> Can we do just one-word state strings? Plague tries to parse > > > these from > > >> the 'mock-state' file to figure out what stages mock is in (mainly > > >> for when it's creating the chroot and when it's actually building). > > > > > >> Thanks, Dan > > > > > > > Looks like the only two are "unpack cache" and "create cache". > > > > Want to switch them to cache_create and cache_unpack? > > > > Clark > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.3 (GNU/Linux) > > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > > > iD8DBQFEnAxQHyuj/+TTEp0RAnyBAKCvZZ/MOU8W8jLwZ8WN2CEbPTEyuACdF4Tc > > uO3wCIsZp1slVvnea8uDXIU= > > =shhn > > -----END PGP SIGNATURE----- > > > > -- > > Fedora-buildsys-list mailing list > > Fedora-buildsys-list@redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list > > > > -- > Fedora-buildsys-list mailing list > Fedora-buildsys-list@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list