Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10789928rwl; Mon, 2 Jan 2023 08:11:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXvP+Y6BaTre4CxRQavzP8M0tS9VJ4CmsH8KjvD4nPY2kqg23Fv6meUQXv4xTx7uoTHopBTQ X-Received: by 2002:a17:907:8b09:b0:7c1:bb5:5704 with SMTP id sz9-20020a1709078b0900b007c10bb55704mr37224029ejc.26.1672675862747; Mon, 02 Jan 2023 08:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672675862; cv=none; d=google.com; s=arc-20160816; b=NsghIw3h+fELqtcGpDr49G89XZbHwiuhqq0KhrH5VmyDQDkWeSjVkaJtir6IW4MC/i J60xtpPOHmMu9AklXVCKgmGoButI8UEVkPfG73gemkXdom0GL3dWFZr2HypW/YSBpvhv tmVCqiE+oeGBAE3fm90NXUK/0oSPeeRCeBtI3z0iYoRUBZchM5+ofEIbbXIDB1hFx7AK weesAyQ885EeAL23eLIaiWMTBSKA/ROC3VA39uuOikdyS9Cbu2dr/pdLYgebwRmdb5SR Z8Vmt4PeJ4BmPkw/xp+DH5zzzNEUKEEyntnsEDUw4GKpcqznVeF2fc3hOgOUq8TPhZa7 ivUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bJPJo2zxi+Ox9n3yrZwqyocid7vBiYxSmLwZNDl67F0=; b=ebqZdTVxRQoLfX6oM3lrghM37OgKgw1157VxlsbDkmg7D0xK0KbP3iD0bvomAeg2TY QIsKdkt7HoorFWlTRC990GApEP3GH+YsvPmqZ5DZMZEp4t1sjJoPp3LnFqGRv7bhaf7D JafXuy6p4LHKfcveiQdHM23BccSMC0VTehT4bPnbnU41gDV8CAn4gwi4JNieGHJ9Rf68 UAFEnfhyoMmeNsZ0Z3dyHKEDtfLWRqf/vL5ZKDuHyqOfSs6yhnomLJmYaP0/EO0GxFXI zJXrFuCw7zImboGiLRz2IhnOOyEP/vjP+0UrvjJ6bB89T7HiOyyvvaY1fFivurnDzZ9L bJMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bWeExQuN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ae1-20020a17090725c100b007c1600359ecsi9259863ejc.441.2023.01.02.08.10.48; Mon, 02 Jan 2023 08:11:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bWeExQuN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236328AbjABPfA (ORCPT + 62 others); Mon, 2 Jan 2023 10:35:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbjABPe5 (ORCPT ); Mon, 2 Jan 2023 10:34:57 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0642ECEE; Mon, 2 Jan 2023 07:34:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 94B8B6100E; Mon, 2 Jan 2023 15:34:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD14DC433EF; Mon, 2 Jan 2023 15:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672673696; bh=zJNTfbfKaQsZHuoRWNrWjoFueZFaKIOgRu8XXFughmo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bWeExQuNd/hxzvyL3CO6P9+LFR8lQ+6neY/BYDS73yDx+G3ax1cqa1aI/tKmTg+y2 cVcHSUzFfKW5D/u38jVNDecmfGJHlCWI17WfiCDD0z3/otl6393XLj2feKla1i6ptG H9dbd3lLkbcHQFF3L5RwwdApJ0sLSOrQEUMv7PQ7bgz1TOn/ywwceB2FP557pPKWmb EQEg28zOmJyhKRWXXl4SpHGtN0f3F9yhcJo58iFk8CQdj0Rd64k1QcySrhZJBfXIdP K2HfEht4cvYZhj6eSEklbPzq+DWuSMMce6OS0DsOb4wI2AF2+npG086LQ5jSrSLnYr Ov7bxE/LcTOgQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 2E10C40468; Mon, 2 Jan 2023 12:34:53 -0300 (-03) Date: Mon, 2 Jan 2023 12:34:53 -0300 From: Arnaldo Carvalho de Melo To: Ahelenia =?utf-8?Q?Ziemia=C5=84ska?= Cc: Namhyung Kim , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] perf tools: don't include signature in version strings Message-ID: References: <7c9637711271f50ec2341fb8a7c29585335dab04.1672174189.git.nabijaczleweli@nabijaczleweli.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7c9637711271f50ec2341fb8a7c29585335dab04.1672174189.git.nabijaczleweli@nabijaczleweli.xyz> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Dec 27, 2022 at 09:58:00PM +0100, Ahelenia Ziemiańska escreveu: > This explodes the build if HEAD is signed, since the generated version > is gpg: Signature made Mon 26 Dec 2022 20:34:48 CET, then a few more > lines, then the SHA. > > Signed-off-by: Ahelenia Ziemiańska > Acked-by: Namhyung Kim Thanks, applied to perf/urgent. - Arnaldo > --- > tools/perf/Documentation/Makefile | 2 +- > tools/perf/util/PERF-VERSION-GEN | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile > index 6e7b88917ca0..ba5d942e4c6a 100644 > --- a/tools/perf/Documentation/Makefile > +++ b/tools/perf/Documentation/Makefile > @@ -267,7 +267,7 @@ $(OUTPUT)%.xml : %.txt > $(ASCIIDOC) -b docbook -d manpage \ > $(ASCIIDOC_EXTRA) -aperf_version=$(PERF_VERSION) \ > -aperf_date=$(shell git log -1 --pretty="format:%cd" \ > - --date=short $<) \ > + --date=short --no-show-signature $<) \ > -o $@+ $< && \ > mv $@+ $@ > > diff --git a/tools/perf/util/PERF-VERSION-GEN b/tools/perf/util/PERF-VERSION-GEN > index 3cc42821d9b3..d7dc7c28508c 100755 > --- a/tools/perf/util/PERF-VERSION-GEN > +++ b/tools/perf/util/PERF-VERSION-GEN > @@ -19,7 +19,7 @@ TAG= > if test -d ../../.git -o -f ../../.git > then > TAG=$(MAKEFLAGS= make -sC ../.. kernelversion) > - CID=$(git log -1 --abbrev=12 --pretty=format:"%h" 2>/dev/null) && CID="-g$CID" > + CID=$(git log -1 --abbrev=12 --pretty=format:"%h" --no-show-signature 2>/dev/null) && CID="-g$CID" > elif test -f ../../PERF-VERSION-FILE > then > TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g') > -- > 2.30.2 -- - Arnaldo