diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-04-15 13:58:24 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-04-16 15:12:22 -0400 |
commit | 975892760b2f5a327f3f99645d00a8a301cd4f9c (patch) | |
tree | 08a5e5783a274f831f3ff50aa3c8d0c5ff01bfe2 | |
parent | 10614d4b5deb627f17735fda08448ef5ae02d5a0 (diff) | |
download | meta-cloud-services-975892760b2f5a327f3f99645d00a8a301cd4f9c.tar.gz |
Add helper meta data to find upstream versions correctly
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.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | meta-openstack/conf/distro/include/package_regex_openstack.inc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-openstack/conf/distro/include/package_regex_openstack.inc b/meta-openstack/conf/distro/include/package_regex_openstack.inc new file mode 100644 index 0000000..b72b2d1 --- /dev/null +++ b/meta-openstack/conf/distro/include/package_regex_openstack.inc | |||
@@ -0,0 +1,42 @@ | |||
1 | # package_regex_openstack.inc - This file contains data that tracks | ||
2 | # upstream project associated with a given recipe. This list is needed | ||
3 | # for recipes that version information can not be automagically discovered. | ||
4 | # As we automate this checking, this file will slowly be reduced. | ||
5 | # | ||
6 | # This data is used by the auto-upgrade-helper, to use it, you could | ||
7 | # add the following to your conf/local.conf: | ||
8 | # --------------- snip --------------- | ||
9 | # INHERIT =+ "distrodata" | ||
10 | # require conf/distro/include/package_regex_openstack.inc | ||
11 | # --------------- snip --------------- | ||
12 | # | ||
13 | # Fore more details about auto-upgrade-help, please refer to: | ||
14 | # http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/tree/README | ||
15 | # | ||
16 | # The format is as a bitbake variable override for each recipe | ||
17 | # | ||
18 | # REGEX_URI_pn-<recipe name> = "recipe_url" | ||
19 | # - This is the url used by the package checking system to | ||
20 | # get the latest version of the package | ||
21 | # REGEX_pn-<recipe name> = "package_regex" | ||
22 | # - This is the regex the package checking system uses to | ||
23 | # parse the page found at REGEX_URI_pn-<recipe name> | ||
24 | # | ||
25 | |||
26 | COMMON_REGEX = "(?P<pver>(\d+[\.-_]*)+)" | ||
27 | |||
28 | # PyPI sites | ||
29 | REGEX_URI_pn-python-cephclient = "https://pypi.python.org/pypi/python-cephclient/" | ||
30 | REGEX_pn-python-cephclient = "/python-cephclient/${COMMON_REGEX}" | ||
31 | REGEX_URI_pn-python-hp3parclient = "https://pypi.python.org/pypi/hp3parclient/" | ||
32 | REGEX_pn-python-hp3parclient = "/hp3parclient/${COMMON_REGEX}" | ||
33 | REGEX_URI_pn-python-openstackclient = "https://pypi.python.org/pypi/python-openstackclient/" | ||
34 | REGEX_pn-python-openstackclient = "/python-openstackclient/${COMMON_REGEX}" | ||
35 | |||
36 | # GIT | ||
37 | GITTAGREGEX_COMMON = "(?P<pver>\d+\.\d+\.(\d\.?)*)" | ||
38 | |||
39 | GITTAGREGEX_pn-python-glanceclient = "${GITTAGREGEX_COMMON}" | ||
40 | GITTAGREGEX_pn-python-keystoneclient = "${GITTAGREGEX_COMMON}" | ||
41 | GITTAGREGEX_pn-python-neutronclient = "(?P<pver>\d+\.\d+\.(\d\.?)+)" | ||
42 | GITTAGREGEX_pn-python-novaclient = "${GITTAGREGEX_COMMON}" | ||