diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2022-10-06 15:05:51 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-19 17:32:56 +0100 |
commit | e6fb7f27f6782180dd158ef3c092f0bb92a9937a (patch) | |
tree | d30ce1b58a1c0fa04db15fa19cd6a9276bc3210a /documentation/ref-manual/classes.rst | |
parent | 98893c4ddf530f56c3cdc8f54877acb4f1465bcb (diff) | |
download | poky-e6fb7f27f6782180dd158ef3c092f0bb92a9937a.tar.gz |
ref-manual: document new github-releases class
Newly added class in 4.1.
(From yocto-docs rev: 391750e417d7a6b88222e03aa0a57ea87d9f618a)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r-- | documentation/ref-manual/classes.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index cc0d212130..6c60d414ca 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -659,6 +659,20 @@ the GNU ``gettext`` internationalization and localization system. All | |||
659 | recipes building software that use ``gettext`` should inherit this | 659 | recipes building software that use ``gettext`` should inherit this |
660 | class. | 660 | class. |
661 | 661 | ||
662 | .. _ref-classes-github-releases: | ||
663 | |||
664 | ``github-releases`` | ||
665 | =================== | ||
666 | |||
667 | For recipes that fetch release tarballs from github, the ``github-releases`` | ||
668 | class sets up a standard way for checking available upstream versions | ||
669 | (to support ``devtool upgrade`` and the Automated Upgrade Helper (AUH)). | ||
670 | |||
671 | To use it, add ``github-releases`` to the inherit line in the recipe, | ||
672 | and if the default value of :term:`GITHUB_BASE_URI` is not suitable, | ||
673 | then set your own value in the recipe. You should then use ``${GITHUB_BASE_URI}`` | ||
674 | in the value you set for :term:`SRC_URI` within the recipe. | ||
675 | |||
662 | .. _ref-classes-gnomebase: | 676 | .. _ref-classes-gnomebase: |
663 | 677 | ||
664 | ``gnomebase.bbclass`` | 678 | ``gnomebase.bbclass`` |