Message ID | cover.1726059965.git.liezhi.yang@windriver.com |
---|---|
State | New |
Headers | show
Return-Path: <liezhi.yang@windriver.com> 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 E27DBEE49A3 for <webhook@archiver.kernel.org>; Wed, 11 Sep 2024 13:13:33 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web10.21321.1726060409882283918 for <openembedded-core@lists.openembedded.org>; Wed, 11 Sep 2024 06:13:30 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=998409ca54=liezhi.yang@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48B5fHel020039 for <openembedded-core@lists.openembedded.org>; Wed, 11 Sep 2024 13:13:29 GMT Received: from ala-exchng02.corp.ad.wrs.com (ala-exchng02.wrs.com [147.11.82.254]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 41gc214m2r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <openembedded-core@lists.openembedded.org>; Wed, 11 Sep 2024 13:13:28 +0000 (GMT) Received: from ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) by ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 11 Sep 2024 06:13:27 -0700 Received: from ala-lpggp3.wrs.com (147.11.136.210) by ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 11 Sep 2024 06:13:27 -0700 From: <liezhi.yang@windriver.com> To: <openembedded-core@lists.openembedded.org> Subject: [PATCH v2 0/1] classes: Print bitbake branch and revision Date: Wed, 11 Sep 2024 06:13:26 -0700 Message-ID: <cover.1726059965.git.liezhi.yang@windriver.com> X-Mailer: git-send-email 2.44.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: eR-Y5aDpQQ3EI60mn--0x-s1lU01vgs4 X-Authority-Analysis: v=2.4 cv=PvDBbBM3 c=1 sm=1 tr=0 ts=66e19778 cx=c_pps a=K4BcnWQioVPsTJd46EJO2w==:117 a=K4BcnWQioVPsTJd46EJO2w==:17 a=EaEq8P2WXUwA:10 a=t7CeM3EgAAAA:8 a=NEAV23lmAAAA:8 a=lm5ywDzThXH0Ckx_H2MA:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: eR-Y5aDpQQ3EI60mn--0x-s1lU01vgs4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-10_12,2024-09-09_02,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 priorityscore=1501 suspectscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2408220000 definitions=main-2409110099 List-Id: <openembedded-core.lists.openembedded.org> 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 <openembedded-core@lists.openembedded.org>; Wed, 11 Sep 2024 13:13:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/204385 |
From: Robert Yang <liezhi.yang@windriver.com> * V2: - Move the code out of get_layer_revisions() as Alexander suggested - Always print bitbake branch and revision to make the output consistent whenever bitbake is in a separate repo or not. * V1: - Initial version // Robert The following changes since commit 918e2b266eba6779f19f65349f85caa880ba45e7: libedit: Make docs generation deterministic (2024-09-11 11:56:34 +0100) are available in the Git repository at: https://github.com/robertlinux/yocto rbt/bbrev https://github.com/robertlinux/yocto/tree/rbt/bbrev Robert Yang (1): classes: Print bitbake branch and revision meta/classes-global/base.bbclass | 10 +++++++--- meta/classes/buildhistory.bbclass | 5 +++-- meta/classes/image-buildinfo.bbclass | 13 +++++++++++-- meta/lib/oe/buildcfg.py | 13 +++++++++++++ 4 files changed, 34 insertions(+), 7 deletions(-)