All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <George.Dunlap@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Nick Rosbrook <rosbrookn@gmail.com>, Wei Liu <wl@xen.org>,
	Anthony Perard <anthony.perard@citrix.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Ian Jackson <Ian.Jackson@citrix.com>
Subject: Re: [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y
Date: Tue, 25 Aug 2020 10:37:09 +0000	[thread overview]
Message-ID: <B99E1A82-FBE8-4EE3-943A-4384BA504184@citrix.com> (raw)
In-Reply-To: <3e6858f4-bb63-5533-c523-cffd13503f2c@suse.com>



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

  reply	other threads:[~2020-08-25 10:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-03  8:06 [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y Jan Beulich
2020-08-04 14:16 ` Wei Liu
2020-08-04 15:22   ` Nick Rosbrook
2020-08-04 15:30     ` Jan Beulich
2020-08-04 15:50       ` Wei Liu
2020-08-04 15:53         ` Jan Beulich
2020-08-04 15:57           ` Wei Liu
2020-08-04 16:02             ` Jan Beulich
2020-08-04 16:41               ` Nick Rosbrook
2020-08-05  6:35                 ` Jan Beulich
2020-08-05  9:55                 ` Ian Jackson
2020-08-10 15:17                   ` George Dunlap
2020-08-24 13:11                 ` Jan Beulich
2020-08-24 14:58                   ` Nick Rosbrook
2020-08-25  6:47                     ` Jan Beulich
2020-08-25 10:37                       ` George Dunlap [this message]
2020-08-25 14:57                         ` Nick Rosbrook
2020-08-26  7:41                         ` Jan Beulich
2020-08-26 10:33                           ` George Dunlap
2020-08-26 11:17                             ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B99E1A82-FBE8-4EE3-943A-4384BA504184@citrix.com \
    --to=george.dunlap@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=anthony.perard@citrix.com \
    --cc=rosbrookn@gmail.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.