[Piuparts-devel] protocol changes for idle and arch (was: Re: for review: preview/compute-urls)

Holger Levsen holger at layer-acht.org
Mon Jun 4 12:45:03 UTC 2012


Hi,

On Montag, 4. Juni 2012, Andreas Beckmann wrote:
> new protocol:
> Master either says
>   << hello
> or
>   << idle $N
> if the slave should retry later.
> The slave is still allowed to continue communication, e.g. to submit
> 
> logs.

Also if the master said "idle"? IMO this doesnt make sense.

> If the slave wants to continue:
>   >> arch $ARCH
> (at this point the master fetches Packages file and loads the db)
>   << ok
> (or "error" if arch is wrong without opening the db, closes the connection)
> (or closes connection if something happened while initializing the db)

thats fine.


cheers,
	Holger



More information about the Piuparts-devel mailing list