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-08-19 08:42:18 +0100
commit1969871269d845d9de4a61854b71e9a285ee793d (patch)
tree958e4a3b667e8c4e5702851434f41e65db1d2073 /documentation
parenta8279122b973150be23adb8d3d9c2200af66c4b0 (diff)
downloadpoky-1969871269d845d9de4a61854b71e9a285ee793d.tar.gz
ref-manual: Review edits to the UPSTREAM_CHECK_* variables.
Applied some review comments. Fixes [YOCTO #9671] (From yocto-docs rev: f1630b792063cbfe1cae4994d63ff7031d4dfabf) 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.xml38
1 files changed, 21 insertions, 17 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index d5ff132e43..68ac032949 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -14319,15 +14319,17 @@ 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 check for
14325 to check for what the latest upstream version is by calling 14325 what the latest upstream version is by calling
14326 <filename>bitbake -c checkpkg</filename>. 14326 <filename>bitbake -c checkpkg</filename>.
14327 When source code is provided from Git repositories, the 14327 If the recipe source code is provided from Git
14328 latest upstream version is determined by picking the latest 14328 repositories, the OpenEmbedded build system determines the
14329 tag from the list of all repository tags. 14329 latest upstream version by picking the latest tag from the
14330 You can use the <filename>UPSTREAM_CHECK_GITTAGREGEX</filename> 14330 list of all repository tags.
14331 You can use the
14332 <filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
14331 variable to provide a regular expression to filter only the 14333 variable to provide a regular expression to filter only the
14332 relevant tags should the default filter not work 14334 relevant tags should the default filter not work
14333 correctly. 14335 correctly.
@@ -14345,11 +14347,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
14345 <glossdef> 14347 <glossdef>
14346 <para role="glossdeffirst"> 14348 <para role="glossdeffirst">
14347<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 14349<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
14348 For recipes that use the 14350 When the
14349 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> 14351 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
14350 class, the <filename>UPSTREAM_CHECK_REGEX</filename> 14352 class is enabled globally, use the
14351 variable causes the package checking system to use the 14353 <filename>UPSTREAM_CHECK_REGEX</filename> variable to
14352 regular expression to parse the page found using 14354 specify a different regular expression instead of the
14355 default one when the package checking system is parsing
14356 the page found using
14353 <link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>. 14357 <link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>.
14354 <literallayout class='monospaced'> 14358 <literallayout class='monospaced'>
14355 UPSTREAM_CHECK_REGEX = "package_regex" 14359 UPSTREAM_CHECK_REGEX = "package_regex"
@@ -14365,16 +14369,16 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
14365 <glossdef> 14369 <glossdef>
14366 <para role="glossdeffirst"> 14370 <para role="glossdeffirst">
14367<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 14371<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
14368 For recipes that use the 14372 When the
14369 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> 14373 <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
14370 class, this variable causes the OpenEmbedded build system 14374 class is enabled globally, you can perform a check for what
14371 to check for what the latest upstream version is by calling 14375 the latest upstream version is by calling
14372 <filename>bitbake -c checkpkg</filename>. 14376 <filename>bitbake -c checkpkg</filename>.
14373 When the source code is provided from tarballs, the latest 14377 If the source code is provided from tarballs, the latest
14374 version is determined by fetching the directory listing 14378 version is determined by fetching the directory listing
14375 where the tarball is and attempting to find a later tarball. 14379 where the tarball is and attempting to find a later tarball.
14376 When this approach does not work, 14380 When this approach does not work, you can use
14377 you can use <filename>UPSTREAM_CHECK_URI</filename> to 14381 <filename>UPSTREAM_CHECK_URI</filename> to
14378 provide a different URI that contains the link to the 14382 provide a different URI that contains the link to the
14379 latest tarball. 14383 latest tarball.
14380 <literallayout class='monospaced'> 14384 <literallayout class='monospaced'>