Patchwork [PRService/meta,0/3] new PRService features in meta

mail settings
Submitter Lianhao Lu
Date Dec. 30, 2011, 3:50 a.m.
Message ID <>
Download mbox
Permalink /patch/17829/
State New
Headers show


git:// llu/PRService_oecore


Lianhao Lu - Dec. 30, 2011, 3:50 a.m.
NOTE: This set of patches added supporting for new features in meta layer.
It should work together with another branch of patches in bitbake.
    git:// llu/PRService_bitbake

It supports the export/import AUTOPR values from/to PRservice to lockdown 
the PR values for release. The typical usage scenario is:

1. UserA enabled the PRService and run buildings. The PRService will 
record the AUTOPR values(which will be included in the finale PKGR) for 
different packages the userA builds.

2. UserA runs "bitbake-prserv-tool export <file>" to export the AUTOPR 
values from the current PRService into an exported inc file.

3. UserB gets the exported inc file and runs the command 
"bitbake -R <exported file> target" to lockdown and reproduce the same AUTOPR 
when generating packages.

4. UserB may run "bitbake-prserv-tool import <file>" to import the exported
AUTOPR values back into his own PRService. The AUTOPR values will be 
incremented from there. 

This set of changes also supports the per-recipe based PRSERV_HOST and 

This set of changes makes the basichash instead of the basic as the default
signature generator.

The following changes since commit 8f348ccad083d6c02c200652ff6295e701e88f0d:
  Saul Wold (1):
        coreutils: ensure --color works so DEPEND on libcap

are available in the git repository at:

  git:// llu/PRService_oecore

Lianhao Lu (3):
  meta/PRService: Added export/import fuctions.
  package.bbclass: per recipe PRSERV_HOST support
  conf/bitbake.conf: basichash as default signature.

 meta/classes/package.bbclass          |   23 ++++-
 meta/classes/prserv.bbclass           |  167 ++++++++++++++++++++++++++++++---
 meta/conf/bitbake.conf                |    6 +-
 meta/recipes-core/meta/ |   69 ++++++++++++++
 scripts/bitbake-prserv-tool           |   53 +++++++++++
 5 files changed, 299 insertions(+), 19 deletions(-)
 create mode 100644 meta/recipes-core/meta/
 create mode 100755 scripts/bitbake-prserv-tool