summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2022-10-06 15:05:51 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-19 17:32:56 +0100
commite6fb7f27f6782180dd158ef3c092f0bb92a9937a (patch)
treed30ce1b58a1c0fa04db15fa19cd6a9276bc3210a /documentation
parent98893c4ddf530f56c3cdc8f54877acb4f1465bcb (diff)
downloadpoky-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')
-rw-r--r--documentation/ref-manual/classes.rst14
-rw-r--r--documentation/ref-manual/variables.rst7
2 files changed, 21 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
659recipes building software that use ``gettext`` should inherit this 659recipes building software that use ``gettext`` should inherit this
660class. 660class.
661 661
662.. _ref-classes-github-releases:
663
664``github-releases``
665===================
666
667For recipes that fetch release tarballs from github, the ``github-releases``
668class sets up a standard way for checking available upstream versions
669(to support ``devtool upgrade`` and the Automated Upgrade Helper (AUH)).
670
671To use it, add ``github-releases`` to the inherit line in the recipe,
672and if the default value of :term:`GITHUB_BASE_URI` is not suitable,
673then set your own value in the recipe. You should then use ``${GITHUB_BASE_URI}``
674in 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``
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 857cc01de4..e7b8709e7d 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -2768,6 +2768,13 @@ system and gives an overview of their function and contents.
2768 The directory in which a local copy of a Git repository is stored 2768 The directory in which a local copy of a Git repository is stored
2769 when it is cloned. 2769 when it is cloned.
2770 2770
2771 :term:`GITHUB_BASE_URI`
2772 When inheriting the :ref:`github-releases <ref-classes-github-releases>`
2773 class, specifies the base URL for fetching releases for the github
2774 project you wish to fetch sources from. The default value is as follows::
2775
2776 GITHUB_BASE_URI ?= "https://github.com/${BPN}/${BPN}/releases/"
2777
2771 :term:`GLIBC_GENERATE_LOCALES` 2778 :term:`GLIBC_GENERATE_LOCALES`
2772 Specifies the list of GLIBC locales to generate should you not wish 2779 Specifies the list of GLIBC locales to generate should you not wish
2773 to generate all LIBC locals, which can be time consuming. 2780 to generate all LIBC locals, which can be time consuming.