[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y


  • To: Jan Beulich <JBeulich@xxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Date: Tue, 25 Aug 2020 10:37:09 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pxLrsPA+3fTbppJ6ZPySM29QSEc6Aq04Hj8rioNmjU0=; b=ZKUBEYVgVTYAcVGqTzdSJ1yxu8XZshPdokb7IURGKDpQ3kIXrWRmIv8WtltwyM8spdoT51BwbrOGkUbXjETW56zfevZHNAi/oHTh22QXlwajzmODonNmYbAGCg785yLoK/iWcyp3O2Pg1V7pTtX7gHw0k+AHfdi3mwbHG/2LWcWJxNfCzu86Mw0Tr12/7Ud60UEgXK46Jq6flvymZyQYubHFJPZAKqWRQj8h1vPi0crcispwZAOdjx0hMhWpKSoXEIkkZb7Nbz+Ns+8jcdFQ9sl/s0vctT+yjJWk5KlBfOgv8l12uFiOQVY4q1drF7njSKmrBGBXOh+cgmzk2e8JFQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B+lrfMUp7d6Du7sm7bD4b2qJ8GXehL8kEJjd9gX11YA3DC5dbLkv0/tWE+bPLAzuNTweu/J6xNKTpzkrXzACFkW0yKOfRxdugmz7WryTgcU00bnkmn/AahiGbOT3nNzTqIHGjc5y3nQwsdvLIw96J2xhUUtF/wp1qxvKM0gVvCVJVUfmv9K+JPlGkj82rX5wxGkH0gbTjnqRads8HIZXo6RtqJhn51mryzMEHD04YiCyCj18zk6yI5T7x+DCba1oV5FUt8B+PEdcMGJi1goHQPuV+tLBKlC+A4Zq79kct1JUdP7Qy5kocqB6P+KCVNnYi7QS2gW5lNHBKYj0d7BG2A==
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Nick Rosbrook <rosbrookn@xxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxx>
  • Delivery-date: Tue, 25 Aug 2020 10:37:26 +0000
  • Ironport-sdr: ph7z6ZhSF3aFbHy3as+X9BqjhP8J6AiYVv1Ww6dE9iY5hhb3EH+JTapu/Sh84JVMtuPoZ2jS8N 8LpOyK8fl5sFvN0+HGMEyR8xLXhRp1P9Gch3KKUYDoR+4risVHiv86Jga7KtHTIV4xKK1w9S1c 6GSyKbAzoc3QkBb4luH7OUZ/SrnFXQHIsOrBBGORBKi/k3gM1SPMonGkYXxZJO0bTvByl71SkX 6eiu5BWRlmpc0G9ZRSxzkuR8cGyjYCWfh/L7g2uyY8wu9VvX0pCqSwBAptHNyXt7z8tUfuPwlr XxY=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWaW0Cnjv2J5dpD0iO4FcEWA2no6kn31uAgAAShQCAAAIpAIAABZqAgAAA3oCAAADsgIAAAV+AgAALJACAHzPlgIAAHe+AgAEqsYCAAEAOAA==
  • Thread-topic: [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y


> On Aug 25, 2020, at 7:47 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
> 
> 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.)

Yes, this has been sub-optimal for you to have your functionality broken for 
several weeks.

As an explanation, there are a combination of things. You proposed A (remove 
the dependency), Ian proposed B (use move-if-changed), but we’re hoping to do C 
(have an external tree) before the next release.  I haven’t had the time to 
look into either B or C (nor, unfortunately, to review Nick’s submissions to 
other parts of the code — sorry Nick!); but I’ve still been reluctant to go for 
A.

I think basically, unless someone is ready to tackle B or C immediately, we 
should just check in Jan’s fix (or probably better, just revert the patch that 
introduced the dependency).  It will be annoying to have to potentially fix up 
the generated golang bindings, but that puts the incentives in the right place.

 -George

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.