1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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>
This commit is contained in:
Paul Eggleton
2022-10-06 15:05:51 +13:00
committed by Richard Purdie
parent 98893c4ddf
commit e6fb7f27f6
2 changed files with 21 additions and 0 deletions
+14
View File
@@ -659,6 +659,20 @@ the GNU ``gettext`` internationalization and localization system. All
recipes building software that use ``gettext`` should inherit this
class.
.. _ref-classes-github-releases:
``github-releases``
===================
For recipes that fetch release tarballs from github, the ``github-releases``
class sets up a standard way for checking available upstream versions
(to support ``devtool upgrade`` and the Automated Upgrade Helper (AUH)).
To use it, add ``github-releases`` to the inherit line in the recipe,
and if the default value of :term:`GITHUB_BASE_URI` is not suitable,
then set your own value in the recipe. You should then use ``${GITHUB_BASE_URI}``
in the value you set for :term:`SRC_URI` within the recipe.
.. _ref-classes-gnomebase:
``gnomebase.bbclass``