<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/server, branch danny</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=danny</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=danny'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2012-12-07T17:25:54+00:00</updated>
<entry>
<title>bitbake: command: add error to return of runCommand</title>
<updated>2012-12-07T17:25:54+00:00</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2012-10-29T20:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3b9a640f8d19cd50d64ae2722304ace80453149e'/>
<id>urn:sha1:3b9a640f8d19cd50d64ae2722304ace80453149e</id>
<content type='text'>
Currently, command.py can return an error message from runCommand, due to
being unable to run the command, yet few of our UIs (just hob) can handle it
today. This can result in seeing a TypeError with traceback in certain rare
circumstances.

To resolve this, we need a clean way to get errors back from runCommand,
without having to isinstance() the return value. This implements such a thing
by making runCommand also return an error (or None if no error occurred).

As runCommand now has a method of returning errors, we can also alter the
getCmdLineAction bits such that the returned value is just the action, not an
additional message. If a sync command wants to return an error, it raises
CommandError(message), and the message will be passed to the caller
appropriately.

Example Usage:

    result, error = server.runCommand(...)
    if error:
        log.error('Unable to run command: %s' % error)
        return 1

(Bitbake rev: d1002e33e05d45a7e1bd65d79537419a4057e43a)

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: Add client socket info for BitBakeServerConnection</title>
<updated>2012-02-23T22:52:16+00:00</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2012-02-23T13:47:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c42f973180d2e2dd959cfd416bbd5a71aa60cffa'/>
<id>urn:sha1:c42f973180d2e2dd959cfd416bbd5a71aa60cffa</id>
<content type='text'>
In server/client split model, the client will bind to a specific address
and port. We need to pass the values to BitBakeServerConnection().

(Bitbake rev: c8e19c5c389efc06696084c6f9439ba75472c5b7)

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: add -B option to bind with interface</title>
<updated>2012-02-23T22:52:16+00:00</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2012-02-23T13:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=19089aca83ce00a05dee60b2f40bad87c398fe39'/>
<id>urn:sha1:19089aca83ce00a05dee60b2f40bad87c398fe39</id>
<content type='text'>
When start bitbake as a server only process, we need to assign certain
interface to it.

(Bitbake rev: 95b97d2dc6466ea3d99371f5b5bd68f6f3c99074)

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>xmlrpc: Change BitbakeServerInfo init function</title>
<updated>2012-01-06T15:55:56+00:00</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2012-01-06T09:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e69e5a7e0ba328f29faaeacf815690f2ca9daf41'/>
<id>urn:sha1:e69e5a7e0ba328f29faaeacf815690f2ca9daf41</id>
<content type='text'>
Pass host and port to BitbakeServerInfo class instead of the "server"
instance. With this change, GUI can connect with server individually
by host address and port.

(Bitbake rev: 5124351d6c287185723c98e6e4400c5402a5c8a8)

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/process.py: Ensure queued UI events are queued right before we add our own handler</title>
<updated>2011-07-07T09:57:43+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-07-06T17:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7e122178dbae6374c7143a6c83090ec1ef09e7e6'/>
<id>urn:sha1:7e122178dbae6374c7143a6c83090ec1ef09e7e6</id>
<content type='text'>
(Bitbake rev: c7a9ef70ba91d47d53074e8d78cbc52f396144a7)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>process.py: Fix issue where early errors weren't making it to the console</title>
<updated>2011-06-16T21:14:01+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-06-15T15:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=90dab9783dc0e8c3ebf244d89f9523c39ff2255e'/>
<id>urn:sha1:90dab9783dc0e8c3ebf244d89f9523c39ff2255e</id>
<content type='text'>
(Bitbake rev: d97f7d762e3d2f1b0da038d4d99f2531b2490670)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>make exception handling syntax consistent</title>
<updated>2011-06-15T10:13:13+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-06-14T23:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=62d538fbe65cf61ebc5996b0d6eb7e4ec47b6ead'/>
<id>urn:sha1:62d538fbe65cf61ebc5996b0d6eb7e4ec47b6ead</id>
<content type='text'>
Update exception handling syntax to use the modern style:
except ExcType as localvar

(Bitbake rev: dbf5f42b06bef81749b13aa99945cc1292a6676d)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/server/xmlrpc: Fix typo</title>
<updated>2011-06-08T12:11:58+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-06-08T12:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5ded1085670a918ec256152fd5be9d01efb5d8a0'/>
<id>urn:sha1:5ded1085670a918ec256152fd5be9d01efb5d8a0</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/server/process: Implement getEvent()</title>
<updated>2011-06-08T11:04:23+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-06-08T11:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=83c3f872cb2e479eeef8efd5a9bd5f07a75c5df2'/>
<id>urn:sha1:83c3f872cb2e479eeef8efd5a9bd5f07a75c5df2</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/server/process: Update to new server API</title>
<updated>2011-06-08T10:38:47+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-06-08T10:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=658ba779ac98803e82fb3f17860a72f178f97d5b'/>
<id>urn:sha1:658ba779ac98803e82fb3f17860a72f178f97d5b</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
