diff for duplicates of <DM2W2QFSWNBT.2A6RT11K7VMT1@bootlin.com> diff --git a/a/1.txt b/N1/1.txt index a31d1bf..339df3c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -37,3 +37,249 @@ important to mention that. Could you add it in a v2? [1]: https://git.openembedded.org/bitbake/tree/lib/bb/parse/ast.py#n319 Antonin +text: +Return-Path: <bounce+61381+10659+8963659+13628082@lists.yoctoproject.org> +Delivered-To: antonin.godard@bootlin.com +Received: from mail.galae.net ([172.22.1.253]) + by 9e7fea892943 with LMTP + id 8F29A7fezGqxcRAAtaWaaQ + (envelope-from <bounce+61381+10659+8963659+13628082@lists.yoctoproject.org>) + for <antonin.godard@bootlin.com>; Mon, 12 Oct 2026 15:20:55 +0200 +X-Original-To: antonin.godard@bootlin.com +Received: from smtpin-01.galae.net (smtpin-01.galae.net [51.159.2.148]) + (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) + key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) + (No client certificate requested) + by mail.galae.net (Postcow) with ESMTPS id 9B76311D70CC0 + for <antonin.godard@bootlin.com>; Mon, 12 Oct 2026 15:20:54 +0200 (CEST) +Authentication-Results: mail.galae.net; + dkim=pass header.d=lists.yoctoproject.org header.s=groups1 header.b=lRnThJv5; + dmarc=pass (policy=none) header.from=lists.yoctoproject.org; + spf=pass (mail.galae.net: domain of bounce+61381+10659+8963659+13628082@lists.yoctoproject.org designates 173.255.243.56 as permitted sender) smtp.mailfrom=bounce+61381+10659+8963659+13628082@lists.yoctoproject.org +ARC-Seal: i=1; s=dkim; d=bootlin.com; t\x1791811254; a=rsa-sha256; cv=none; + b=tr3e6cjjwvxJLmiuO4JUgvm8+jxh9kwzxyLLkCGLxMmpNHwuX+CbzwxyGzqTnk7YJ381Tx + XCVWft8eu/Bb14PYnmoR8ZMmWh5B7UeIz5YdBrYwT2RJv3LX+H8EFTLDQc4a7vn+qiiEL1 + REIek443xPVbqVvJhgPH5D9FmfJvrCkUGOy/rlvQT5GkuVnJZ4BgX1hZKt60Sx+D2PNUVP + Z2J50AF5NKwPLtobE0E1iT7SQj0A9DFxPy+1GZ8X0zoHN0ObrXG/NILgwMYooia8FGngUr + vShMPthcMwuZVpZBKE/Jxm3Bs9Nnrlwl8o0mGXfmuPJVm51GM+y/UJDdnXdKSQ=ARC-Authentication-Results: i=1; + mail.galae.net; + dkim=pass header.d=lists.yoctoproject.org header.s=groups1 header.b=lRnThJv5; + dmarc=pass (policy=none) header.from=lists.yoctoproject.org; + spf=pass (mail.galae.net: domain of bounce+61381+10659+8963659+13628082@lists.yoctoproject.org designates 173.255.243.56 as permitted sender) smtp.mailfrom=bounce+61381+10659+8963659+13628082@lists.yoctoproject.org +ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; + s=dkim; t\x1791811254; + h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: + message-id:message-id:to:to:cc:cc:mime-version:mime-version: + content-type:content-type:resent-from:in-reply-to:in-reply-to: + references:references:list-id:list-help:list-unsubscribe: + list-unsubscribe-post:list-subscribe:list-post:dkim-signature; + bh=wXiUO+/F3j16NwadboMlN5lI4U9Ddtpc12kUBpnn4jA=; + b=GGE6F3+7a4hduD64k9r3Rv33JaOfLjVdSnEq30Ogr7dlv5svQiu7vSshyKz2ScVWkZmM42 + fkMyj2qsENHpGJflmox9dhRh2YWKOuAxOtVQXvAPHiWRlAf8qhjPb+cDLtFQ0GCvtdfB0z + yXKFSy5ufqyqM/Ytqzo64yFEpMO2gplBIGmc3imsJdaEdUxBqPFg9RbrnhCijWhVjnnQo1 + 6dJbF49jUq9BZ7ZsqHgf9agxLR6bSdwaJRCWY3HVRz6r2oYsgOXmLOCEOVrl6joIqDtRrr + BRKX3lyQhsrmHQ4WDPdGShINd6xmmfSHhKLXPyQhHKWyEKSIinj9LyTz5fjqmg=Received: from mail07.groups.io (mail07.groups.io [173.255.243.56]) + by smtpin-01.galae.net (Postfix) with ESMTPS id 1883C343DE4 + for <antonin.godard@bootlin.com>; Mon, 12 Oct 2026 13:20:53 +0000 (UTC) +DKIM-Signature: a=rsa-sha256; bh=wXiUO+/F3j16NwadboMlN5lI4U9Ddtpc12kUBpnn4jA=; + c=relaxed/relaxed; d=lists.yoctoproject.org; + h=From:Subject:Date:Message-ID:To:Cc:In-Reply-To:References:Reply-To:Sender:List-Id:List-Post:List-Subscribe:List-Unsubscribe:List-Help:MIME-Version:Content-Type:Content-Transfer-Encoding; + s=groups1; t\x1791811252; v=1; x\x1792070452; + b=lRnThJv5NnYJYPWvoOlkh64C33HLWCfUi5vUxZvFchcGX0036qWkw0TJZdPJy8zkU35EnbVQ + JYxzAD1TaX0PI2Dzj1P0d4gZoVOj9qZxUh/ludFaPevcyyictF+XQApqRF3WMHtSSqVC+Bhzi71 + XB5HCF6XfNoTyTj3dUnPpjhm0EGAGBTuxAKm1mxBw9s2J682ha6oQwAymQpJ+x18Uj8U9Sg6+ng + 0XxMUMR70K6txUaD5gSrFpIQUGndjznH8MhDxV9EO/lAW7kri/IDEuMcu4uFhjPAwIm6ZTsfVm5 + swzEwigIf6eTSpDpVE+vVbiM3xLTXwv5WEIAY1VfUbcHQ=X-Received: by 127.0.0.2 with SMTP id fEjoYY8964994xEZ0kRGdCyr; Mon, 12 Oct 2026 06:20:52 -0700 +X-Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) + by mx.groups.io with SMTP id smtpd.msgproc02-g2.13163.1791811249370348145 + for <docs@lists.yoctoproject.org>; + Mon, 12 Oct 2026 06:20:50 -0700 +X-Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) + by smtpout-03.galae.net (Postfix) with ESMTPS id 49B124E411F8 + for <docs@lists.yoctoproject.org>; Mon, 12 Oct 2026 13:20:47 +0000 (UTC) +X-Received: from mail.galae.net (mail.galae.net [212.83.136.155]) + by smtpout-01.galae.net (Postfix) with ESMTPS id 112BD601A6; + Mon, 12 Oct 2026 13:20:47 +0000 (UTC) +X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9307711D70D17; + Mon, 12 Oct 2026 15:20:45 +0200 (CEST) +Mime-Version: 1.0 +Date: Mon, 12 Oct 2026 15:20:45 +0200 +Message-Id: <DM2W2QFSWNBT.2A6RT11K7VMT1@bootlin.com> +Subject: Re: [docs] [bitbake-devel] [PATCH] doc: document dependency tracking associated with addpylib +Cc: <docs@lists.yoctoproject.org> +From: "Antonin Godard via lists.yoctoproject.org" <antonin.godard=bootlin.com@lists.yoctoproject.org> +To: <yann.dirson@vates.tech>, <bitbake-devel@lists.openembedded.org> +References: <1791793541.8631fc262581453bbf619ec5b2062170.1a12f37b16e00080d7@vates.tech> <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com> +In-Reply-To: <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com> +X-Last-TLS-Session-Version: TLSv1.3 +Precedence: Bulk +List-Subscribe: <mailto:docs+subscribe@lists.yoctoproject.org> +List-Help: <mailto:docs+help@lists.yoctoproject.org> +Sender: docs@lists.yoctoproject.org +List-Id: <docs.lists.yoctoproject.org> +Mailing-List: list docs@lists.yoctoproject.org; contact docs+owner@lists.yoctoproject.org +Delivered-To: mailing list docs@lists.yoctoproject.org +Resent-Date: Mon, 12 Oct 2026 06:20:50 -0700 +Resent-From: antonin.godard@bootlin.com +Reply-To: antonin.godard@bootlin.com +List-Post: <mailto:docs@lists.yoctoproject.org> +List-Unsubscribe-Post: List-Unsubscribe=One-Click +List-Unsubscribe: <https://lists.yoctoproject.org/g/docs/leave/13628082/8963659/2084302499/plugh> +X-Gm-Message-State: dwRW08oTAk9mX8DAYqfZ8rGQx8963659AAContent-Type: multipart/mixed; boundary="W3XM4wu3PdhQOzBYMFuF" +X-Last-TLS-Session-Version: TLSv1.3 +X-Rspamd-Queue-Id: 9B76311D70CC0 +X-Spamd-Result: default: False [-11.92 / 30.00]; + BAYES_HAM(-5.50)[99.99%]; + REPLY(-4.00)[]; + IP_REPUTATION_HAM(-1.35)[asn: 63949(-0.40), country: SG(-0.01), ip: 173.255.243.56(-0.94)]; + DMARC_POLICY_ALLOW(-0.50)[lists.yoctoproject.org,none]; + MV_CASE(0.50)[]; + RWL_MAILSPIKE_EXCELLENT(-0.40)[173.255.243.56:from]; + R_DKIM_ALLOW(-0.20)[lists.yoctoproject.org:s=groups1]; + R_SPF_ALLOW(-0.20)[+ip4:173.255.243.56:c]; + MAILLIST(-0.15)[generic]; + MIME_GOOD(-0.10)[multipart/mixed,text/plain]; + MX_GOOD(-0.01)[]; + HAS_LIST_UNSUB(-0.01)[]; + RCVD_TLS_ALL(0.00)[]; + TAGGED_FROM(0.00)[61381,10659,8963659,13628082]; + URIBL_BLOCKED(0.00)[yoctoproject.org:email,yoctoproject.org:url,bootlin.com:mid,bootlin.com:email,bootlin.com:replyto,vates.tech:email,lists.yoctoproject.org:dkim,mail07.groups.io:helo,mail07.groups.io:rdns,openembedded.org:url]; + RCPT_MAILCOW_DOMAIN(0.00)[bootlin.com]; + BCC(0.00)[]; + MIME_TRACE(0.00)[0:+,1:+,2:+]; + REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; + ARC_NA(0.00)[]; + FORGED_RECIPIENTS_MAILLIST(0.00)[]; + REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; + RCPT_COUNT_THREE(0.00)[3]; + ARC_SIGNED(0.00)[bootlin.com:s=dkim:i=1]; + TO_DN_NONE(0.00)[]; + DNSWL_BLOCKED(0.00)[173.255.243.56:from]; + DWL_DNSWL_BLOCKED(0.00)[yoctoproject.org:dkim]; + PRECEDENCE_BULK(0.00)[]; + FROM_HAS_DN(0.00)[]; + FROM_NEQ_ENVFROM(0.00)[antonin.godard=bootlin.com@lists.yoctoproject.org,bounce@lists.yoctoproject.org]; + DKIM_TRACE(0.00)[lists.yoctoproject.org:+]; + NEURAL_HAM(-0.00)[-1.000]; + EXTERNAL_RELAY_AUTHENTICATED(0.00)[]; + CTYPE_MIXED_BOGUS(0.00)[]; + FORGED_SENDER_MAILLIST(0.00)[]; + MISSING_XM_UA(0.00)[]; + ASN(0.00)[asn:63949, ipnet:173.255.240.0/20, country:SG]; + RCVD_COUNT_ONE(0.00)[1]; + HAS_REPLYTO(0.00)[antonin.godard@bootlin.com] + +--W3XM4wu3PdhQOzBYMFuF +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=UTF-8 + +On Mon Oct 12, 2026 at 3:08 PM CEST, Antonin Godard via lists.openembedded.org wrote: +> Hi, +> +> On Mon Oct 12, 2026 at 10:25 AM CEST, Yann Dirson via lists.openembedded.org wrote: +>> Reported-by: Claude Opus 5.5 +>> Signed-off-by: Yann Dirson <yann.dirson@vates.tech> +>> --- +>> doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 8 ++++++++ +>> 1 file changed, 8 insertions(+) +>> +>> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +>> index 621aab253..eef1f9624 100644 +>> --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +>> +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +>> @@ -2264,6 +2264,14 @@ The specified <namespace> is imported automatically, and if the imported +>> module specifies an attribute named ``BBIMPORTS``, that list of +>> sub-modules is iterated and imported too. +>> +>> +Additionally, Bitbake will detect usage of functions from such a +>> +library and include them in task hashes, so changes in those functions +>> +trigger task rebuilds. Note that only functions inside modules +>> +declared using ``BBIMPORTS`` benefit from this dependency tracking, +>> +any name defined directly in the specified namespace (e.g. in +>> +`<namespace>/__init__.py`, or in a library hat would be defined as +> +> s/hat/that/ +> +>> +`<namespace>.py`) would *not* benefit from this tracking. +> +> Otherwise, this is clear to me. I did not know about this limitation/feature, +> and this is definitely important to document, thanks! + +Reading the code[1], it seems that functions prefixed with _ are not included +in the task checksums - if I understood correctly. I think it would be also +important to mention that. Could you add it in a v2? + +[1]: https://git.openembedded.org/bitbake/tree/lib/bb/parse/ast.py#n319 + +Antonin + +--W3XM4wu3PdhQOzBYMFuF +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline + + +-=-=-=-=-=-=-=-=-=-=-=- +Links: You receive all messages sent to this group. +View/Reply Online (#10659): https://lists.yoctoproject.org/g/docs/message/10659 +Mute This Topic: https://lists.yoctoproject.org/mt/121714583/8963659 +Group Owner: docs+owner@lists.yoctoproject.org +Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [antonin.godard@bootlin.com] +-=-=-=-=-=-=-=-=-=-=-=- + + +--W3XM4wu3PdhQOzBYMFuF-- +text: +Mime-Version: 1.0 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=UTF-8 +Date: Mon, 12 Oct 2026 15:20:45 +0200 +Message-Id: <DM2W2QFSWNBT.2A6RT11K7VMT1@bootlin.com> +Subject: Re: [bitbake-devel] [PATCH] doc: document dependency tracking + associated with addpylib +Cc: <docs@lists.yoctoproject.org> +From: "Antonin Godard" <antonin.godard@bootlin.com> +To: <yann.dirson@vates.tech>, <bitbake-devel@lists.openembedded.org> +References: <1791793541.8631fc262581453bbf619ec5b2062170.1a12f37b16e00080d7@vates.tech> <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com> +In-Reply-To: <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com> +X-TUID: 1m7vuXXFecP5 + +On Mon Oct 12, 2026 at 3:08 PM CEST, Antonin Godard via lists.openembedded.org wrote: +> Hi, +> +> On Mon Oct 12, 2026 at 10:25 AM CEST, Yann Dirson via lists.openembedded.org wrote: +>> Reported-by: Claude Opus 5.5 +>> Signed-off-by: Yann Dirson <yann.dirson@vates.tech> +>> --- +>> doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 8 ++++++++ +>> 1 file changed, 8 insertions(+) +>> +>> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +>> index 621aab253..eef1f9624 100644 +>> --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +>> +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +>> @@ -2264,6 +2264,14 @@ The specified <namespace> is imported automatically, and if the imported +>> module specifies an attribute named ``BBIMPORTS``, that list of +>> sub-modules is iterated and imported too. +>> +>> +Additionally, Bitbake will detect usage of functions from such a +>> +library and include them in task hashes, so changes in those functions +>> +trigger task rebuilds. Note that only functions inside modules +>> +declared using ``BBIMPORTS`` benefit from this dependency tracking, +>> +any name defined directly in the specified namespace (e.g. in +>> +`<namespace>/__init__.py`, or in a library hat would be defined as +> +> s/hat/that/ +> +>> +`<namespace>.py`) would *not* benefit from this tracking. +> +> Otherwise, this is clear to me. I did not know about this limitation/feature, +> and this is definitely important to document, thanks! + +Reading the code[1], it seems that functions prefixed with _ are not included +in the task checksums - if I understood correctly. I think it would be also +important to mention that. Could you add it in a v2? + +[1]: https://git.openembedded.org/bitbake/tree/lib/bb/parse/ast.py#n319 + +Antonin diff --git a/a/content_digest b/N1/content_digest index a566dca..4ef9750 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -46,6 +46,252 @@ "\n" "[1]: https://git.openembedded.org/bitbake/tree/lib/bb/parse/ast.py#n319\n" "\n" + "Antonin\n" + "text:\n" + "Return-Path: <bounce+61381+10659+8963659+13628082@lists.yoctoproject.org>\n" + "Delivered-To: antonin.godard@bootlin.com\n" + "Received: from mail.galae.net ([172.22.1.253])\n" + "\tby 9e7fea892943 with LMTP\n" + "\tid 8F29A7fezGqxcRAAtaWaaQ\n" + "\t(envelope-from <bounce+61381+10659+8963659+13628082@lists.yoctoproject.org>)\n" + "\tfor <antonin.godard@bootlin.com>; Mon, 12 Oct 2026 15:20:55 +0200\n" + "X-Original-To: antonin.godard@bootlin.com\n" + "Received: from smtpin-01.galae.net (smtpin-01.galae.net [51.159.2.148])\n" + "\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n" + "\t key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)\n" + "\t(No client certificate requested)\n" + "\tby mail.galae.net (Postcow) with ESMTPS id 9B76311D70CC0\n" + "\tfor <antonin.godard@bootlin.com>; Mon, 12 Oct 2026 15:20:54 +0200 (CEST)\n" + "Authentication-Results: mail.galae.net;\n" + "\tdkim=pass header.d=lists.yoctoproject.org header.s=groups1 header.b=lRnThJv5;\n" + "\tdmarc=pass (policy=none) header.from=lists.yoctoproject.org;\n" + "\tspf=pass (mail.galae.net: domain of bounce+61381+10659+8963659+13628082@lists.yoctoproject.org designates 173.255.243.56 as permitted sender) smtp.mailfrom=bounce+61381+10659+8963659+13628082@lists.yoctoproject.org\n" + "ARC-Seal: i=1; s=dkim; d=bootlin.com; t\02791811254; a=rsa-sha256; cv=none;\n" + "\tb=tr3e6cjjwvxJLmiuO4JUgvm8+jxh9kwzxyLLkCGLxMmpNHwuX+CbzwxyGzqTnk7YJ381Tx\n" + "\tXCVWft8eu/Bb14PYnmoR8ZMmWh5B7UeIz5YdBrYwT2RJv3LX+H8EFTLDQc4a7vn+qiiEL1\n" + "\tREIek443xPVbqVvJhgPH5D9FmfJvrCkUGOy/rlvQT5GkuVnJZ4BgX1hZKt60Sx+D2PNUVP\n" + "\tZ2J50AF5NKwPLtobE0E1iT7SQj0A9DFxPy+1GZ8X0zoHN0ObrXG/NILgwMYooia8FGngUr\n" + "\tvShMPthcMwuZVpZBKE/Jxm3Bs9Nnrlwl8o0mGXfmuPJVm51GM+y/UJDdnXdKSQ=ARC-Authentication-Results: i=1;\n" + "\tmail.galae.net;\n" + "\tdkim=pass header.d=lists.yoctoproject.org header.s=groups1 header.b=lRnThJv5;\n" + "\tdmarc=pass (policy=none) header.from=lists.yoctoproject.org;\n" + "\tspf=pass (mail.galae.net: domain of bounce+61381+10659+8963659+13628082@lists.yoctoproject.org designates 173.255.243.56 as permitted sender) smtp.mailfrom=bounce+61381+10659+8963659+13628082@lists.yoctoproject.org\n" + "ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com;\n" + "\ts=dkim; t\02791811254;\n" + "\th=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:\n" + "\t message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n" + "\t content-type:content-type:resent-from:in-reply-to:in-reply-to:\n" + "\t references:references:list-id:list-help:list-unsubscribe:\n" + "\t list-unsubscribe-post:list-subscribe:list-post:dkim-signature;\n" + "\tbh=wXiUO+/F3j16NwadboMlN5lI4U9Ddtpc12kUBpnn4jA=;\n" + "\tb=GGE6F3+7a4hduD64k9r3Rv33JaOfLjVdSnEq30Ogr7dlv5svQiu7vSshyKz2ScVWkZmM42\n" + "\tfkMyj2qsENHpGJflmox9dhRh2YWKOuAxOtVQXvAPHiWRlAf8qhjPb+cDLtFQ0GCvtdfB0z\n" + "\tyXKFSy5ufqyqM/Ytqzo64yFEpMO2gplBIGmc3imsJdaEdUxBqPFg9RbrnhCijWhVjnnQo1\n" + "\t6dJbF49jUq9BZ7ZsqHgf9agxLR6bSdwaJRCWY3HVRz6r2oYsgOXmLOCEOVrl6joIqDtRrr\n" + "\tBRKX3lyQhsrmHQ4WDPdGShINd6xmmfSHhKLXPyQhHKWyEKSIinj9LyTz5fjqmg=Received: from mail07.groups.io (mail07.groups.io [173.255.243.56])\n" + "\tby smtpin-01.galae.net (Postfix) with ESMTPS id 1883C343DE4\n" + "\tfor <antonin.godard@bootlin.com>; Mon, 12 Oct 2026 13:20:53 +0000 (UTC)\n" + "DKIM-Signature: a=rsa-sha256; bh=wXiUO+/F3j16NwadboMlN5lI4U9Ddtpc12kUBpnn4jA=;\n" + " c=relaxed/relaxed; d=lists.yoctoproject.org;\n" + " h=From:Subject:Date:Message-ID:To:Cc:In-Reply-To:References:Reply-To:Sender:List-Id:List-Post:List-Subscribe:List-Unsubscribe:List-Help:MIME-Version:Content-Type:Content-Transfer-Encoding;\n" + " s=groups1; t\02791811252; v=1; x\02792070452;\n" + " b=lRnThJv5NnYJYPWvoOlkh64C33HLWCfUi5vUxZvFchcGX0036qWkw0TJZdPJy8zkU35EnbVQ\n" + " JYxzAD1TaX0PI2Dzj1P0d4gZoVOj9qZxUh/ludFaPevcyyictF+XQApqRF3WMHtSSqVC+Bhzi71\n" + " XB5HCF6XfNoTyTj3dUnPpjhm0EGAGBTuxAKm1mxBw9s2J682ha6oQwAymQpJ+x18Uj8U9Sg6+ng\n" + " 0XxMUMR70K6txUaD5gSrFpIQUGndjznH8MhDxV9EO/lAW7kri/IDEuMcu4uFhjPAwIm6ZTsfVm5\n" + " swzEwigIf6eTSpDpVE+vVbiM3xLTXwv5WEIAY1VfUbcHQ=X-Received: by 127.0.0.2 with SMTP id fEjoYY8964994xEZ0kRGdCyr; Mon, 12 Oct 2026 06:20:52 -0700\n" + "X-Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4])\n" + " by mx.groups.io with SMTP id smtpd.msgproc02-g2.13163.1791811249370348145\n" + " for <docs@lists.yoctoproject.org>;\n" + " Mon, 12 Oct 2026 06:20:50 -0700\n" + "X-Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n" + "\tby smtpout-03.galae.net (Postfix) with ESMTPS id 49B124E411F8\n" + "\tfor <docs@lists.yoctoproject.org>; Mon, 12 Oct 2026 13:20:47 +0000 (UTC)\n" + "X-Received: from mail.galae.net (mail.galae.net [212.83.136.155])\n" + "\tby smtpout-01.galae.net (Postfix) with ESMTPS id 112BD601A6;\n" + "\tMon, 12 Oct 2026 13:20:47 +0000 (UTC)\n" + "X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9307711D70D17;\n" + "\tMon, 12 Oct 2026 15:20:45 +0200 (CEST)\n" + "Mime-Version: 1.0\n" + "Date: Mon, 12 Oct 2026 15:20:45 +0200\n" + "Message-Id: <DM2W2QFSWNBT.2A6RT11K7VMT1@bootlin.com>\n" + "Subject: Re: [docs] [bitbake-devel] [PATCH] doc: document dependency tracking associated with addpylib\n" + "Cc: <docs@lists.yoctoproject.org>\n" + "From: \"Antonin Godard via lists.yoctoproject.org\" <antonin.godard=bootlin.com@lists.yoctoproject.org>\n" + "To: <yann.dirson@vates.tech>, <bitbake-devel@lists.openembedded.org>\n" + "References: <1791793541.8631fc262581453bbf619ec5b2062170.1a12f37b16e00080d7@vates.tech> <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com>\n" + "In-Reply-To: <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com>\n" + "X-Last-TLS-Session-Version: TLSv1.3\n" + "Precedence: Bulk\n" + "List-Subscribe: <mailto:docs+subscribe@lists.yoctoproject.org>\n" + "List-Help: <mailto:docs+help@lists.yoctoproject.org>\n" + "Sender: docs@lists.yoctoproject.org\n" + "List-Id: <docs.lists.yoctoproject.org>\n" + "Mailing-List: list docs@lists.yoctoproject.org; contact docs+owner@lists.yoctoproject.org\n" + "Delivered-To: mailing list docs@lists.yoctoproject.org\n" + "Resent-Date: Mon, 12 Oct 2026 06:20:50 -0700\n" + "Resent-From: antonin.godard@bootlin.com\n" + "Reply-To: antonin.godard@bootlin.com\n" + "List-Post: <mailto:docs@lists.yoctoproject.org>\n" + "List-Unsubscribe-Post: List-Unsubscribe=One-Click\n" + "List-Unsubscribe: <https://lists.yoctoproject.org/g/docs/leave/13628082/8963659/2084302499/plugh>\n" + "X-Gm-Message-State: dwRW08oTAk9mX8DAYqfZ8rGQx8963659AAContent-Type: multipart/mixed; boundary=\"W3XM4wu3PdhQOzBYMFuF\"\n" + "X-Last-TLS-Session-Version: TLSv1.3\n" + "X-Rspamd-Queue-Id: 9B76311D70CC0\n" + "X-Spamd-Result: default: False [-11.92 / 30.00];\n" + "\tBAYES_HAM(-5.50)[99.99%];\n" + "\tREPLY(-4.00)[];\n" + "\tIP_REPUTATION_HAM(-1.35)[asn: 63949(-0.40), country: SG(-0.01), ip: 173.255.243.56(-0.94)];\n" + "\tDMARC_POLICY_ALLOW(-0.50)[lists.yoctoproject.org,none];\n" + "\tMV_CASE(0.50)[];\n" + "\tRWL_MAILSPIKE_EXCELLENT(-0.40)[173.255.243.56:from];\n" + "\tR_DKIM_ALLOW(-0.20)[lists.yoctoproject.org:s=groups1];\n" + "\tR_SPF_ALLOW(-0.20)[+ip4:173.255.243.56:c];\n" + "\tMAILLIST(-0.15)[generic];\n" + "\tMIME_GOOD(-0.10)[multipart/mixed,text/plain];\n" + "\tMX_GOOD(-0.01)[];\n" + "\tHAS_LIST_UNSUB(-0.01)[];\n" + "\tRCVD_TLS_ALL(0.00)[];\n" + "\tTAGGED_FROM(0.00)[61381,10659,8963659,13628082];\n" + "\tURIBL_BLOCKED(0.00)[yoctoproject.org:email,yoctoproject.org:url,bootlin.com:mid,bootlin.com:email,bootlin.com:replyto,vates.tech:email,lists.yoctoproject.org:dkim,mail07.groups.io:helo,mail07.groups.io:rdns,openembedded.org:url];\n" + "\tRCPT_MAILCOW_DOMAIN(0.00)[bootlin.com];\n" + "\tBCC(0.00)[];\n" + "\tMIME_TRACE(0.00)[0:+,1:+,2:+];\n" + "\tREPLYTO_DOM_NEQ_FROM_DOM(0.00)[];\n" + "\tARC_NA(0.00)[];\n" + "\tFORGED_RECIPIENTS_MAILLIST(0.00)[];\n" + "\tREPLYTO_DOM_NEQ_TO_DOM(0.00)[];\n" + "\tRCPT_COUNT_THREE(0.00)[3];\n" + "\tARC_SIGNED(0.00)[bootlin.com:s=dkim:i=1];\n" + "\tTO_DN_NONE(0.00)[];\n" + "\tDNSWL_BLOCKED(0.00)[173.255.243.56:from];\n" + "\tDWL_DNSWL_BLOCKED(0.00)[yoctoproject.org:dkim];\n" + "\tPRECEDENCE_BULK(0.00)[];\n" + "\tFROM_HAS_DN(0.00)[];\n" + "\tFROM_NEQ_ENVFROM(0.00)[antonin.godard=bootlin.com@lists.yoctoproject.org,bounce@lists.yoctoproject.org];\n" + "\tDKIM_TRACE(0.00)[lists.yoctoproject.org:+];\n" + "\tNEURAL_HAM(-0.00)[-1.000];\n" + "\tEXTERNAL_RELAY_AUTHENTICATED(0.00)[];\n" + "\tCTYPE_MIXED_BOGUS(0.00)[];\n" + "\tFORGED_SENDER_MAILLIST(0.00)[];\n" + "\tMISSING_XM_UA(0.00)[];\n" + "\tASN(0.00)[asn:63949, ipnet:173.255.240.0/20, country:SG];\n" + "\tRCVD_COUNT_ONE(0.00)[1];\n" + "\tHAS_REPLYTO(0.00)[antonin.godard@bootlin.com]\n" + "\n" + "--W3XM4wu3PdhQOzBYMFuF\n" + "Content-Transfer-Encoding: quoted-printable\n" + "Content-Type: text/plain; charset=UTF-8\n" + "\n" + "On Mon Oct 12, 2026 at 3:08 PM CEST, Antonin Godard via lists.openembedded.org wrote:\n" + "> Hi,\n" + ">\n" + "> On Mon Oct 12, 2026 at 10:25 AM CEST, Yann Dirson via lists.openembedded.org wrote:\n" + ">> Reported-by: Claude Opus 5.5\n" + ">> Signed-off-by: Yann Dirson <yann.dirson@vates.tech>\n" + ">> ---\n" + ">> doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 8 ++++++++\n" + ">> 1 file changed, 8 insertions(+)\n" + ">>\n" + ">> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst\n" + ">> index 621aab253..eef1f9624 100644\n" + ">> --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst\n" + ">> +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst\n" + ">> @@ -2264,6 +2264,14 @@ The specified <namespace> is imported automatically, and if the imported\n" + ">> module specifies an attribute named ``BBIMPORTS``, that list of\n" + ">> sub-modules is iterated and imported too.\n" + ">> \n" + ">> +Additionally, Bitbake will detect usage of functions from such a\n" + ">> +library and include them in task hashes, so changes in those functions\n" + ">> +trigger task rebuilds. Note that only functions inside modules\n" + ">> +declared using ``BBIMPORTS`` benefit from this dependency tracking,\n" + ">> +any name defined directly in the specified namespace (e.g. in\n" + ">> +`<namespace>/__init__.py`, or in a library hat would be defined as\n" + ">\n" + "> s/hat/that/\n" + ">\n" + ">> +`<namespace>.py`) would *not* benefit from this tracking.\n" + ">\n" + "> Otherwise, this is clear to me. I did not know about this limitation/feature,\n" + "> and this is definitely important to document, thanks!\n" + "\n" + "Reading the code[1], it seems that functions prefixed with _ are not included\n" + "in the task checksums - if I understood correctly. I think it would be also\n" + "important to mention that. Could you add it in a v2?\n" + "\n" + "[1]: https://git.openembedded.org/bitbake/tree/lib/bb/parse/ast.py#n319\n" + "\n" + "Antonin\n" + "\n" + "--W3XM4wu3PdhQOzBYMFuF\n" + "Content-Type: text/plain; charset=\"utf-8\"\n" + "Content-Transfer-Encoding: quoted-printable\n" + "Content-Disposition: inline\n" + "\n" + "\n" + "-=-=-=-=-=-=-=-=-=-=-=-\n" + "Links: You receive all messages sent to this group.\n" + "View/Reply Online (#10659): https://lists.yoctoproject.org/g/docs/message/10659\n" + "Mute This Topic: https://lists.yoctoproject.org/mt/121714583/8963659\n" + "Group Owner: docs+owner@lists.yoctoproject.org\n" + "Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [antonin.godard@bootlin.com]\n" + "-=-=-=-=-=-=-=-=-=-=-=-\n" + "\n" + "\n" + "--W3XM4wu3PdhQOzBYMFuF--\n" + "text:\n" + "Mime-Version: 1.0\n" + "Content-Transfer-Encoding: quoted-printable\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Date: Mon, 12 Oct 2026 15:20:45 +0200\n" + "Message-Id: <DM2W2QFSWNBT.2A6RT11K7VMT1@bootlin.com>\n" + "Subject: Re: [bitbake-devel] [PATCH] doc: document dependency tracking\n" + " associated with addpylib\n" + "Cc: <docs@lists.yoctoproject.org>\n" + "From: \"Antonin Godard\" <antonin.godard@bootlin.com>\n" + "To: <yann.dirson@vates.tech>, <bitbake-devel@lists.openembedded.org>\n" + "References: <1791793541.8631fc262581453bbf619ec5b2062170.1a12f37b16e00080d7@vates.tech> <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com>\n" + "In-Reply-To: <DM2VSZ91PNOJ.YXQAWC84B6NR@bootlin.com>\n" + "X-TUID: 1m7vuXXFecP5\n" + "\n" + "On Mon Oct 12, 2026 at 3:08 PM CEST, Antonin Godard via lists.openembedded.org wrote:\n" + "> Hi,\n" + ">\n" + "> On Mon Oct 12, 2026 at 10:25 AM CEST, Yann Dirson via lists.openembedded.org wrote:\n" + ">> Reported-by: Claude Opus 5.5\n" + ">> Signed-off-by: Yann Dirson <yann.dirson@vates.tech>\n" + ">> ---\n" + ">> doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 8 ++++++++\n" + ">> 1 file changed, 8 insertions(+)\n" + ">>\n" + ">> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst\n" + ">> index 621aab253..eef1f9624 100644\n" + ">> --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst\n" + ">> +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst\n" + ">> @@ -2264,6 +2264,14 @@ The specified <namespace> is imported automatically, and if the imported\n" + ">> module specifies an attribute named ``BBIMPORTS``, that list of\n" + ">> sub-modules is iterated and imported too.\n" + ">> \n" + ">> +Additionally, Bitbake will detect usage of functions from such a\n" + ">> +library and include them in task hashes, so changes in those functions\n" + ">> +trigger task rebuilds. Note that only functions inside modules\n" + ">> +declared using ``BBIMPORTS`` benefit from this dependency tracking,\n" + ">> +any name defined directly in the specified namespace (e.g. in\n" + ">> +`<namespace>/__init__.py`, or in a library hat would be defined as\n" + ">\n" + "> s/hat/that/\n" + ">\n" + ">> +`<namespace>.py`) would *not* benefit from this tracking.\n" + ">\n" + "> Otherwise, this is clear to me. I did not know about this limitation/feature,\n" + "> and this is definitely important to document, thanks!\n" + "\n" + "Reading the code[1], it seems that functions prefixed with _ are not included\n" + "in the task checksums - if I understood correctly. I think it would be also\n" + "important to mention that. Could you add it in a v2?\n" + "\n" + "[1]: https://git.openembedded.org/bitbake/tree/lib/bb/parse/ast.py#n319\n" + "\n" Antonin -0c5cbb768b71565e9e5cf3ba06b86f0752a3891e8f271ef8ee84e3d0c1b8efd0 +a04d5c28a55b8314c6e6b0ea21a1811c4de9d757c4cc3b207160eb97580a5ee0
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.