summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-06-08 10:53:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-21 12:59:07 +0100
commit6b3b444c355a34e632d66fdc7828d97d8b5b8aaa (patch)
tree19ef6f8ee34254751a5e3dc4b8db0cab7ae84fac /documentation
parentac8173ef7258cc42f349f97447b611c24e8249a5 (diff)
downloadpoky-6b3b444c355a34e632d66fdc7828d97d8b5b8aaa.tar.gz
ref-manual: Updated the UPSTREAM_CHECK_* variables.
Fixes [YOCTO #9671] (From yocto-docs rev: 0f7e086e126d210cde0bd0cbe3e56d0808138e28) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml44
1 files changed, 25 insertions, 19 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index d5ff132e43..2d16019caa 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -14319,15 +14319,18 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
14319 <glossdef> 14319 <glossdef>
14320 <para role="glossdeffirst"> 14320 <para role="glossdeffirst">
14321<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 14321<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
14322 For recipes that use the 14322 When the
14323 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> 14323 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
14324 class, this variable causes the OpenEmbedded build system 14324 class is enabled globally, you can perform a per-recipe
14325 to check for what the latest upstream version is by calling 14325 check for what the latest upstream source code version is
14326 <filename>bitbake -c checkpkg</filename>. 14326 by calling
14327 When source code is provided from Git repositories, the 14327 <filename>bitbake -c checkpkg</filename> <replaceable>recipe</replaceable>.
14328 latest upstream version is determined by picking the latest 14328 If the recipe source code is provided from Git
14329 tag from the list of all repository tags. 14329 repositories, the OpenEmbedded build system determines the
14330 You can use the <filename>UPSTREAM_CHECK_GITTAGREGEX</filename> 14330 latest upstream version by picking the latest tag from the
14331 list of all repository tags.
14332 You can use the
14333 <filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
14331 variable to provide a regular expression to filter only the 14334 variable to provide a regular expression to filter only the
14332 relevant tags should the default filter not work 14335 relevant tags should the default filter not work
14333 correctly. 14336 correctly.
@@ -14345,11 +14348,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
14345 <glossdef> 14348 <glossdef>
14346 <para role="glossdeffirst"> 14349 <para role="glossdeffirst">
14347<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 14350<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
14348 For recipes that use the 14351 When the
14349 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> 14352 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
14350 class, the <filename>UPSTREAM_CHECK_REGEX</filename> 14353 class is enabled globally, use the
14351 variable causes the package checking system to use the 14354 <filename>UPSTREAM_CHECK_REGEX</filename> variable to
14352 regular expression to parse the page found using 14355 specify a different regular expression instead of the
14356 default one when the package checking system is parsing
14357 the page found using
14353 <link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>. 14358 <link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>.
14354 <literallayout class='monospaced'> 14359 <literallayout class='monospaced'>
14355 UPSTREAM_CHECK_REGEX = "package_regex" 14360 UPSTREAM_CHECK_REGEX = "package_regex"
@@ -14365,16 +14370,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
14365 <glossdef> 14370 <glossdef>
14366 <para role="glossdeffirst"> 14371 <para role="glossdeffirst">
14367<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 14372<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
14368 For recipes that use the 14373 When the
14369 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> 14374 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
14370 class, this variable causes the OpenEmbedded build system 14375 class is enabled globally, you can perform a per-recipe
14371 to check for what the latest upstream version is by calling 14376 check for what the latest upstream source code version is
14372 <filename>bitbake -c checkpkg</filename>. 14377 by calling <filename>bitbake -c checkpkg</filename>
14373 When the source code is provided from tarballs, the latest 14378 <replaceable>recipe</replaceable>.
14379 If the source code is provided from tarballs, the latest
14374 version is determined by fetching the directory listing 14380 version is determined by fetching the directory listing
14375 where the tarball is and attempting to find a later tarball. 14381 where the tarball is and attempting to find a later tarball.
14376 When this approach does not work, 14382 When this approach does not work, you can use
14377 you can use <filename>UPSTREAM_CHECK_URI</filename> to 14383 <filename>UPSTREAM_CHECK_URI</filename> to
14378 provide a different URI that contains the link to the 14384 provide a different URI that contains the link to the
14379 latest tarball. 14385 latest tarball.
14380 <literallayout class='monospaced'> 14386 <literallayout class='monospaced'>