[bitbake-devel] [PRService/bitbake V2 0/2] new PRService features in bitbake

Lianhao Lu lianhao.lu at intel.com
Tue Jan 10 06:13:47 UTC 2012


V2: rebase to latest code

NOTE: This set of patches added supporting for new features in bitbake.
It should work together with another branch of patches in meta layers.
    git://git.pokylinux.org/poky-contrib llu/PRService_oecore

It added PRService's export/import support in bitbake and also added a 
no history mode as the default mode for PRSerivce. In this mode, the 
AUTOPR value(which will be included in the finale PKGR) returned by 
the PRService will never decrement. It also added PACKAGE_ARCH into 
the index to the DB table, so the packages for different architcture 
will have different AUTOPR values.

The PRService can be started in 2 ways. If the user wants share the 
PRService for multiple buildings, it can start the PRService in the old
way, by running "bitbake-prserv --start [options]", and set PRSERV_HOST 
and PRSERV_PORT in local.conf accordingly.

If the user only wants the PRService to be used by current build, a local
service may be started automatically by setting PRSERV_HOST to "localhost"
and PRSERV_PORT to "0". This automatically started local service will only
be effective to the builds running in the same build directory.

The following changes since commit 468998cddbe1a803096c9b357e1b5daa3b7e8c2e:
  Dongxiao Xu (1):
        command.py: add parseConfigurationFiles API

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib llu/PRService_bitbake
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/PRService_bitbake

Lianhao Lu (2):
  bitbake/PRservice: Added no_hist mode and export/import.
  bitbake: Automatically start local PR service.

 bitbake/bin/bitbake-prserv     |   26 +++---
 bitbake/lib/bb/cooker.py       |    3 +
 bitbake/lib/prserv/__init__.py |    5 +-
 bitbake/lib/prserv/db.py       |  213 +++++++++++++++++++++++++++++++++------
 bitbake/lib/prserv/serv.py     |  208 +++++++++++++++++++++++++++++----------
 5 files changed, 358 insertions(+), 97 deletions(-)
 mode change 100644 => 100755 bitbake/bin/bitbake-prserv





More information about the bitbake-devel mailing list