[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: Henry Wang <Henry.Wang@xxxxxxx>, Edwin Torok <edvin.torok@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • From: Christian Lindig <christian.lindig@xxxxxxxxxx>
  • Date: Thu, 10 Nov 2022 09:59:44 +0000
  • Accept-language: en-GB, 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UFWDoty6lvFEmcTWTtF78Cyk+M1tvMeDyxkPG2AP6eU=; b=BaPTdz7d2SB6bnnOF92M4HDi8GPIsa33kIJvL1/88S1Z4sUheSOr6FlpXArXLZPCK9MewpRMfjD08cZNvxaLi9+o/TBLb4WX2ub3KPp3fbEkjGHoRvjrNrABRtv4qE06Gm/Phx0xBBubqgVTN/vfypeZLFpguiCrdNDBOxcYr28GsxJzjvAdwPTH113eSnnNBjV9U3yUtZQ8Sm3LldQ/9qkoZxlmZz57UTwnZfj/aneRM9pJpPw/JSuK03sFcfO+wgKZqJOQOSy3JHZwsnhtOfSQKd9I6WB3wFam7+56E9pR98sBfRb8QdzlJxpHc/hg7V54Mlghg44qJFQUaUNYQg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hnlvq095diDML9kegvEnuLD9RARzKZlA9XjQRxVzc7b8KU/9tyYr6GbL9E9CJ3p20np2BEqhuBLPaOPRTefVC0ff+RlT4vTRCqfbejQ0DbLGC/m0v0CxHPdx8TYMkBosUcDh9l0Zgy8vC0NqTKVZzFj+WQHdYQRozUYI4/MVkXcagaxCDUgr/mmvQw7TDkv0+YyokVpMo6KiHAFBLZkqJUwvbvMawzM+kPB7RB7MtqdqgymTTSXWnFybNdwSQCgeHba8ovIeuJuXg4Z/so81CNwde+wQEyccX9ggLfzi3NvCozw2BBdXTuj2cKlpmXlGyUMPJotUqQqGNMiH0Xw4xg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.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:00:12 +0000
  • Ironport-data: A9a23:HHTFKqt/6Qb2jsKbev4VlHKW3+fnVJhfMUV32f8akzHdYApBsoF/q tZmKTrSaP2DZmT1KYt1Otng80sEsZ7SxtUxQVc/+HtgRS0b+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg0HVU/IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj5lv0gnRkPaoR5QaHzyFMZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwAioTU0jYgOSK4be8YfUztMJyPOrEI9ZK0p1g5Wmx4fcOZ7nmGvyPyfoGmTA6i4ZJAOrUY NcfZXx3dhPcbhZTO1ARTpUjgOOvgXq5eDpdwL6XjfNvvy6Pk0osj/60b4S9lt+iHK25mm6Tp njH5Hj4CxdcMN2ZxTuK2nmtmvXOjWXwX4d6+LiQpqU02gfLnTB75Bs+CmGXh8WQlQmFctMCL koTvQUn87YdzRn+JjX6d1jiyJKehTY8VtxKAqsF4QeC4qPO5kCSAW1sZjxcbN0rsucmSDps0 UWG9/v5CDoqvLCLRHa18raPsSj0KSUTNXUFZyIPUU0C+daLiI06kB/nVNtoF6+xyNrvFlnY3 DSivCU4wbIJgqY2O76T+FnGh3ego8bPRwtsvwHPBDv6sEV+eZKvYJGu5R7D9/FcIY2FT16H+ n8Zh8yZ6+NIBpaI/MCQfNgw8HiSz67tGFXhbZRHRfHNKxzFF6afQL1t
  • Ironport-hdrordr: A9a23:Cz4/3Ksv++PNNtBbd2gjMLRf7skC1YMji2hC6mlwRA09TyXGra 2TdaUgvyMc1gx7ZJh5o6H6BEGBKUmslqKceeEqTPqftXrdyRGVxeZZnMffKlzbamfDH4tmuZ uIHJIOb+EYYWIasS++2njBLz9C+qjJzEnLv5a5854Fd2gDBM9dBkVCe3+m+yZNNWt77O8CZf 6hD7181l+dkBosDviTNz0gZazuttfLnJXpbVotHBg88jSDijuu9frTDwWY9g12aUIP/Z4StU z+1yDp7KSqtP+2jjXG0XXI0phQkNz9jvNeGc23jNQPIDmEsHfpWG0hYczAgNkGmpDr1L8Yqq iJn/7mBbU115rlRBD2nfIq4Xin7N9h0Q669bbSuwqfnSWwfkNHNyMGv/MWTvKR0TtfgPhslK 1MxG6XrJxREFfJmzn8/cHBU1VwmlOzumdKq59bs5TOObFuF4O5gLZvi3+9Kq1wah7S+cQiCq 1jHcvc7PFZfReTaG3YpHBmxJipUm4oFhmLT0AesojNugIm10xR3g8d3ogSj30A/JUyR91N4P nFKL1hkPVLQtUNZaxwCe8dSY+8C3DLQxjLLGWOSG6XXJ0vKjbIsdr68b817OaldNgBy4Yzgo 3IVBdCuWs7ayvVeLmzNV1wg2XwqUmGLEfQI5tllulEU5XHNcrWGDzGTkwymM29pPhaCtHHWp +ISeBrP8M=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHY84fBVQkM1eqLakCv8k675veNsq41MEgAgACx3ICAAfcdAIAADHYAgAAJiYA=
  • Thread-topic: [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. 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. 

— C

 


Rackspace

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