mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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 <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bd47f3f3e6
commit
b5a67a2f7b
@@ -14319,17 +14319,20 @@ 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 inheriting the
|
For recipes that use the
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
||||||
class, the <filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
|
class, this variable causes the OpenEmbedded build system
|
||||||
variable causes the OpenEmbedded build system to use Git
|
to check for what the latest upstream version is by calling
|
||||||
tabs to determine which upstream release version to
|
<filename>bitbake -c checkpkg</filename>.
|
||||||
fetch when fetching source code from an upstream Git
|
When source code is provided from Git repositories, the
|
||||||
repository.
|
latest upstream version is determined by picking the latest
|
||||||
You can use this regular expression to filter only
|
tag from the list of all repository tags.
|
||||||
relevant tags:
|
You can use the <filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
|
||||||
|
variable to provide a regular expression to filter only the
|
||||||
|
relevant tags should the default filter not work
|
||||||
|
correctly.
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
UPSTREAM_CHECK_GITTAGREGEX-<replaceable>recipe</replaceable> = "git_tag_regex"
|
UPSTREAM_CHECK_GITTAGREGEX = "git_tag_regex"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
@@ -14337,19 +14340,19 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
|||||||
|
|
||||||
<glossentry id='var-UPSTREAM_CHECK_REGEX'><glossterm>UPSTREAM_CHECK_REGEX</glossterm>
|
<glossentry id='var-UPSTREAM_CHECK_REGEX'><glossterm>UPSTREAM_CHECK_REGEX</glossterm>
|
||||||
<info>
|
<info>
|
||||||
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."
|
||||||
</info>
|
</info>
|
||||||
<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 inheriting the
|
For recipes that use 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, the <filename>UPSTREAM_CHECK_REGEX</filename>
|
||||||
variable causes the package checking system to use the
|
variable causes the package checking system to use the
|
||||||
regular expression to parse the page found using
|
regular expression to parse 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-<replaceable>recipe</replaceable> = "package_regex"
|
UPSTREAM_CHECK_REGEX = "package_regex"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
@@ -14362,14 +14365,20 @@ 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 inheriting the
|
For recipes that use the
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
||||||
class, the <filename>UPSTREAM_CHECK_URI</filename>
|
class, this variable causes the OpenEmbedded build system
|
||||||
variable causes the package checking system to get the
|
to check for what the latest upstream version is by calling
|
||||||
latest version of the package when source files are
|
<filename>bitbake -c checkpkg</filename>.
|
||||||
fetched from an upstream Git repository.
|
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 <filename>UPSTREAM_CHECK_URI</filename> to
|
||||||
|
provide a different URI that contains the link to the
|
||||||
|
latest tarball.
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
UPSTREAM_CHECK_URI-<replaceable>recipe</replaceable> = "recipe_url"
|
UPSTREAM_CHECK_URI = "recipe_url"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
|
|||||||
Reference in New Issue
Block a user