From mboxrd@z Thu Jan 1 00:00:00 1970 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 C2409C433EF for ; Thu, 27 Jan 2022 21:07:49 +0000 (UTC) Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) by mx.groups.io with SMTP id smtpd.web09.3928.1643317669042771863 for ; Thu, 27 Jan 2022 13:07:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WXTuZhK3; spf=pass (domain: gmail.com, ip: 209.85.222.49, mailfrom: alex.kanavin@gmail.com) Received: by mail-ua1-f49.google.com with SMTP id y4so6564237uad.1 for ; Thu, 27 Jan 2022 13:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nRsUMto+idKco4/5i+xpmENw6g+4pw9cd2kXk3wL4bM=; b=WXTuZhK3w7O7L5geiLuWuFTLLqxQXOBsWA0grzwE2c54Pdw+40GyQaDGksDigIKvms VfuG96+IOnSynaGdtyZoyS86hwHV8c43BwnpYBxhzYyGR7nyr/xS2ElVW3e6l8BThG1j XFN4sqPKd8PJwx5sQV7lZMTnP1LACOtRHKs7tVkzeAj/FJWaRxTc6TjGgaLt8z8OKjbn 3SsftBHvbJp3XC3INzKNRZDrVLoK6qu1wnUrAwMcymi8dHmaYpHUZ+ViUs/iM1eKTpPN eEQ+nItsg2/IMz7+V15/BVKwHL3UZRTp9DubDWuXuDrvDNlWwJ47us1myZAZBIMaKwWy 2Y9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nRsUMto+idKco4/5i+xpmENw6g+4pw9cd2kXk3wL4bM=; b=4gzhudNO8DjeO5C4B6vwYQwLWIJU5kGnfBv6GQz0NYT1nGSqYYlR1udUETuXFWOSCk Ym5QNA5rnJv9UyWdVO9kTR4YzheOgSROsEwtHmf4VWvEtuYlFncxWGhx6JxSrHnR1Oax l7guGqdHkurPcyfLXMJl7WIllSFu15JYm6+vfHs8iGj0+Atz92m5G5sUXkn84fl/9ZNE 0yciKnXJ5qtVzndtfStzjJMMpmm0Ddtr7ARpIQfweo4LxOXEJ6kfkL6j1pdQ789O4kCC OfO6QEp01iFoZBTtRBDs3n0Vx4e8vCHQ99ED/QvSfpFwZ7AhMXQawo4PY/j1QYxGB0qT DoFw== X-Gm-Message-State: AOAM5300ONo9LzoFjB1zpOMBLA+WljaLAtSOFVfAGf2/epMTZXoDnox/ kmuN+BhjYs3jvRn2Cg9E+2XY3L0B6ewSFCoDrFw= X-Google-Smtp-Source: ABdhPJz+OnmlXJzczFGUkYJAxvjS1qb0n6iJZcRtwNR7fCAFGFZQQWx+pYgrIOUInk7jWDZxIZ6lJ0n8gUFKXoz/aBA= X-Received: by 2002:ab0:604e:: with SMTP id o14mr2712308ual.71.1643317668152; Thu, 27 Jan 2022 13:07:48 -0800 (PST) MIME-Version: 1.0 References: <16CE27BD1FB20052.24088@lists.yoctoproject.org> <20220127200650.GX26229@denix.org> In-Reply-To: From: Alexander Kanavin Date: Thu, 27 Jan 2022 22:07:37 +0100 Message-ID: Subject: Re: [yocto] [meta-lts-mixins][dunfell/go PATCH 1/4] Initial commit: add license, readme and layer config. To: Khem Raj Cc: Denys Dmytriyenko , Michael Halstead , Richard Purdie , Yocto-mailing-list Content-Type: multipart/alternative; boundary="000000000000dd098405d696b5f2" 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, 27 Jan 2022 21:07:49 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/56005 --000000000000dd098405d696b5f2 Content-Type: text/plain; charset="UTF-8" On Thu, 27 Jan 2022 at 22:04, Khem Raj wrote: > > > On Thu, Jan 27, 2022 at 12:06 PM Denys Dmytriyenko > wrote: > >> On Thu, Jan 27, 2022 at 06:07:06PM +0100, Alexander Kanavin wrote: >> > A question specifically to Denys, how can I actually get this into the >> > mixin repo, and have commit rights to the branch? We've tested this >> quite >> > well in private, and there are further enhancements coming up. >> >> Michael, >> >> Would it be possible to create 2 additional branches in the >> meta-lts-mixins >> repository at https://git.yoctoproject.org/meta-lts-mixins/ called >> "dunfell/go" and also "dunfell/docker" and give Alex push rights to them? > > > How would one use new version of both go and say kernel in a project > Checkout the branches from the same repo into two different directories. Yes this is unusual, and slightly confusing. But that way the branches can be maintained and included into builds independently. Alex > > >> >> Please let us know, thanks a lot! >> >> -- >> Denys >> >> >> > On Thu, 27 Jan 2022 at 15:43, Alexander Kanavin via >> lists.yoctoproject.org >> > wrote: >> > >> > > Reviewed-by: Martin Kaistra >> > > Signed-off-by: Alexander Kanavin >> > > --- >> > > COPYING.MIT | 17 +++++++++++++++++ >> > > README | 23 +++++++++++++++++++++++ >> > > conf/layer.conf | 19 +++++++++++++++++++ >> > > 3 files changed, 59 insertions(+) >> > > create mode 100644 COPYING.MIT >> > > create mode 100644 README >> > > create mode 100644 conf/layer.conf >> > > >> > > diff --git a/COPYING.MIT b/COPYING.MIT >> > > new file mode 100644 >> > > index 0000000..fb950dc >> > > --- /dev/null >> > > +++ b/COPYING.MIT >> > > @@ -0,0 +1,17 @@ >> > > +Permission is hereby granted, free of charge, to any person >> obtaining a >> > > copy >> > > +of this software and associated documentation files (the >> "Software"), to >> > > deal >> > > +in the Software without restriction, including without limitation the >> > > rights >> > > +to use, copy, modify, merge, publish, distribute, sublicense, and/or >> sell >> > > +copies of the Software, and to permit persons to whom the Software is >> > > +furnished to do so, subject to the following conditions: >> > > + >> > > +The above copyright notice and this permission notice shall be >> included >> > > in >> > > +all copies or substantial portions of the Software. >> > > + >> > > +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, >> EXPRESS >> > > OR >> > > +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF >> MERCHANTABILITY, >> > > +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT >> SHALL >> > > THE >> > > +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR >> OTHER >> > > +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, >> ARISING >> > > FROM, >> > > +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER >> DEALINGS IN >> > > +THE SOFTWARE. >> > > diff --git a/README b/README >> > > new file mode 100644 >> > > index 0000000..5b22b72 >> > > --- /dev/null >> > > +++ b/README >> > > @@ -0,0 +1,23 @@ >> > > +"Mixin" layer for adding latest Go toolchain versions into the Yocto >> > > Project LTS. >> > > + >> > > +At the time Dunfell was released in April 2020, Go 1.14 was the >> latest >> > > version >> > > +and officially Dunfell supports only that. This thin special-purpose >> mixin >> > > +layer is meant to address this issue by backporting Go recipes from >> the >> > > master >> > > +branch of openembedded-core. >> > > + >> > > +You can see what Go versions are provided by listing >> recipes-devtools/ >> > > content. >> > > + >> > > +Including the layer automatically picks up the latest Go version; >> > > different versions >> > > +need to be set explicitly by adding the following line to your distro >> > > config >> > > +or local.conf: >> > > + >> > > +GOVERSION = "1.16%" >> > > + >> > > +Please note: enabling these newer Go versions makes docker from >> dunfell >> > > branch >> > > +of meta-virtualization unbuildable as it is too old. If you need a >> > > working docker >> > > +recipe, you can use the supplementary 'dunfell/docker' layer from >> this >> > > meta-lts-mixin >> > > +repository. >> > > + >> > > + >> > > +Maintainers: >> > > +Alexander Kanavin >> > > diff --git a/conf/layer.conf b/conf/layer.conf >> > > new file mode 100644 >> > > index 0000000..5f74224 >> > > --- /dev/null >> > > +++ b/conf/layer.conf >> > > @@ -0,0 +1,19 @@ >> > > +# We have a conf and classes directory, append to BBPATH >> > > +BBPATH .= ":${LAYERDIR}" >> > > + >> > > +# We have a recipes directory, add to BBFILES >> > > +BBFILES += "${LAYERDIR}/recipes*/*/*.bb >> ${LAYERDIR}/recipes*/*/*.bbappend" >> > > + >> > > +BBFILE_COLLECTIONS += "lts-go-mixin" >> > > +BBFILE_PATTERN_lts-go-mixin := "^${LAYERDIR}/" >> > > +BBFILE_PRIORITY_lts-go-mixin = "6" >> > > + >> > > +LAYERSERIES_COMPAT_lts-go-mixin = "dunfell" >> > > + >> > > +LAYERDEPENDS_lts-go-mixin = " \ >> > > + core \ >> > > +" >> > > + >> > > +GOVERSION ?= "1.17%" >> > > +PREFERRED_PROVIDER_go-native = "go-binary-native" >> > > + >> > > -- >> > > 2.20.1 >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> You automatically follow any topics you start or reply to. >> View/Reply Online (#56003): >> https://lists.yoctoproject.org/g/yocto/message/56003 >> Unfollow This Topic: https://lists.yoctoproject.org/unft/88722205/1997914 >> Group Owner: yocto+owner@lists.yoctoproject.org >> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ >> raj.khem@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >> >> --000000000000dd098405d696b5f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 27 Jan 2022 at 22:04, Khem Raj <raj.khem@gmail.com> wrote:


On Thu, Jan 27, 2022 at 12:0= 6 PM Denys Dmytriyenko <denis@denix.org> wrote:
On Thu, Jan 27, 2022 at 06:07:06PM +0100, Alexander Kan= avin wrote:
> A question specifically to Denys, how can I actually get this into the=
> mixin repo, and have commit rights to the branch? We've tested thi= s quite
> well in private, and there are further enhancements coming up.

Michael,

Would it be possible to create 2 additional branches in the meta-lts-mixins=
repository at https://git.yoctoproject.org/meta-lts-mix= ins/ called
"dunfell/go" and also "dunfell/docker" and give Alex pu= sh rights to them?

How would one use new version of =C2=A0both =C2=A0go and say kernel in a = project=C2=A0

Checkout th= e branches from the same repo into two different directories. Yes this is u= nusual, and slightly confusing. But that way the branches can be maintained= and included into builds independently.

Alex<= br>

=C2=A0



Please let us know, thanks a lot!

--
Denys


> On Thu, 27 Jan 2022 at 15:43, Alexander Kanavin via lists.yoctopro= ject.org
> <alex.kanavin=3Dgmail.com@lists.yoctoproject.org> wrote:
>
> > Reviewed-by: Martin Kaistra <martin.kaistra@linutronix.de>
> > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > ---
> >=C2=A0 COPYING.MIT=C2=A0 =C2=A0 =C2=A0| 17 +++++++++++++++++
> >=C2=A0 README=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 23 +++++++++++++= ++++++++++
> >=C2=A0 conf/layer.conf | 19 +++++++++++++++++++
> >=C2=A0 3 files changed, 59 insertions(+)
> >=C2=A0 create mode 100644 COPYING.MIT
> >=C2=A0 create mode 100644 README
> >=C2=A0 create mode 100644 conf/layer.conf
> >
> > diff --git a/COPYING.MIT b/COPYING.MIT
> > new file mode 100644
> > index 0000000..fb950dc
> > --- /dev/null
> > +++ b/COPYING.MIT
> > @@ -0,0 +1,17 @@
> > +Permission is hereby granted, free of charge, to any person obta= ining a
> > copy
> > +of this software and associated documentation files (the "S= oftware"), to
> > deal
> > +in the Software without restriction, including without limitatio= n the
> > rights
> > +to use, copy, modify, merge, publish, distribute, sublicense, an= d/or sell
> > +copies of the Software, and to permit persons to whom the Softwa= re is
> > +furnished to do so, subject to the following conditions:
> > +
> > +The above copyright notice and this permission notice shall be i= ncluded
> > in
> > +all copies or substantial portions of the Software.
> > +
> > +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF = ANY KIND, EXPRESS
> > OR
> > +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANT= ABILITY,
> > +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVEN= T SHALL
> > THE
> > +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR= OTHER
> > +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, = ARISING
> > FROM,
> > +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DE= ALINGS IN
> > +THE SOFTWARE.
> > diff --git a/README b/README
> > new file mode 100644
> > index 0000000..5b22b72
> > --- /dev/null
> > +++ b/README
> > @@ -0,0 +1,23 @@
> > +"Mixin" layer for adding latest Go toolchain versions = into the Yocto
> > Project LTS.
> > +
> > +At the time Dunfell was released in April 2020, Go 1.14 was the = latest
> > version
> > +and officially Dunfell supports only that. This thin special-pur= pose mixin
> > +layer is meant to address this issue by backporting Go recipes f= rom the
> > master
> > +branch of openembedded-core.
> > +
> > +You can see what Go versions are provided by listing recipes-dev= tools/
> > content.
> > +
> > +Including the layer automatically picks up the latest Go version= ;
> > different versions
> > +need to be set explicitly by adding the following line to your d= istro
> > config
> > +or local.conf:
> > +
> > +GOVERSION =3D "1.16%"
> > +
> > +Please note: enabling these newer Go versions makes docker from = dunfell
> > branch
> > +of meta-virtualization unbuildable as it is too old. If you need= a
> > working docker
> > +recipe, you can use the supplementary 'dunfell/docker' l= ayer from this
> > meta-lts-mixin
> > +repository.
> > +
> > +
> > +Maintainers:
> > +Alexander Kanavin <alex@linutronix.de>
> > diff --git a/conf/layer.conf b/conf/layer.conf
> > new file mode 100644
> > index 0000000..5f74224
> > --- /dev/null
> > +++ b/conf/layer.conf
> > @@ -0,0 +1,19 @@
> > +# We have a conf and classes directory, append to BBPATH
> > +BBPATH .=3D ":${LAYERDIR}"
> > +
> > +# We have a recipes directory, add to BBFILES
> > +BBFILES +=3D "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recip= es*/*/*.bbappend"
> > +
> > +BBFILE_COLLECTIONS +=3D "lts-go-mixin"
> > +BBFILE_PATTERN_lts-go-mixin :=3D "^${LAYERDIR}/"
> > +BBFILE_PRIORITY_lts-go-mixin =3D "6"
> > +
> > +LAYERSERIES_COMPAT_lts-go-mixin =3D "dunfell"
> > +
> > +LAYERDEPENDS_lts-go-mixin =3D " \
> > +=C2=A0 =C2=A0 core \
> > +"
> > +
> > +GOVERSION ?=3D "1.17%"
> > +PREFERRED_PROVIDER_go-native =3D "go-binary-native" > > +
> > --
> > 2.20.1

-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to.
View/Reply Online (#56003): https://lists.yoctop= roject.org/g/yocto/message/56003
Unfollow This Topic: https://lists.yoctoproject.= org/unft/88722205/1997914
Group Owner: yocto+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/un= sub [raj.khem@g= mail.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-

--000000000000dd098405d696b5f2--