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

RE: [PATCH for-4.17 v3 07/15] CODING_STYLE(tools/ocaml): add 'make format' and remove tabs


  • To: Christian Lindig <christian.lindig@xxxxxxxxxx>, Edwin Torok <edvin.torok@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Thu, 10 Nov 2022 10:10:22 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UNP/8xsd42Y4uzLEw+qfcaeD29WOF8ePPFDhgfwALIE=; b=LWBVsq+zSJLfrRUQYXGvRuCm/iAdXE6wCogtePakiBC0+EZVAlBS9/T8VVr8Gad431OkfyZ4wsqUHEwUtdihjzftivkF8aIXDnq5qOW4nsR8V3vCe/yHJQkTrF6ux86LmoZFJJ9ajk5PNspUF0YDHxnSdveTw5E5/Q4Ke69GRplbEh7PyKadQoI3AbVPX5R2rQGOO1ieZmjs0hEJ8x7t7Mz65iF50AIGClZaqnkXo7ZY1WmnihzE5yHGEML/oB+YErd0qwaeZvOJxQ9GthZsOuQa4CbC3STz5Tuh7mRdEHlQGhm05loKmInz7eILQQdfbwodZQSDHUW6lF07qfkuHQ==
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UNP/8xsd42Y4uzLEw+qfcaeD29WOF8ePPFDhgfwALIE=; b=QtYy6a8wBlTU3gdfpnGqNnKK46dS9QEwejC1bTNvA4X8r5BoVhitceApf/g+ebGG4VFnELl7bQxJECjCnrxGkwznh7zp6G0ba5RqU9gKkoe5Jy/K7EOH5N5rRs8jM1mINoFND64xrBjbEz2T/bZTVmI3LBQ256u8NdJrbxEGnLxxTCNLl6QvGTpQaHZtucs8qNbAEA4PCAV2O5k0lOd/nTuh7F5u5xnP8FisgrmOx4mmvBWoIwa4ujlVhQ7mXYvuaO7iuPLHE25JTNQWEEkY3FEEFexcltLxRF1Z7s2HWBMeaYsQ0ZwC9e/HVapDxQQIj5qBJDgO0V5xG8jjp2FNAA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=FqYbxUxz5Yb9OuFUKQQm+F/RK5hzK1b40wjVbQIOeDLtmrqst3bwAlJWlBNiRI/WiSnZlx72gPKH08d3z1A0hrQ5cBlQRdsx48NQm/3RygYYmTLuE00hZyfG784JXLNl1gYnWL/Fg57CmsiRZi7c5CELNoPJTtLaTWW0NSAye5e6Uf+r7w2QnwIDYluhVaWHSdy8YQhdjw/XksjRWX3BaxS4PIlhgqjbYpOWs8Mo1+XFI8MEtWnhZRrcdL/u2IzjHueAlwQX4kuZNsOluW4X3PA5t7Eb/zYGpfzgnk+Y15UO6witBG3M3MwkKrKY5FJlz1PAL8Uq0Y6qnI409NCajQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPfl0Vgq5GGw5Tv/mvlQ59pc7C9+qcgkkJt6+5PNGU4g4tuU6pot05trdZhfwboHoRsUbNuvanaXfqftiCXcnsamcASpEqwrT0AxbOw1ZuSEAJXuT98FXpFsnnJIQ3wyRTufziancYAilSf9/owty7xNvk5gVI3oyS0pIw3bkknMjPS2luNcGb1SBKvLnS06RTYyqgiTW0OnTuVJKsrcHzIsJy/tqS4+gPuAG+9+IppBoDWivqqk8aatIYBPIBzL3a0CD3gpMqObkY7RLDqJ5x22QteGmg4EgEemMPgFa8a+eE+GTHIKE9W5b5ndGeW/oSzo82bc8yXYI7x51JM0yg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Thu, 10 Nov 2022 10:10:42 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHY84e5FV9zwZ/cMEqESsIC5Hbn0K41MEgAgACxXpCAAfedgIAACnbggAALiACAAAGC4A==
  • Thread-topic: [PATCH for-4.17 v3 07/15] CODING_STYLE(tools/ocaml): add 'make format' and remove tabs

Hi Christian,

> -----Original Message-----
> From: Christian Lindig <christian.lindig@xxxxxxxxxx>
> Subject: Re: [PATCH for-4.17 v3 07/15] CODING_STYLE(tools/ocaml): add
> 'make format' and remove tabs
> > On 10 Nov 2022, at 09:25, Henry Wang <Henry.Wang@xxxxxxx> wrote:
> >
> > Hi Christian,
> >
> >> -----Original Message-----
> >> From: Christian Lindig <christian.lindig@xxxxxxxxxx>
> >> Subject: Re: [PATCH for-4.17 v3 07/15] CODING_STYLE(tools/ocaml): add
> >> 'make format' and remove tabs
> >>>> While I understand the goal and support, this seems to be a bit too late
> >>>> to do it in Xen 4.17 (we are only a couple of weeks away). At this stage
> >>>> of the release we should only do bug fix.
> >>>>
> >>>> This is clearly only a comesmetic change and there I would argue this
> >>>> should be deferred to 4.18. That said the last call is from the RM.
> >>>
> >>> I agree with your point. I think maybe defer the patch to 4.18 is better,
> >>> given the deep freeze state we are currently in.
> >>
> >> I disagree. This is an automated change that can be verified to not add
> >> functional changes. Edvin has demonstrated that wrong indentation has
> >> mislead reviewers in the past and caused bugs. Nobody except Edvin has
> >> contributed to the affected code in years and thus it is not a burden on
> the
> >> project outside the OCaml part. I suggest to accept this.
> >
> > I understand points from you, Edwin and Julien, but I think in the earlier
> > discussion in this thread, Julien has provided an argument [1] which I do
> > think is a valid reason to defer this patch a little bit.
> >
> > But since you are the only maintainer of the Ocaml code, so if you strongly
> > insist this patch should be included for the release and there would not be
> > any more explicit objections from others in the next couple of days, I 
> > think I
> > will provide my release-ack for the purpose of respecting opinions from the
> > maintainer. Hope this solution should be acceptable to you.
> 
> Thanks Henry. I think the argument here is the balance between maintaining
> a policy against late large changes and improving the quality and the
> reliability of future patches by using more automation. I agree that large
> functional changes and any change that can’t be verified should be avoided
> but I don’t think this case is one. However,
> I am fine deferring the patch based on an agreed policy if we can make it a
> priority to get in in soon. 

Thanks for your understanding. I will take a note of this patch and try to ping
committers to commit this patch as soon as the staging tree gets unfrozen
after the release. In this way I think your concerns in...

> For me this is part of improving the OCaml code
> base and project quality by using more automation in formatting and the
> build system that lowers the barrier for contributors such that they don’t
> have to worry about procedural aspects like tabs, spaces, indentation, or
> build systems.

...here would be minimized.

I do understand your points and frustration. Thanks again for your
understanding.

Kind regards,
Henry

> 
> — C

 


Rackspace

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