clients: version upgrades and add a helper meta data
cover clients: version upgrades and add a helper meta data
From: Jackie Huang <[email protected]>
Tested with:
1) git clone git://git.yoctoproject.org/auto-upgrade-helper
2) Add maintainers.inc
$ cat conf/maintainers.inc RECIPE_MAINTAINER = "Jackie Huang <[email protected]>"
3) Add upgrade-helper.conf
$ cat upgrade-helper.conf [maintainer_override]
[settings]
smtp=smtp-na.wrs.com [email protected] [email protected] clean_sstate=yes
clean_tmp=yes
drop_previous_commits=yes
machines=qemux86 qemux86-64 qemuarm qemumips qemuppc
4) Add the following into local.conf:
INHERIT =+ "distrodata"
require conf/distro/include/recipe_color.inc require conf/distro/include/distro_alias.inc require conf/maintainers.inc
require conf/distro/include/upstream_tracking.inc require conf/distro/include/package_regex_openstack.inc
5) run the script upgradehelper.py:
$ for i in `cat all_client.txt`; do echo "== $i =="; \ /path/to/upgradehelper.py -a -c upgrade-helper.conf $i; \ done -- The following changes since commit 274cf835e275e8ec2f1a4260bd4437b5cdcaed92:
python-oslotest: correct the SRC_URI and add bash to rdepends (2015-04-08 10:36:55 -0400)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib jhuang0/r_update_op_clients_150415_2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/r_update_op_clients_150415_2
Jackie Huang (14):
Add helper meta data to find upstream versions correctly
rest-client: upgrade to 1.7.3
python-barbicanclient: upgrade to 3.0.3
python-ceilometerclient: fix the version to 1.0.13
python-cephclient: upgrade to 0.1.0.5
python-glanceclient: upgrade to 0.17.0
python-heatclient: upgrade to 0.4.0
python-keystoneclient: upgrade to 1.3.0
python-novaclient: upgrade to 2.23.0
python-neutronclient: upgrade to 2.4.0
python-openstackclient: upgrade to 1.0.3
python-saharaclient: upgrade to 0.8.0
python-swiftclient: upgrade to 2.4.0
python-troveclient: upgrade to 1.0.9
.../distro/include/package_regex_openstack.inc | 42 ++++++++++++++++++++++
.../python/python-barbicanclient_git.bb | 4 +--
.../python/python-ceilometerclient_git.bb | 4 +--
...ent_0.1.0.4.bb => python-cephclient_0.1.0.5.bb} | 6 ++--
.../python/python-glanceclient_git.bb | 4 +--
.../python/python-heatclient_git.bb | 4 +--
.../python/python-keystoneclient_git.bb | 4 +--
.../python/python-neutronclient_git.bb | 4 +--
.../python/python-novaclient_git.bb | 4 +--
...nt_1.0.2.bb => python-openstackclient_1.0.3.bb} | 5 ++-
.../python/python-saharaclient_git.bb | 4 +--
.../python/python-swiftclient_git.bb | 4 +--
.../python/python-troveclient_git.bb | 4 +--
.../recipes-devtools/ruby/rest-client_git.bb | 6 ++--
14 files changed, 70 insertions(+), 29 deletions(-)
create mode 100644 meta-openstack/conf/distro/include/package_regex_openstack.inc
rename meta-openstack/recipes-devtools/python/{python-cephclient_0.1.0.4.bb => python-cephclient_0.1.0.5.bb} (78%)
rename meta-openstack/recipes-devtools/python/{python-openstackclient_1.0.2.bb => python-openstackclient_1.0.3.bb} (73%)Signature · 1 line
1.9.1
PATCH 1/14 Add helper meta data to find upstream versions correctly
From: Jackie Huang <[email protected]>
This is referred to:
meta-yocto/conf/distro/include/package_regex.inc
And is used by the auto-upgrade-helper utility:
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/
It helps generate upgrades automatically for recipes based on new versions being published upstream.
The initial list includes *client recipes in meta-openstack.
--- .../distro/include/package_regex_openstack.inc | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta-openstack/conf/distro/include/package_regex_openstack.inc
meta-openstack/conf/distro/include/package_regex_openstack.inc new file +42 -0
@@ -0,0 +1,42 @@ +# package_regex_openstack.inc - This file contains data that tracks +# upstream project associated with a given recipe. This list is needed +# for recipes that version information can not be automagically discovered. +# As we automate this checking, this file will slowly be reduced. +# +# This data is used by the auto-upgrade-helper, to use it, you could +# add the following to your conf/local.conf: +# --------------- snip --------------- +# INHERIT =+ "distrodata" +# require conf/distro/include/package_regex_openstack.inc +# --------------- snip --------------- +# +# Fore more details about auto-upgrade-help, please refer to: +# http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/tree/README +# +# The format is as a bitbake variable override for each recipe +# +# REGEX_URI_pn-<recipe name> = "recipe_url" +# - This is the url used by the package checking system to +# get the latest version of the package +# REGEX_pn-<recipe name> = "package_regex" +# - This is the regex the package checking system uses to +# parse the page found at REGEX_URI_pn-<recipe name> +# + +COMMON_REGEX = "(?P<pver>(\d+[\.-_]*)+)" + +# PyPI sites +REGEX_URI_pn-python-cephclient = "https://pypi.python.org/pypi/python-cephclient/" +REGEX_pn-python-cephclient = "/python-cephclient/${COMMON_REGEX}" +REGEX_URI_pn-python-hp3parclient = "https://pypi.python.org/pypi/hp3parclient/" +REGEX_pn-python-hp3parclient = "/hp3parclient/${COMMON_REGEX}" +REGEX_URI_pn-python-openstackclient = "https://pypi.python.org/pypi/python-openstackclient/" +REGEX_pn-python-openstackclient = "/python-openstackclient/${COMMON_REGEX}" + +# GIT +GITTAGREGEX_COMMON = "(?P<pver>\d+\.\d+\.(\d\.?)*)" + +GITTAGREGEX_pn-python-glanceclient = "${GITTAGREGEX_COMMON}" +GITTAGREGEX_pn-python-keystoneclient = "${GITTAGREGEX_COMMON}" +GITTAGREGEX_pn-python-neutronclient = "(?P<pver>\d+\.\d+\.(\d\.?)+)" +GITTAGREGEX_pn-python-novaclient = "${GITTAGREGEX_COMMON}"
Signature · 1 line
1.9.1
PATCH 2/14 rest-client: upgrade to 1.7.3
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/ruby/rest-client_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-openstack/recipes-devtools/ruby/rest-client_git.bb +3 -3
@@ -7,13 +7,13 @@ Sinatra's microframework style of specifying actions: get, put, post, \ delete." LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README.rdoc;beginline=285;md5=f649e8be3b8f05776195b7aa04d974c6" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8d4c0cdd6bc54a36dbe54c0f2fa70797" PR = "r0" -BPV = "1.6.7" +BPV = "1.7.3" PV = "${BPV}" -SRCREV = "d96be9d1dc8b1b4c04d90a62244b87ded8d86f0c" +SRCREV = "988d5a81ff3081c1c6a3ab267e81a9fff94bd9e4" S = "${WORKDIR}/git"
Signature · 1 line
1.9.1
PATCH 3/14 python-barbicanclient: upgrade to 3.0.3
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-barbicanclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-barbicanclient_git.bb +2 -2
@@ -10,8 +10,8 @@ SRC_URI = "\ git://github.com/openstack/python-barbicanclient.git;branch=master \ " -PV="2.2.1+git${SRCPV}" -SRCREV="ac30643631b6bc1c40116061f8eb280a7881e422" +PV = "3.0.3+git${SRCPV}" +SRCREV = "2919366867af335d59913764a55ca8e95569947d" S = "${WORKDIR}/git" inherit setuptools
Signature · 1 line
1.9.1
PATCH 4/14 python-ceilometerclient: fix the version to 1.0.13
In reply to [email protected]From: Jackie Huang <[email protected]>
The specified SRCREV is actually pointed to the latest version 1.0.13.
--- meta-openstack/recipes-devtools/python/python-ceilometerclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-ceilometerclient_git.bb +2 -2
@@ -25,8 +25,8 @@ SRC_URI = "\ file://fix_ceilometerclient_memory_leak.patch \ " -PV="1.0.12+git${SRCPV}" -SRCREV="f8765ce532a45391c5366be8fa0f583f96a30d22" +PV = "1.0.13+git${SRCPV}" +SRCREV = "f8765ce532a45391c5366be8fa0f583f96a30d22" S = "${WORKDIR}/git" inherit setuptools
Signature · 1 line
1.9.1
PATCH 5/14 python-cephclient: upgrade to 0.1.0.5
In reply to [email protected]From: Jackie Huang <[email protected]>
---
.../{python-cephclient_0.1.0.4.bb => python-cephclient_0.1.0.5.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta-openstack/recipes-devtools/python/{python-cephclient_0.1.0.4.bb => python-cephclient_0.1.0.5.bb} (78%)meta-openstack/recipes-devtools/python/python-cephclient_0.1.0.5.bb renamed from meta-openstack/recipes-devtools/python/python-cephclient_0.1.0.4.bb +3 -3
@@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" PR = "r0" SRCNAME = "python-cephclient" -SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-v${PV}.tar.gz" -SRC_URI[md5sum] = "026aefd497c0426317d951f9a6e6f251" -SRC_URI[sha256sum] = "23ceae1f30238f7f57912422cf9baa43b7c80ed88fc14ec749986eef5f2d6007" +SRC_URI[md5sum] = "e3746607f1af1573a241b4995c10c938" +SRC_URI[sha256sum] = "9776b786da2aebdc0439ea2f809cc8923f52bc0cf610f77a9c1348466961134b" S = "${WORKDIR}/${SRCNAME}-${PV}"
Signature · 1 line
1.9.1
PATCH 6/14 python-glanceclient: upgrade to 0.17.0
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-glanceclient_git.bb +2 -2
@@ -9,8 +9,8 @@ DEPENDS += " \ python-pbr \ " -SRCREV = "69361a146ecd0cd775579e5dcf34692e9c6328bc" -PV = "0.13.1+git${SRCPV}" +SRCREV = "26280ed58b5d16feed4ab27be063d305ef48a252" +PV = "0.17.0+git${SRCPV}" PR = "r0" SRC_URI = "\
Signature · 1 line
1.9.1
PATCH 7/14 python-heatclient: upgrade to 0.4.0
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-heatclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-heatclient_git.bb +2 -2
@@ -23,8 +23,8 @@ SRCNAME = "heatclient" SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master" -PV="0.3.0+git${SRCPV}" -SRCREV="065d02499ad77b9c481a83dce973cfa4fbb26711" +PV = "0.4.0+git${SRCPV}" +SRCREV = "6d528f005742263837d05250662bf6214a703da8" S = "${WORKDIR}/git" inherit setuptools
Signature · 1 line
1.9.1
PATCH 8/14 python-keystoneclient: upgrade to 1.3.0
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +2 -2
@@ -13,8 +13,8 @@ SRC_URI = "\ file://keystone-api-check.sh \ " -PV="1.1.0+git${SRCPV}" -SRCREV="b3cf5994ade5c4fda9792cfaea42bb821d176f8c" +PV = "1.3.0+git${SRCPV}" +SRCREV = "a84b5ac115dd5775f7380a204811aa939fd5c242" S = "${WORKDIR}/git" inherit setuptools monitor
Signature · 1 line
1.9.1
PATCH 9/14 python-novaclient: upgrade to 2.23.0
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-novaclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-novaclient_git.bb +2 -2
@@ -11,8 +11,8 @@ SRC_URI = "\ file://nova-api-check.sh \ " -PV="2.21.0+git${SRCPV}" -SRCREV="bfd029c8ef500af705159a5f3d5fa74e39c43096" +PV = "2.23.0+git${SRCPV}" +SRCREV = "e0f5072907a00d48a183dd8fc91a6cf6038ca279" S = "${WORKDIR}/git" inherit setuptools monitor
Signature · 1 line
1.9.1
PATCH 10/14 python-neutronclient: upgrade to 2.4.0
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-neutronclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-neutronclient_git.bb +2 -2
@@ -25,8 +25,8 @@ SRC_URI = "git://github.com/openstack/python-neutronclient.git;branch=master \ file://neutron-api-check.sh \ " -PV="2.3.11+git${SRCPV}" -SRCREV="2fa6faaa9b67c0783c502d2b56bfbacc23ecfe64" +PV = "2.4.0+git${SRCPV}" +SRCREV = "aa1215a5ad063b299d32ef319eb63d5210249a9b" S = "${WORKDIR}/git" inherit setuptools monitor
Signature · 1 line
1.9.1
PATCH 11/14 python-openstackclient: upgrade to 1.0.3
In reply to [email protected]From: Jackie Huang <[email protected]>
---
...thon-openstackclient_1.0.2.bb => python-openstackclient_1.0.3.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta-openstack/recipes-devtools/python/{python-openstackclient_1.0.2.bb => python-openstackclient_1.0.3.bb} (73%)meta-openstack/recipes-devtools/python/python-openstackclient_1.0.3.bb renamed from meta-openstack/recipes-devtools/python/python-openstackclient_1.0.2.bb +2 -3
@@ -4,13 +4,12 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -PR = "r0" SRCNAME = "python-openstackclient" SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" -SRC_URI[md5sum] = "44f33ac00cd47392688af959178eb5c3" -SRC_URI[sha256sum] = "6d1d5c8100f37b96b7d6f9a8b429af790235cb33b54c6237c16b0b1534c851b7" +SRC_URI[md5sum] = "595c9be3ae2f967f7dd5f33753137377" +SRC_URI[sha256sum] = "d39a2e6cf98d409f8545b9d3a207eb8cbf3b2fc5ea17b0f8d9bed52326ca9f49" S = "${WORKDIR}/${SRCNAME}-${PV}"
Signature · 1 line
1.9.1
PATCH 12/14 python-saharaclient: upgrade to 0.8.0
In reply to [email protected]From: Jackie Huang <[email protected]>
0.7.7 and 0.8.0 are actually the same.
--- meta-openstack/recipes-devtools/python/python-saharaclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-saharaclient_git.bb +2 -2
@@ -17,8 +17,8 @@ SRCNAME = "saharaclient" SRC_URI = "git://github.com/openstack/python-saharaclient.git;branch=master" -PV="0.7.7+git${SRCPV}" -SRCREV="319ceb6acf55382218dcd971367613aecb3e4afc" +PV = "0.8.0+git${SRCPV}" +SRCREV = "319ceb6acf55382218dcd971367613aecb3e4afc" S = "${WORKDIR}/git" inherit setuptools
Signature · 1 line
1.9.1
PATCH 13/14 python-swiftclient: upgrade to 2.4.0
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-swiftclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-swiftclient_git.bb +2 -2
@@ -9,8 +9,8 @@ SRCNAME = "swiftclient" SRC_URI = "git://github.com/openstack/python-swiftclient.git;branch=master" -PV="2.3.1+git${SRCPV}" -SRCREV="8aff0bda9c35ab96146f4f419803e62710ab5618" +PV = "2.4.0+git${SRCPV}" +SRCREV = "c9f79e641c6906e95095f3e0e505f9bd3f715bc2" S = "${WORKDIR}/git" inherit setuptools python-dir
Signature · 1 line
1.9.1
PATCH 14/14 python-troveclient: upgrade to 1.0.9
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta-openstack/recipes-devtools/python/python-troveclient_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-troveclient_git.bb +2 -2
@@ -11,8 +11,8 @@ SRC_URI = "\ git://github.com/openstack/python-troveclient.git;branch=master \ " -PV="1.0.8+git${SRCPV}" -SRCREV="51aa1a8dbd1b45e6abdaf571d1d73a6d7405fd3a" +PV = "1.0.9+git${SRCPV}" +SRCREV = "a36ebe539ce0affef5388b7edd7a6a230a0fde6c" S = "${WORKDIR}/git" inherit setuptools hosts default_configs
Signature · 1 line
1.9.1
Quoted 1 line · On Wed, Apr 15, 2015 at 1:58 AM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
Thanks Jackie.
I've merged the series.
Bruce
Quoted 86 lines
Tested with:
1) git clonegit://git.yoctoproject.org/auto-upgrade-helper2) Add maintainers.inc
$ cat conf/maintainers.inc RECIPE_MAINTAINER = "Jackie Huang <[email protected]>"3) Add upgrade-helper.conf
$ cat upgrade-helper.conf [maintainer_override][settings]
smtp=smtp-na.wrs.com [email protected] [email protected] clean_sstate=yes
clean_tmp=yes
drop_previous_commits=yes
machines=qemux86 qemux86-64 qemuarm qemumips qemuppc4) Add the following into local.conf:
INHERIT =+ "distrodata"
require conf/distro/include/recipe_color.inc require conf/distro/include/distro_alias.inc require conf/maintainers.inc
require conf/distro/include/upstream_tracking.inc require conf/distro/include/package_regex_openstack.inc5) run the script
upgradehelper.py:$ for i in `cat all_client.txt`; do echo "== $i =="; \ /path/to/upgradehelper.py -a -c upgrade-helper.conf $i; \ done -- The following changes since commit 274cf835e275e8ec2f1a4260bd4437b5cdcaed92:python-oslotest: correct the
SRC_URIand add bash to rdepends (2015-04-08 10:36:55 -0400)are available in the git repository at:
git://git.pokylinux.org/poky-contribjhuang0/r_update_op_clients_150415_2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/r_update_op_clients_150415_2Jackie Huang (14):
Add helper meta data to find upstream versions correctly
rest-client: upgrade to 1.7.3
python-barbicanclient: upgrade to 3.0.3
python-ceilometerclient: fix the version to 1.0.13
python-cephclient: upgrade to 0.1.0.5
python-glanceclient: upgrade to 0.17.0
python-heatclient: upgrade to 0.4.0
python-keystoneclient: upgrade to 1.3.0
python-novaclient: upgrade to 2.23.0
python-neutronclient: upgrade to 2.4.0
python-openstackclient: upgrade to 1.0.3
python-saharaclient: upgrade to 0.8.0
python-swiftclient: upgrade to 2.4.0
python-troveclient: upgrade to 1.0.9.../distro/include/package_regex_openstack.inc | 42 ++++++++++++++++++++++ .../python/python-barbicanclient_git.bb | 4 +-- .../python/python-ceilometerclient_git.bb | 4 +-- ...ent_0.1.0.4.bb => python-cephclient_0.1.0.5.bb} | 6 ++-- .../python/python-glanceclient_git.bb | 4 +-- .../python/python-heatclient_git.bb | 4 +-- .../python/python-keystoneclient_git.bb | 4 +-- .../python/python-neutronclient_git.bb | 4 +-- .../python/python-novaclient_git.bb | 4 +-- ...nt_1.0.2.bb => python-openstackclient_1.0.3.bb} | 5 ++- .../python/python-saharaclient_git.bb | 4 +-- .../python/python-swiftclient_git.bb | 4 +-- .../python/python-troveclient_git.bb | 4 +-- .../recipes-devtools/ruby/rest-client_git.bb | 6 ++-- 14 files changed, 70 insertions(+), 29 deletions(-) create mode 100644 meta-openstack/conf/distro/include/package_regex_openstack.inc rename meta-openstack/recipes-devtools/python/{python-cephclient_0.1.0.4.bb => python-cephclient_0.1.0.5.bb} (78%) rename meta-openstack/recipes-devtools/python/{python-openstackclient_1.0.2.bb => python-openstackclient_1.0.3.bb} (73%)--
1.9.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"