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=-7.9 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 1F27AC433DF for ; Tue, 25 Aug 2020 06:48:13 +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 E1C682076C for ; Tue, 25 Aug 2020 06:48:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E1C682076C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.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 1kASkM-0007bB-Ej; Tue, 25 Aug 2020 06:47:54 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kASkL-0007b6-6b for xen-devel@lists.xenproject.org; Tue, 25 Aug 2020 06:47:53 +0000 X-Inumbo-ID: c31ccc63-26eb-4035-b386-ec53a17ca724 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id c31ccc63-26eb-4035-b386-ec53a17ca724; Tue, 25 Aug 2020 06:47:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F0AA3AF99; Tue, 25 Aug 2020 06:48:21 +0000 (UTC) Subject: Re: [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y To: Nick Rosbrook Cc: Wei Liu , Anthony Perard , "xen-devel@lists.xenproject.org" , Ian Jackson , George Dunlap References: <20200804141639.k2tpoqy7jj34gcm6@liuwe-devbox-debian-v2> <0deed4c6-ca87-09d3-a19c-ac0c00003cb7@suse.com> <20200804155043.vq7aupbrvmmcgzlv@liuwe-devbox-debian-v2> <12790d2b-020d-b6fe-4924-2233a4e93d83@suse.com> <20200804155707.rrtzkksrle2nojbj@liuwe-devbox-debian-v2> <43f706e4-0292-5758-eb19-9fbb99b1337e@suse.com> <289981a3-9baf-bf6a-abbd-e4d613709f2a@suse.com> <20200824145849.GA8275@FED-nrosbr-BE.crux.rad.ainfosec.com> From: Jan Beulich Message-ID: <3e6858f4-bb63-5533-c523-cffd13503f2c@suse.com> Date: Tue, 25 Aug 2020 08:47:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824145849.GA8275@FED-nrosbr-BE.crux.rad.ainfosec.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 24.08.2020 16:58, Nick Rosbrook wrote: > My understanding was that you were going to use move-if-changed to fix > this for now (it seemed everyone agreed this was the quickest short-term fix). A technical and a non-technical remark: Thinking about this some more, I'm no longer convinced the move-if-changed approach is appropriate here. It is typically used to avoid updating files with a large set of dependents (all of which would need re-building if the file in question changed, even if merely in its time stamp), and where the cost of re-generating (and comparing) is relatively low. While I can't really assess the cost part here (I know too little of Python to be able to compare its use with e.g. a shell script), I don't think the "large set of dependencies" aspect applies here at all. On the non-technical side I have to admit that I find it, well, unfriendly to have a person not only run into and investigate a (recent) regression, but also make multiple attempts at fixing (or at least working around) it. I'd rather view this as preferably the responsibility of the person having introduced an issue. In the case at hand it is quite clear that I wasn't even remotely aware of the requirements, and hence determination and testing of a more adequate solution would far better be done by someone familiar with all the influencing factors. (Things might yet be different if an issue is difficult to reproduce, but I don't see that being the case here.) Jan