From patchwork Thu Mar 10 16:40:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Opdenacker X-Patchwork-Id: 5075 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2880C433F5 for ; Thu, 10 Mar 2022 16:40:31 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.11731.1646930430734969707 for ; Thu, 10 Mar 2022 08:40:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UxQfOPSH; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: michael.opdenacker@bootlin.com) Received: (Authenticated sender: michael.opdenacker@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 36C431BF216; Thu, 10 Mar 2022 16:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646930429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bXk7uiEgYEl23D1T5Mw5T9232jBHso1pe9btx2wmkPQ=; b=UxQfOPSHksdo6cpOgwNcWk4a/vkaPpgvBR4gGiZkHC0DuZGsp+JMoAzKdViqyr1+TjbLIj ZjnWON4QmThAP7x8WEoZFl7KLtIw3/ZKrNKPaie7t3OTOu35+0kpH+8jmySAnV9XLUwKNT 0ja+t1CSwfOfSEDkLKXPoRK3pxUfMujMMbWsc+QIWEFv7EJqUlM9u5acnzo5qxxDqOPJAq PnJGCahWYdAJQ2UfqeF73i+8ZEMRCa2jsttYmP39LGEkNfEYVm3z5TeZPqIh48Ktz1iMsD T2rqI4Wal9cvDeTWaZIPaamZ4ucDfW06NCJjK7V+YlyuWouBnyBWxrMN5MKINw== From: Michael Opdenacker To: bitbake-devel@lists.openembedded.org Cc: docs@lists.yoctoproject.org, Michael Opdenacker Subject: [PATCH v2 1/2] doc: bitbake-user-manual: add branch parameter to git SRC_URI examples Date: Thu, 10 Mar 2022 17:40:18 +0100 Message-Id: <20220310164019.24515-2-michael.opdenacker@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310164019.24515-1-michael.opdenacker@bootlin.com> References: <16DB126739A33B35.20222@lists.yoctoproject.org> <20220310164019.24515-1-michael.opdenacker@bootlin.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 10 Mar 2022 16:40:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13470 This parameter is now required by the git fetcher module Signed-off-by: Michael Opdenacker --- doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 8 ++++---- .../bitbake-user-manual-ref-variables.rst | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst index 9ff4e161..07885392 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst @@ -405,7 +405,7 @@ This fetcher supports the following parameters: ``git@gitlab.freedesktop.org:mesa/mesa.git``, however the expected URL in :term:`SRC_URI` is the following:: - SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;protocol=ssh;..." + SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..." Note the ``:`` character changed for a ``/`` before the path to the project. @@ -457,9 +457,9 @@ This fetcher supports the following parameters: Here are some example URLs:: - SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1" - SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http" - SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;protocol=ssh;..." + SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}" + SRC_URI = "git://github.com/asciidoc/asciidoc-py;protocol=https;branch=main" + SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..." .. note:: diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 59a9de2f..9fc57d0a 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1413,8 +1413,8 @@ overview of their function and contents. :term:`SRC_URI` checksums or :term:`SRCREV` when you have more than one file or git repository specified in :term:`SRC_URI`. For example:: - SRC_URI = "git://example.com/foo.git;name=first \ - git://example.com/bar.git;name=second \ + SRC_URI = "git://example.com/foo.git;branch=main;name=first \ + git://example.com/bar.git;branch=main;name=second \ http://example.com/file.tar.gz;name=third" SRCREV_first = "f1d2d2f924e986ac86fdf7b36c94bcdf32beec15"