generic-poky/meta/classes
Lianhao Lu a05e3a57c6 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.

(From OE-Core rev: 9979107d8eaf503efd921564385859b1e83dbb3c)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-11 10:37:43 +00:00
..
allarch.bbclass allarch.bbclass: disable shlib and debug symbol processing 2011-11-07 14:05:41 +00:00
autotools.bbclass autotools.bbclass: Introduce CACHED_CONFIGUREVARS 2012-01-10 17:28:45 +00:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass license.bbclass base.bbclass: support for 'or' operand in LICENSE and for SPDX license names 2012-01-10 17:40:44 +00:00
binconfig.bbclass binconfig: improve handling of empty prefixes 2011-06-01 18:34:36 +01:00
boot-directdisk.bbclass boot-directdisk: fix bzImage source location 2011-05-05 12:26:48 +01:00
bootimg.bbclass bootimg: Use mcopy to construct the hddimg 2011-12-16 16:05:36 +00:00
bugzilla.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
buildhistory.bbclass classes/buildhistory: remove redundant package history checking stub 2012-01-06 12:11:31 +00:00
buildstats.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
cmake.bbclass cmake.bbclass: adding extendable extra variable to root path 2011-09-28 21:41:44 +01:00
cml1.bbclass cml1/kernel: Update do_menuconfig to use oe.terminal() 2011-09-15 11:23:59 +01:00
copyleft_compliance.bbclass license/copyleft: exception for ast parse 2011-12-10 00:18:15 +00:00
core-image.bbclass Add mini X core tasks 2012-01-03 12:12:38 +00:00
cpan-base.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
cpan.bbclass cpan.bbclass: fix native perl issue 2011-09-07 22:54:16 +01:00
cpan_build.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
cross-canadian.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
cross.bbclass cross: also empty PACKAGES_DYNAMIC 2011-08-12 17:21:53 +01:00
crosssdk.bbclass multilib.bbclass: Partially fix multlib image targets 2011-09-22 22:23:37 +01:00
debian.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
deploy.bbclass bitbake/sstate: Implement a lookup function to speed up setscene processing 2010-10-05 22:26:33 +01:00
devshell.bbclass Rework how the devshell functions 2011-08-10 13:33:07 +01:00
distrodata.bbclass distrodata.bbclass:Fix some recipes upstream version check issue. 2011-12-06 14:38:42 +00:00
distutils-base.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
distutils-common-base.bbclass distutils(-common-base) bbclass: sync with OE 2011-01-20 21:37:00 +00:00
distutils-native-base.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
distutils.bbclass logging: update existing oe* logging users to the bb* interface 2011-05-04 00:54:37 +01:00
dummy.bbclass bootimg: Add grub-efi support 2011-11-30 22:18:08 +00:00
gconf.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
gettext.bbclass cross-recipes: Disable nls in gettext bbclass 2011-12-15 14:36:23 +00:00
gnome.bbclass classes/[gnome|gnomebase|mime]: enhance gnome related classes 2011-11-10 11:37:11 +00:00
gnomebase.bbclass classes/[gnome|gnomebase|mime]: enhance gnome related classes 2011-11-10 11:37:11 +00:00
grub-efi.bbclass grub-efi: Use /EFI/BOOT now that mkdosfs -d works with directories 2011-12-16 16:05:35 +00:00
gtk-doc.bbclass classes: Add gtk-doc.bbclass 2008-05-15 14:11:13 +00:00
gtk-icon-cache.bbclass gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst 2012-01-10 17:28:44 +00:00
icecc.bbclass icecc.bbclass: also use icecc for kernel modules compilation 2011-12-19 09:29:17 +00:00
image-empty.bbclass classes/image*: Revamp creation of live images 2011-07-27 12:02:46 +01:00
image-live.bbclass image-live.bbclass: allow override of initrd image 2011-10-14 13:18:15 +01:00
image-mklibs.bbclass image-mklibs/package_ipk: Remove bashisms 2012-01-05 22:26:25 +00:00
image-prelink.bbclass classes: Remove various bashisms 2011-11-10 11:51:18 +00:00
image-swab.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
image.bbclass Incremental rpm image generation 2012-01-11 10:36:22 +00:00
image_types.bbclass image_types: Fix rootfs size calcuation 2012-01-05 11:24:45 +00:00
image_types_uboot.bbclass Add support for generating ext2.lzma{, .u-boot} images 2011-09-29 16:54:38 +01:00
imagetest-dummy.bbclass test: add automation framework and sanitytest 2010-07-15 12:48:25 +01:00
imagetest-qemu.bbclass sanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpm 2011-11-18 10:47:15 +00:00
insane.bbclass insane.bbclass: use bb.process.Popen instead of subprocess.check_output 2012-01-05 22:17:33 +00:00
insserv.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
kernel-arch.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
kernel-yocto.bbclass linux-yocto: use src_patches for out of tree kernel feature support 2012-01-06 12:11:32 +00:00
kernel.bbclass kernel.bbclass: fix pkg_postinst and pkg_postrm 2011-12-24 10:05:46 +00:00
lib_package.bbclass lib_package.bbclass: move static libraries to ${PN}-staticdev 2011-06-28 13:55:42 +01:00
libc-common.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
libc-package.bbclass libc-package.bbclass: Fix typo in setVar usage 2011-12-01 12:51:07 +00:00
license.bbclass license.bbclass base.bbclass: support for 'or' operand in LICENSE and for SPDX license names 2012-01-10 17:40:44 +00:00
linux-kernel-base.bbclass kernel.bblass: remove get_kernelmajorversion 2011-07-01 23:34:18 +01:00
logging.bbclass logging: add bb* logging mechanisms for bash recipe functions 2011-04-28 10:45:41 +01:00
meta.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
metadata_scm.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
mime.bbclass mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF 2011-11-21 16:48:53 +00:00
mirrors.bbclass mirrors.bbclass: Ensure we don't overwrite any existing MIRRORS variable 2011-02-11 23:50:46 +00:00
module-base.bbclass kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables 2011-08-05 17:16:03 +01:00
module.bbclass module.bbclass: add lock to prevent error bulding ext modules 2011-10-20 17:13:41 +01:00
module_strip.bbclass kernel/package.bbclass: Handle kernel module stripping centrally 2010-08-10 14:47:41 +01:00
multilib.bbclass multilib: Abstract class extension code into classextend.py 2012-01-05 12:36:29 +00:00
multilib_global.bbclass multilib: Abstract class extension code into classextend.py 2012-01-05 12:36:29 +00:00
multilib_header.bbclass multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
native.bbclass native.bbclass: Fix variable remapping coverage 2012-01-05 12:36:28 +00:00
nativesdk.bbclass nativesdk.bbclass: Remove historical FILES artifact 2011-12-16 16:05:36 +00:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
own-mirrors.bbclass own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479446214575668943fb 2011-03-15 01:19:26 +00:00
package.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
package_deb.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
package_ipk.bbclass image-mklibs/package_ipk: Remove bashisms 2012-01-05 22:26:25 +00:00
package_rpm.bbclass Incremental rpm image generation 2012-01-11 10:36:22 +00:00
package_tar.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
packagedata.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
packagehistory.bbclass classes/packagehistory: fix and extend 2011-12-05 16:23:53 +00:00
patch.bbclass patch.bbclass: abstract out logic that determines patches to apply 2012-01-03 12:14:25 +00:00
perlnative.bbclass cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native 2011-08-17 15:14:54 +01:00
pkg_distribute.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
pkg_metainfo.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
pkgconfig.bbclass pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm) 2009-07-07 15:13:56 +01:00
populate_sdk.bbclass populate_sdk.bbclass: remap packages when generating sdk tarball 2011-12-06 22:47:02 +00:00
populate_sdk_deb.bbclass populate_*.bbclass: Correct INSTALL variable name after recent multilib changes 2011-11-10 18:05:57 +00:00
populate_sdk_ipk.bbclass populate_sdk_ipk.bbclass: Ensure the correct environment is setup for postinstalls 2012-01-04 14:14:10 +00:00
populate_sdk_rpm.bbclass populate_*.bbclass: Correct INSTALL variable name after recent multilib changes 2011-11-10 18:05:57 +00:00
prexport.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
primport.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
prserv.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
python-dir.bbclass python-dir: change PYTHON_BASEVERSION to 2.7 2011-10-31 22:03:22 +00:00
qemu.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
qmake2.bbclass qt4: Enable accessibility and sm option for LSB. 2011-01-20 21:37:01 +00:00
qmake_base.bbclass bitbake.conf: remove some redundant/unnecessary variable exports 2012-01-04 14:14:10 +00:00
qt4e.bbclass qt4e.bbclass: add QT_BASE_NAME for use in recipes 2012-01-06 12:11:32 +00:00
qt4x11.bbclass qt4x11.bbclass: add QT_BASE_NAME for use in recipes 2012-01-06 12:11:32 +00:00
recipe_sanity.bbclass import recipe_sanity.bbclass from oe master 2011-06-14 15:28:23 +01:00
relocatable.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
rm_work.bbclass rm_work: keep all sigdata files in stamps dir 2011-05-27 00:48:12 +01:00
rootfs_deb.bbclass classes/image: implement generic locale package installation 2012-01-03 12:14:26 +00:00
rootfs_ipk.bbclass classes/image: implement generic locale package installation 2012-01-03 12:14:26 +00:00
rootfs_rpm.bbclass Incremental rpm image generation 2012-01-11 10:36:22 +00:00
sanity.bbclass sanity.bbclass: No need to check for cvs any more 2011-11-16 17:32:46 +00:00
scons.bbclass logging: update existing oe* logging users to the bb* interface 2011-05-04 00:54:37 +01:00
sdl.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
setuptools.bbclass setuptools bbclass: import from OE 2011-01-20 21:37:00 +00:00
sip.bbclass bitbake.conf: remove some redundant/unnecessary variable exports 2012-01-04 14:14:10 +00:00
siteconfig.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
siteinfo.bbclass siteinfo: create a new siteinfo for x32-linux 2011-12-12 21:50:19 +00:00
sourcepkg.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
src_distribute.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
src_distribute_local.bbclass src_distribute.bbclass, src_distribute_local.bbclass: mostly rewritten 2011-10-20 17:13:36 +01:00
sstate.bbclass sstate: Add SSTATE_SCAN_FILES 2011-12-15 14:36:24 +00:00
staging.bbclass staging: Remove debug accidently left in 2011-11-22 15:00:56 +00:00
syslinux.bbclass bootimage: Use ${S} explicitly for generated config files 2011-12-02 15:28:43 +00:00
task.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
terminal.bbclass terminal.bbclass: Improve environment handling 2011-09-09 18:39:26 +01:00
tinderclient.bbclass classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything 2010-12-31 09:51:18 +00:00
toolchain-scripts.bbclass add sysroot support for meta-ide-support which is the toolchain within build env case 2012-01-10 17:28:42 +00:00
typecheck.bbclass Implement variable typing (sync from OE) 2011-05-20 17:34:22 +01:00
update-alternatives.bbclass classes/update-alternatives: fix typos and grammar 2012-01-05 11:23:11 +00:00
update-rc.d.bbclass update-rc.d.bbclass: override UPDATERCD for nativesdk 2011-12-16 16:12:46 +00:00
useradd.bbclass useradd: Ensure -native recipes don't depend on target recipes 2011-11-21 16:48:51 +00:00
utility-tasks.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
utils.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00