]> code.ossystems Code Review - openembedded-core.git/commit
meta/PRService: Added export/import fuctions.
authorLianhao Lu <lianhao.lu@intel.com>
Thu, 22 Dec 2011 07:29:11 +0000 (15:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2012 10:33:24 +0000 (10:33 +0000)
commit9979107d8eaf503efd921564385859b1e83dbb3c
treea79dd735499d19f0b5ebefc96ccb79c001d50d6b
parent0df0399677a6677fc810e32e9275ee9e79021e9a
meta/PRService: Added export/import fuctions.

[YOCTO #1556]
- Modified meta/class/package.bbclass and prserv.bbclass according to
the change in PR service by adding PACKAGE_ARCH into the query tuple.

- Added prexport.bbclass, primport.bbclass to export/import AUTOPR
  values from/to PRService.

- Move PR service related common code to lib/oe/prservice.py.

- Supported reading the AUTOPR values from the exported .inc file
instead of reading it from remote PR service.

- Created a new script bitbake-prserv-tool to export/import the AUTOPR
values from/to the PR service.

Typical usage scenario of the export/import is:
1. bitbake-prserv-tool export <file> to export the AUTOPR values from
the current PR service into an exported .inc file.

2. Others may use that exported .inc file(to be included in the
local.conf) to lockdown and reproduce the same AUTOPR when generating
package feeds.

3. Others may "bitbake-prserv-tool import <file>" to import the AUTOPR
values into their own PR service and the AUTOPR values will be
incremented from there.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
meta/classes/package.bbclass
meta/classes/prexport.bbclass [new file with mode: 0644]
meta/classes/primport.bbclass [new file with mode: 0644]
meta/classes/prserv.bbclass
meta/conf/bitbake.conf
meta/conf/prexport.conf [new file with mode: 0644]
meta/conf/primport.conf [new file with mode: 0644]
meta/lib/oe/prservice.py [new file with mode: 0644]
scripts/bitbake-prserv-tool [new file with mode: 0755]