summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorJoao Marcos Costa <joaomarcos.costa@bootlin.com>2024-04-05 12:03:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-08 14:36:38 +0100
commitd72ace8e5a7389c32bfcde731e0beb7ae225dc74 (patch)
tree2330f2b2b1b5071c530023bee197d2dbc904b1a6 /documentation/ref-manual
parentd357a08fb1f9e411e715f73f705537d6465a756d (diff)
downloadpoky-d72ace8e5a7389c32bfcde731e0beb7ae225dc74.tar.gz
classes: document new go-vendor class
A reference to this class in the release notes will be added in a follow-up commit. (From yocto-docs rev: bfd38ad1056ded01a25acfa37e89302df2290ddf) Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/classes.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index ab71cbe40c..a1e160bb44 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -939,6 +939,20 @@ The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the
939 939
940See the associated :term:`GO_WORKDIR` variable. 940See the associated :term:`GO_WORKDIR` variable.
941 941
942.. _ref-classes-go-vendor:
943
944``go-vendor``
945=============
946
947The :ref:`ref-classes-go-vendor` class implements support for offline builds,
948also known as Go vendoring. In such a scenario, the module dependencias are
949downloaded during the :ref:`ref-tasks-fetch` task rather than when modules are
950imported, thus being coherent with Yocto's concept of fetching every source
951beforehand.
952
953The dependencies are unpacked into the modules' ``vendor`` directory, where a
954manifest file is generated.
955
942.. _ref-classes-gobject-introspection: 956.. _ref-classes-gobject-introspection:
943 957
944``gobject-introspection`` 958``gobject-introspection``