<div dir="ltr"><blockquote cite="mid:CAC1BbcQQK50A8B4VL6Rt_8iOz0mT-Pi9+C+FegvAh-LQx+Ryig@mail.gmail.com" type="cite">
<pre></pre>
</blockquote> Point taken. Unfortunately, this type of code if all over the place in
BB, so a subsequent patch will have to solve it, once we have testing
environment going on for this.<br>
<br>I'll add this to my list, but it is low priority. Patches welcome, though :)<br><div><br></div><div style>Alex</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 9:51 PM, Bernhard Reutner-Fischer <span dir="ltr"><<a href="mailto:rep.dot.nop@gmail.com" target="_blank">rep.dot.nop@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 31 May 2013 13:06, Alex DAMIAN <<a href="mailto:alexandru.damian@intel.com">alexandru.damian@intel.com</a>> wrote:<br>
> From: Alexandru DAMIAN <<a href="mailto:alexandru.damian@intel.com">alexandru.damian@intel.com</a>><br>
><br>
> Two fixes in bitbake related to running remote servers -<br>
> * can now specify correctly the bind port<br>
> * the information in print conforms to common server infrastructure<br>
><br>
> Signed-off-by: Alexandru DAMIAN <<a href="mailto:alexandru.damian@intel.com">alexandru.damian@intel.com</a>><br>
> ---<br>
> bin/bitbake | 5 +++--<br>
> 1 file changed, 3 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/bin/bitbake b/bin/bitbake<br>
> index f3bbeb4..d263cbd 100755<br>
> --- a/bin/bitbake<br>
> +++ b/bin/bitbake<br>
> @@ -204,7 +204,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):<br>
> def start_server(servermodule, configParams, configuration):<br>
> server = servermodule.BitBakeServer()<br>
> if configParams.bind:<br>
> - server.initServer((configParams.bind, 0))<br>
> + (host, port) = configParams.bind.split(':')<br>
<br>
</div>[::]:1025<br>
<br>
I.e. Does that work nicely on my v6-only box or did you mean .rsplit(':',2) ?<br>
thanks,<br>
<div class="HOEnZb"><div class="h5">> + server.initServer((host, int(port)))<br>
> else:<br>
> server.initServer()<br>
><br>
> @@ -313,7 +314,7 @@ def main():<br>
> bb.event.ui_queue = []<br>
> server_connection.terminate()<br>
> else:<br>
> - print("server address: %s, server port: %s" % (server.serverinfo.host, server.serverinfo.port))<br>
> + print("server address: %s, server port: %s" % (server.serverImpl.host, server.serverImpl.port))<br>
><br>
> return 1<br>
><br>
</div></div></blockquote></div><br></div>