From b5a67a2f7b3b76191bf6347657b7f5a2a9fef123 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 8 Jun 2016 08:34:14 -0700 Subject: ref-manual: Updates to the UPSTREAM_CHECK_* variables I applied some grammar edits and re-wordings as directed by technical reviews. Fixes [YOCTO #9671] (From yocto-docs rev: b494b67aa5694967af70854c1c780c42f7d378af) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 47 ++++++++++++++++++------------ 1 file changed, 28 insertions(+), 19 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 996526924c..d5ff132e43 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -14319,17 +14319,20 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" - For recipes inheriting the + For recipes that use the distrodata - class, the UPSTREAM_CHECK_GITTAGREGEX - variable causes the OpenEmbedded build system to use Git - tabs to determine which upstream release version to - fetch when fetching source code from an upstream Git - repository. - You can use this regular expression to filter only - relevant tags: + class, this variable causes the OpenEmbedded build system + to check for what the latest upstream version is by calling + bitbake -c checkpkg. + When source code is provided from Git repositories, the + latest upstream version is determined by picking the latest + tag from the list of all repository tags. + You can use the UPSTREAM_CHECK_GITTAGREGEX + variable to provide a regular expression to filter only the + relevant tags should the default filter not work + correctly. - UPSTREAM_CHECK_GITTAGREGEX-recipe = "git_tag_regex" + UPSTREAM_CHECK_GITTAGREGEX = "git_tag_regex" @@ -14337,19 +14340,19 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" UPSTREAM_CHECK_REGEX - UPSTREAM_CHECK_REGEX[doc] = "The regular expression the package checking system uses to parse the page pointed to by UPSTREAM_CHECK_URI_pn." + UPSTREAM_CHECK_REGEX[doc] = "The regular expression the package checking system uses to parse the page pointed to by UPSTREAM_CHECK_URI." - For recipes inheriting the + For recipes that use the distrodata class, the UPSTREAM_CHECK_REGEX variable causes the package checking system to use the regular expression to parse the page found using UPSTREAM_CHECK_URI. - UPSTREAM_CHECK_REGEX-recipe = "package_regex" + UPSTREAM_CHECK_REGEX = "package_regex" @@ -14362,14 +14365,20 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" - For recipes inheriting the + For recipes that use the distrodata - class, the UPSTREAM_CHECK_URI - variable causes the package checking system to get the - latest version of the package when source files are - fetched from an upstream Git repository. - - UPSTREAM_CHECK_URI-recipe = "recipe_url" + class, this variable causes the OpenEmbedded build system + to check for what the latest upstream version is by calling + bitbake -c checkpkg. + When the source code is provided from tarballs, the latest + version is determined by fetching the directory listing + where the tarball is and attempting to find a later tarball. + When this approach does not work, + you can use UPSTREAM_CHECK_URI to + provide a different URI that contains the link to the + latest tarball. + + UPSTREAM_CHECK_URI = "recipe_url" -- cgit v1.2.3-54-g00ecf