diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-06-07 15:28:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-21 12:59:06 +0100 |
commit | cd7f7871749283b5220161521b8bed8e3ef5b29a (patch) | |
tree | aef6bc73426f476b44c35ebdcd00d3d3aac1ae4d | |
parent | c735ade9981936e535452a0f59a5e127198790ac (diff) | |
download | poky-cd7f7871749283b5220161521b8bed8e3ef5b29a.tar.gz |
ref-manual: Edits to UPSTREAM_CHECK_* variables.
Fixes [YOCTO #9671]
Applied some review comments to these three variables.
Edits to be sure to qualify that the variables only to recipes
who inherit the distrodata class.
(From yocto-docs rev: 1b094b0567fa75d1c77da7ec04641d034f29272d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 385dd7f35d..996526924c 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -14312,55 +14312,64 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
14312 | </glossdef> | 14312 | </glossdef> |
14313 | </glossentry> | 14313 | </glossentry> |
14314 | 14314 | ||
14315 | <glossentry id='var-UPSTREAM_CHECK_GITTAGREGEX_pn'><glossterm>UPSTREAM_CHECK_GITTAGREGEX_pn</glossterm> | 14315 | <glossentry id='var-UPSTREAM_CHECK_GITTAGREGEX'><glossterm>UPSTREAM_CHECK_GITTAGREGEX</glossterm> |
14316 | <info> | 14316 | <info> |
14317 | UPSTREAM_CHECK_GITTAGREGEX_pn[doc] = "Filters relevant Git tags when fetching source from an upstream Git repository." | 14317 | UPSTREAM_CHECK_GITTAGREGEX[doc] = "Filters relevant Git tags when fetching source from an upstream Git repository." |
14318 | </info> | 14318 | </info> |
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 | When the OpenEmbedded build system fetches source code | 14322 | For recipes inheriting the |
14323 | from an upstream Git repository, the build system uses | 14323 | <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> |
14324 | Git tags to determine which upstream release version to | 14324 | class, the <filename>UPSTREAM_CHECK_GITTAGREGEX</filename> |
14325 | fetch. | 14325 | variable causes the OpenEmbedded build system to use Git |
14326 | tabs to determine which upstream release version to | ||
14327 | fetch when fetching source code from an upstream Git | ||
14328 | repository. | ||
14326 | You can use this regular expression to filter only | 14329 | You can use this regular expression to filter only |
14327 | relevant tags: | 14330 | relevant tags: |
14328 | <literallayout class='monospaced'> | 14331 | <literallayout class='monospaced'> |
14329 | UPSTREAM_CHECK_GITTAGREGEX_pn-<replaceable>recipe</replaceable> = "git_tag_regex" | 14332 | UPSTREAM_CHECK_GITTAGREGEX-<replaceable>recipe</replaceable> = "git_tag_regex" |
14330 | </literallayout> | 14333 | </literallayout> |
14331 | </para> | 14334 | </para> |
14332 | </glossdef> | 14335 | </glossdef> |
14333 | </glossentry> | 14336 | </glossentry> |
14334 | 14337 | ||
14335 | <glossentry id='var-UPSTREAM_CHECK_REGEX_pn'><glossterm>UPSTREAM_CHECK_REGEX_pn</glossterm> | 14338 | <glossentry id='var-UPSTREAM_CHECK_REGEX'><glossterm>UPSTREAM_CHECK_REGEX</glossterm> |
14336 | <info> | 14339 | <info> |
14337 | UPSTREAM_CHECK_REGEX_pn[doc] = "The regular expression the package checking system uses to parse the page pointed to by UPSTREAM_CHECK_URI_pn." | 14340 | UPSTREAM_CHECK_REGEX[doc] = "The regular expression the package checking system uses to parse the page pointed to by UPSTREAM_CHECK_URI_pn." |
14338 | </info> | 14341 | </info> |
14339 | <glossdef> | 14342 | <glossdef> |
14340 | <para role="glossdeffirst"> | 14343 | <para role="glossdeffirst"> |
14341 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | 14344 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> |
14342 | The regular expression used by the package checking system | 14345 | For recipes inheriting the |
14343 | to parse the page found using | 14346 | <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> |
14344 | <link linkend='var-UPSTREAM_CHECK_URI_pn'><filename>UPSTREAM_CHECK_URI_pn</filename></link>. | 14347 | class, the <filename>UPSTREAM_CHECK_REGEX</filename> |
14348 | variable causes the package checking system to use the | ||
14349 | regular expression to parse the page found using | ||
14350 | <link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>. | ||
14345 | <literallayout class='monospaced'> | 14351 | <literallayout class='monospaced'> |
14346 | UPSTREAM_CHECK_REGEX_pn-<replaceable>recipe</replaceable> = "package_regex" | 14352 | UPSTREAM_CHECK_REGEX-<replaceable>recipe</replaceable> = "package_regex" |
14347 | </literallayout> | 14353 | </literallayout> |
14348 | </para> | 14354 | </para> |
14349 | </glossdef> | 14355 | </glossdef> |
14350 | </glossentry> | 14356 | </glossentry> |
14351 | 14357 | ||
14352 | <glossentry id='var-UPSTREAM_CHECK_URI_pn'><glossterm>UPSTREAM_CHECK_URI_pn</glossterm> | 14358 | <glossentry id='var-UPSTREAM_CHECK_URI'><glossterm>UPSTREAM_CHECK_URI</glossterm> |
14353 | <info> | 14359 | <info> |
14354 | UPSTREAM_CHECK_URI_pn[doc] = "The URL used by the package checking system to get the latest version of the package when source files are fetched from an upstream Git repository." | 14360 | UPSTREAM_CHECK_URI[doc] = "The URL used by the package checking system to get the latest version of the package when source files are fetched from an upstream Git repository." |
14355 | </info> | 14361 | </info> |
14356 | <glossdef> | 14362 | <glossdef> |
14357 | <para role="glossdeffirst"> | 14363 | <para role="glossdeffirst"> |
14358 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | 14364 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> |
14359 | The URL used by the package checking system to get the | 14365 | For recipes inheriting the |
14366 | <link linkend='ref-classes-distrodata'><filename>distrodata</filename></link> | ||
14367 | class, the <filename>UPSTREAM_CHECK_URI</filename> | ||
14368 | variable causes the package checking system to get the | ||
14360 | latest version of the package when source files are | 14369 | latest version of the package when source files are |
14361 | fetched from an upstream Git repository. | 14370 | fetched from an upstream Git repository. |
14362 | <literallayout class='monospaced'> | 14371 | <literallayout class='monospaced'> |
14363 | UPSTREAM_CHECK_URI_pn-<replaceable>recipe</replaceable> = "recipe_url" | 14372 | UPSTREAM_CHECK_URI-<replaceable>recipe</replaceable> = "recipe_url" |
14364 | </literallayout> | 14373 | </literallayout> |
14365 | </para> | 14374 | </para> |
14366 | </glossdef> | 14375 | </glossdef> |