<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/prserv/serv.py, branch hardknott-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2019-12-30T23:39:42+00:00</updated>
<entry>
<title>bitbake: prserv/serv: Use with while reading pidfile</title>
<updated>2019-12-30T23:39:42+00:00</updated>
<author>
<name>Ola x Nilsson</name>
<email>ola.x.nilsson@axis.com</email>
</author>
<published>2019-12-20T14:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=41a0a29c4d77a2ecc6e86effe3c0958ffde9bbed'/>
<id>urn:sha1:41a0a29c4d77a2ecc6e86effe3c0958ffde9bbed</id>
<content type='text'>
(Bitbake rev: 6fa8a18ea4994031fdd1253fe363c5d8eeeba456)

Signed-off-by: Ola x Nilsson &lt;olani@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv/serv: Only restart the server if settings change</title>
<updated>2019-11-25T17:58:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-11-23T11:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5ec9511400abc4e3a6c416727a32e326a7d3daae'/>
<id>urn:sha1:5ec9511400abc4e3a6c416727a32e326a7d3daae</id>
<content type='text'>
The server is now restarting when running commands which doesn't make
sense. Only restart if its configuration has changed. This should
potentially fix various memory resident bitbake usages too.

(Bitbake rev: 0d2c67abf8c92386802eccfbb6b124dd65597941)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv: fix ResourceWarning due to unclosed socket</title>
<updated>2019-11-14T14:06:42+00:00</updated>
<author>
<name>Gavin Li</name>
<email>gavin@matician.com</email>
</author>
<published>2019-11-11T22:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f320d4808ad4080ed9b54e0cf422411331241c5f'/>
<id>urn:sha1:f320d4808ad4080ed9b54e0cf422411331241c5f</id>
<content type='text'>
With PRSERV_HOST = "localhost:0", this message would occasionally pop up
during the initial cache read:

WARNING: /home/matic/ambayocto/poky/bitbake/lib/bb/cache.py:446: ResourceWarning: unclosed &lt;socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 45655)&gt;
  value = pickled.load()

The file location stated is irrelevant; it just happens to be wherever
CPython decides to run the garbage collector. The issue is that after we
fork off a PRServer, self.socket is also duplicated. The parent side of
it also needs to be closed.

(Bitbake rev: c45b0140c37f2d68c4fa08cd17f0321b8d6524a8)

Signed-off-by: Gavin Li &lt;gavin@matician.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: prserv/serv: Use with while reading pidfile</title>
<updated>2019-10-28T05:31:53+00:00</updated>
<author>
<name>Ola x Nilsson</name>
<email>ola.x.nilsson@axis.com</email>
</author>
<published>2019-10-21T09:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=beda62448dc544ae7969b31a1524fed28e4d2e1f'/>
<id>urn:sha1:beda62448dc544ae7969b31a1524fed28e4d2e1f</id>
<content type='text'>
(Bitbake rev: 405a9068ce5072050b9878f7cec15b2c2592bc4e)

Signed-off-by: Ola x Nilsson &lt;olani@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: Add initial pass of SPDX license headers to source code</title>
<updated>2019-05-04T09:44:04+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-04-30T10:05:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b'/>
<id>urn:sha1:79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b</id>
<content type='text'>
This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.

The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.

The COPYING file is replaced with LICENSE.X files which contain the full
license texts.

(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv/serv: Gracefully handle the PR server exiting quickly</title>
<updated>2017-08-31T22:30:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-08-31T16:23:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e2ca45646eed986b9b0a965110b7771cfbc26710'/>
<id>urn:sha1:e2ca45646eed986b9b0a965110b7771cfbc26710</id>
<content type='text'>
If the server exits quickly its PID may no longer exist. Handle
this gracefully.

(Bitbake rev: c1b00a9265fa4146b8db8b7d03a51bf2bfcf9f51)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv/serv: Rename self.quit -&gt; self.quitflag</title>
<updated>2017-08-31T22:30:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-08-31T16:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6e1ab28e94bf71ffd6a7fe5ba9346c22716dbfa9'/>
<id>urn:sha1:6e1ab28e94bf71ffd6a7fe5ba9346c22716dbfa9</id>
<content type='text'>
self has a quit function and a variable. Separate this to two different
things as the current setup is prone to breakage.

(Bitbake rev: ba7e3c73d8f4d2bd1d7434b97c326e7ab935231a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv/serv: Send sentinel to stop handler thread</title>
<updated>2017-08-31T22:30:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-08-31T16:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=93a54f3432752646d53439210de6769368fb466e'/>
<id>urn:sha1:93a54f3432752646d53439210de6769368fb466e</id>
<content type='text'>
Shutdown from SIGTERM currently has to wait for the handler thread to timeout.
Add a sentinel value which triggers it to loop and allows for a quick exit.

(Bitbake rev: a7591ef34ce70ff1d7aa9362d7473e6f16fbd10f)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv/serv: Shut down any existing server before restarting</title>
<updated>2017-08-31T22:30:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-08-31T16:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fc2f9c8a6370c4fa97bf74f7fa37704d717afa03'/>
<id>urn:sha1:fc2f9c8a6370c4fa97bf74f7fa37704d717afa03</id>
<content type='text'>
This allows for cleaner code in cooker as any existing server is dealt
with before a new one is started.

(Bitbake rev: b8616931bc0e523a3a3bb23b4f623f8b6e71d690)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: prserv/cooker: Drop unused param</title>
<updated>2017-08-31T22:30:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-08-31T09:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=313bf30db7bda51a061bae9c8d9c489e4a7c0167'/>
<id>urn:sha1:313bf30db7bda51a061bae9c8d9c489e4a7c0167</id>
<content type='text'>
Drop pointless unused function parameter.

(Bitbake rev: 8104b33656de0b619943bd7a9884eb650ccafbf4)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
