Skip to content

PRServer: Fixes daemon issues

[email protected] openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* First patch: No changes
* Second patch: outputs the message into stdout instead of stderr. Also removes the 'WARNING' string.
* Third patch: Instead of changing the journal, this patch closes the DB connection explicitly, instead of relying on the __del__ function

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3prserv/serv: Start/Stop daemon using ip instead of hostbitbake/lib/prserv/serv.py+8 -50 replies
2/3prserv/serv.py: Better messaging when starting/stopping the server with port=0bitbake/lib/prserv/serv.py+21 -20 replies
3/3prserv/serv: Close the DB connection out of class destructorbitbake/lib/prserv/db.py bitbake/lib/prserv/serv.py+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] PRServer: Fixes daemon issues

From: Leonardo Sandoval <[email protected]>

First two patches fix issues when using hostnames instead of IPs. Third patch disconnect the DB manually, not relaying on this task into a __del__ function. Detail is given on each patch. Fixes 8258, 8560 and 8215

Changes from v1:
* First patch: No changes
* Second patch: outputs the message into stdout instead of stderr. Also removes the 'WARNING' string.
* Third patch: Instead of changing the journal, this patch closes the DB connection explicitly, instead of relying on the __del__ function

The following changes since commit 71b0568fa43285f0946fae93fb43cea5f3bbecec:

rt-tests: drop unnecessary added-missing-dependencies.patch (2015-09-01 11:44:04 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib lsandov1/prserver
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lsandov1/prserver

Leonardo Sandoval (3):
prserv/serv: Start/Stop daemon using ip instead of host prserv/serv.py: Better messaging when starting/stopping the server
with port=0
prserv/serv: Close the DB connection out of class destructor

 bitbake/lib/prserv/db.py   |  2 +-
 bitbake/lib/prserv/serv.py | 38 ++++++++++++++++++++++++++++++--------
 2 files changed, 31 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.4.5