Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5EDDC433E1 for ; Mon, 8 Jun 2020 15:07:26 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 854902064C for ; Mon, 8 Jun 2020 15:07:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GqCBO1Ms" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 854902064C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jiJMd-0005nc-FH; Mon, 08 Jun 2020 15:07:03 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jiJMc-0005nW-Lp for xen-devel@lists.xenproject.org; Mon, 08 Jun 2020 15:07:02 +0000 X-Inumbo-ID: b4b51e3e-a999-11ea-9b55-bc764e2007e4 Received: from mail-wr1-x442.google.com (unknown [2a00:1450:4864:20::442]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id b4b51e3e-a999-11ea-9b55-bc764e2007e4; Mon, 08 Jun 2020 15:07:02 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id y17so17764577wrn.11 for ; Mon, 08 Jun 2020 08:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=QB5BKohjXJ32ObghKFMDps1tKYPC1acdJx9MCMAOsC0=; b=GqCBO1MsYlAi/jAEUcqsWXRH770V1vlToZ2+rFS14pFsdhBJKHq6itHPaplghJLKHu BN0VfP5nXHP/ihJqZrv6NwbEjtVDPst143ppNVV8cK3yxbE0BaC4nCC2VfWE3Y+EVdeo qD9g+fy/FnRiyOmNtt9uKJK+TGAmxsIyELu3momWxT+OGr4szstDXbCyYXhC1o7Oynt0 jBLUtyzVC/tI4KI8QbxqXfHjBUcpNESJlVF8gK4VYqpZrDrj8YAunxRp+np0Yev7h24/ 8rRxMNPZ25tVd/tCdEkz2Eu2LYXdYWQCBtjAmPUc5ogD4KJAySUxrqjJH6PukCVL0oTa 89NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:to:cc:references:in-reply-to :subject:date:message-id:mime-version:content-transfer-encoding :content-language:thread-index; bh=QB5BKohjXJ32ObghKFMDps1tKYPC1acdJx9MCMAOsC0=; b=uCGp+PDE2SkSvRz0ADjqNkB+dn+BP3zaM/r4blnX3HbbOhjUsGfRg+CFNj2qSCemcS VVuO+QIZR+C3ornPKiu4Pk95NaMP5jIHE8GP/fFOFeF92ff4ScXjrg8hI7/MqXKAA6mG QSbzWac6+EuEuGffDsUjMJlA9H4YGk6tvdRvm9fHcViOOP/jUW7ORyZZNlhG/CgoyyCE 5wDiCOot113FEVkT7NrCfVESoV5ctEoH1fOoqcEXU/IhPEP+c/PZUHv73dKcAHb9aAbJ 3JLEtTjPXm2YGOPpPJWQDoU1vldE8duHnyiY5z2zky6nyY9Ea56C2acEbRZqWDXoybde LHsw== X-Gm-Message-State: AOAM530rVLirELpqvhAp00IuJrrmTYryBsvfi9/OiftCCLSxfqeMOAO5 GIqo73+zlZYaJIIF13flyio= X-Google-Smtp-Source: ABdhPJzAMXwWHE/RsCcwmdSNbSaJl0ri5Y5vMAp64ThZ2XsYp4AQAslGOX2H7FKuSc+W/z3AE4COCg== X-Received: by 2002:adf:dcc3:: with SMTP id x3mr23255066wrm.93.1591628821191; Mon, 08 Jun 2020 08:07:01 -0700 (PDT) Received: from CBGR90WXYV0 ([54.239.6.187]) by smtp.gmail.com with ESMTPSA id p7sm20599wro.26.2020.06.08.08.06.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2020 08:07:00 -0700 (PDT) From: Paul Durrant X-Google-Original-From: "Paul Durrant" To: "'George Dunlap'" , "'Nick Rosbrook'" References: <20200606161025.19057-1-rosbrookn@ainfosec.com> <34A9DEE3-7408-4717-853B-43BD5BA7B6C8@citrix.com> In-Reply-To: <34A9DEE3-7408-4717-853B-43BD5BA7B6C8@citrix.com> Subject: RE: [PATCH for-4.14] golang/xenlight: remove call to go fmt in gengotypes.py Date: Mon, 8 Jun 2020 16:06:59 +0100 Message-ID: <004501d63da6$75d9ecd0$618dc670$@xen.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb Thread-Index: AQMZuxlWX/GkGcJw6dDksLH66QFH1QGz0NGjAkULNCymKA+YwA== X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Reply-To: paul@xen.org Cc: 'Nick Rosbrook' , 'Xen-devel' , 'Wei Liu' , 'Ian Jackson' Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" > -----Original Message----- > From: George Dunlap > Sent: 08 June 2020 15:16 > To: Nick Rosbrook > Cc: Xen-devel ; Nick Rosbrook = ; Ian Jackson > ; Wei Liu ; Paul Durrant = > Subject: Re: [PATCH for-4.14] golang/xenlight: remove call to go fmt = in gengotypes.py >=20 > CC=E2=80=99ing release manager >=20 > > On Jun 8, 2020, at 12:39 PM, George Dunlap = wrote: > > > >> > >> On Jun 6, 2020, at 5:10 PM, Nick Rosbrook = wrote: > >> > >> Since the golang bindings are now set to be re-generated whenever a > >> change is made to tools/libxl/libxl_types.idl, the call to go fmt = in > >> gengotypes.py results in a dirty git tree for users without go > >> installed. > >> > >> As an immediate fix, just remove the call to go fmt from = gengotypes.py. > >> While here, make sure the DO NOT EDIT comment and package = declaration > >> remain formatted correctly. All other generated code is left > >> un-formatted for now. > >> > >> Signed-off-by: Nick Rosbrook > > > > Reviewed-by: George Dunlap >=20 > Paul, this is a fix to the build system that only affects the = formatting of some generated code. (At > the moment, the generated code will look differently depending on = whether you have golang installed or > not.) Ok, that sounds low risk. Release-acked-by: Paul Durrant