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>
This commit is contained in:
Scott Rifenbark 2016-06-08 10:53:31 -07:00 committed by Richard Purdie
parent ac8173ef72
commit 6b3b444c35
1 changed files with 25 additions and 19 deletions

View File

@ -14319,15 +14319,18 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossdef> <glossdef>
<para role="glossdeffirst"> <para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
For recipes that use the When the
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
class, this variable causes the OpenEmbedded build system class is enabled globally, you can perform a per-recipe
to check for what the latest upstream version is by calling check for what the latest upstream source code version is
<filename>bitbake -c checkpkg</filename>. by calling
When source code is provided from Git repositories, the <filename>bitbake -c checkpkg</filename> <replaceable>recipe</replaceable>.
latest upstream version is determined by picking the latest If the recipe source code is provided from Git
tag from the list of all repository tags. repositories, the OpenEmbedded build system determines the
You can use the <filename>UPSTREAM_CHECK_GITTAGREGEX</filename> latest upstream version by picking the latest tag from the
list of all repository tags.
You can use the
<filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
variable to provide a regular expression to filter only the variable to provide a regular expression to filter only the
relevant tags should the default filter not work relevant tags should the default filter not work
correctly. correctly.
@ -14345,11 +14348,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossdef> <glossdef>
<para role="glossdeffirst"> <para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
For recipes that use the When the
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
class, the <filename>UPSTREAM_CHECK_REGEX</filename> class is enabled globally, use the
variable causes the package checking system to use the <filename>UPSTREAM_CHECK_REGEX</filename> variable to
regular expression to parse the page found using specify a different regular expression instead of the
default one when the package checking system is parsing
the page found using
<link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>. <link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>.
<literallayout class='monospaced'> <literallayout class='monospaced'>
UPSTREAM_CHECK_REGEX = "package_regex" UPSTREAM_CHECK_REGEX = "package_regex"
@ -14365,16 +14370,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossdef> <glossdef>
<para role="glossdeffirst"> <para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
For recipes that use the When the
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
class, this variable causes the OpenEmbedded build system class is enabled globally, you can perform a per-recipe
to check for what the latest upstream version is by calling check for what the latest upstream source code version is
<filename>bitbake -c checkpkg</filename>. by calling <filename>bitbake -c checkpkg</filename>
When the source code is provided from tarballs, the latest <replaceable>recipe</replaceable>.
If the source code is provided from tarballs, the latest
version is determined by fetching the directory listing version is determined by fetching the directory listing
where the tarball is and attempting to find a later tarball. where the tarball is and attempting to find a later tarball.
When this approach does not work, When this approach does not work, you can use
you can use <filename>UPSTREAM_CHECK_URI</filename> to <filename>UPSTREAM_CHECK_URI</filename> to
provide a different URI that contains the link to the provide a different URI that contains the link to the
latest tarball. latest tarball.
<literallayout class='monospaced'> <literallayout class='monospaced'>