Skip to contentSkip to conversation

Lianhao Lu : bitbake: Automatically start local PR service.

DISCUSSION [email protected] 1 participant 1 message Jan 11, 2012

lore
Share & tools
lore
#0 lore raw
Module: bitbake.git
Branch: master
Commit: 9d8f45407c67ed0d3c4f820cf646de3c385067c7
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=9d8f45407c67ed0d3c4f820cf646de3c385067c7
Author: Lianhao Lu <[email protected]>
Date:   Tue Jan 10 14:13:50 2012 +0800

bitbake: Automatically start local PR service.

[YOCTO #1126]
A local PR service will be started and stopped automatically along with the bitbake invocation/ternimation.

This local PR service will be started only and if only when the PRSERV_HOST is set to 'localhost' and PRSERV_PORT is set to '0'.

When started, the sqlite3 database is stored at "${PERSISTEN_DIR}/prserv.sqlite3" or "${CACHE}/prserv.sqlite3".

---

 bin/bitbake-prserv |    9 ++--
 lib/bb/cooker.py   |    3 +
 lib/prserv/db.py   |   12 +++--
 lib/prserv/serv.py |  144 +++++++++++++++++++++++++++++++++++++++-------------
 4 files changed, 123 insertions(+), 45 deletions(-)

Diff: http://git.openembedded.org/?p=bitbake.git/?a=commitdiff;h=9d8f45407c67ed0d3c4f820cf646de3c385067c7