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 BE4D1CCA472 for ; Tue, 7 Oct 2025 12:41:43 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web10.17688.1759840901475186159 for ; Tue, 07 Oct 2025 05:41:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Bdv52u+P; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.43, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-42420c7de22so3423750f8f.1 for ; Tue, 07 Oct 2025 05:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1759840900; x=1760445700; darn=lists.openembedded.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=mw22SSrD5MkxC0kZ4dtBaGqAuz0HlDcYesU+W8MhxCw=; b=Bdv52u+Pn4nZiVIrGNQtTfD7gYpbmRiwAVXO027a03exYmIw6MKDGIEoTIsOJnuuvM Kcv5lhnWZaYTgVVpSmN4qr/6/Je9VSJBGscLvgM4qgDHm1zkHWfKQZ3XroHpqUw6712M LhysBuZGGFHbE0OpGof8bJHN4soGKZLJAZBmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759840900; x=1760445700; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mw22SSrD5MkxC0kZ4dtBaGqAuz0HlDcYesU+W8Mh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G5k2Dun8h0mlG05cbVKe3hBtb+maR0= X-Google-Smtp-Source: AGHT+IHRZwD/aL4Wf43IBKZzYC+p1JIAxiXKEZQiwDVNLjVjtJPXKz/VandTylpgwd/Oo7D+XSVidA== X-Received: by 2002:a5d:64e5:0:b0:3e9:3b91:e846 with SMTP id ffacd0b85a97d-4256712a4fbmr11250086f8f.10.1759840899758; Tue, 07 Oct 2025 05:41:39 -0700 (PDT) Received: from ?IPv6:2001:8b0:aba:5f3c:c03c:5a55:45ef:33fb? ([2001:8b0:aba:5f3c:c03c:5a55:45ef:33fb]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4255d8e9890sm25625020f8f.32.2025.10.07.05.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Oct 2025 05:41:38 -0700 (PDT) Message-ID: <77b7d645b235d4d145afdbea92667357749a7f36.camel@linuxfoundation.org> Subject: Re: [OE-core] [PATCH v1] core-image, populate_sdk_base: Add zsh-completion-pkgs image feature From: Richard Purdie To: peter.kjellerstedt@axis.com, Ross Burton , Khem Raj Cc: Adam X Nilsson , "openembedded-core@lists.openembedded.org" Date: Tue, 07 Oct 2025 13:41:38 +0100 In-Reply-To: References: <20251001160212.2588471-1-Adam.X.Nilsson@axis.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.0-1 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 ; Tue, 07 Oct 2025 12:41:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224529 On Tue, 2025-10-07 at 11:48 +0000, Peter Kjellerstedt via lists.openembedde= d.org wrote: > > -----Original Message----- > > From: Ross Burton > > Sent: den 7 oktober 2025 12:34 > > To: Khem Raj > > Cc: Adam X Nilsson ; openembedded-core@lists.o= penembedded.org; Adam X Nilsson ; Peter Kjellerste= dt > > Subject: Re: [OE-core] [PATCH v1] core-image, populate_sdk_base: Add zs= h-completion-pkgs image feature > >=20 > > On 6 Oct 2025, at 22:28, Khem Raj wrote: > > >=20 > > > On Mon, Oct 6, 2025 at 1:10=E2=80=AFPM Ross Burton via lists.openembe= dded.org wrote: > > > >=20 > > > > On 1 Oct 2025, at 17:02, Adam Nilsson via lists.openembedded.org wrote: > > > > >=20 > > > > > From: Adam Nilsson > > > > >=20 > > > > > Add a zsh-completion-pkgs image feature to install *-zsh-completi= on > > > > > packages into an image. This is similar to the existing > > > > > bash-completion-pkgs feature. > > > >=20 > > > > By my count there=E2=80=99s just three recipes in core that have -z= sh- > > > > completion packages.=C2=A0 Until it=E2=80=99s more common, I=E2=80= =99d suggest putting the > > > > COMPLEMENTARY_GLOBS assignment in your own image recipe if you want= to use > > > > it. > > >=20 > > > It does help people using zsh as default shell and working with yocto= SDKs. > >=20 > > Does it though? > >=20 > > $ git grep FILES.*zsh-completion > > meta/recipes-core/systemd/systemd_257.8.bb:FILES:${PN}-zsh-completion = =3D "${datadir}/zsh/site-functions" > > meta/recipes-devtools/patchelf/patchelf_0.18.0.bb:FILES:${PN}-zsh-compl= etion =3D "${datadir}/zsh" > > meta/recipes-kernel/kmod/kmod_34.2.bb:FILES:${PN}-zsh-completion =3D "$= {datadir}/zsh=E2=80=9D > >=20 > > How many SDKs ship with nativesdk builds of systemd, patchelf, or kmod? > >=20 > > Ross >=20 > Please think outside OE-Core. Just because there are only three recipes= =20 > in OE-Core that currently create zsh-completion packages, does not mean= =20 > that it is not more common outside of OE-Core. Also, one recipe that=20 > could benefit from creating a zsh-completion package is bluez5, which > currently has it disabled. >=20 > One of the main reasons I suggested Adam to send this patch upstream=20 > is for consistency. Since bash-completions-pkgs is a well established > feature, I would expect the same possibility for others shells (which > in our case happens to be zsh). I'm not sure we should have let the bash-completions one in. Now that we have, we have the inevitable followups and this is why I worry a lot about precedent when merging patches as people do use it against me later. One the one hand, it is a trivial patch. On the other, we have key features like dev packages and dbg packages being mixed with much lower priority things like shell completion. This makes it harder for new users to find the important takeaways from the less important ones. I really don't know what to do with the patch. I'm not particularly keen on it and my first impression was no, equally, I'm burnt out and really don't have the time/energy to write long emails arguing points about it. Cheers, Richard