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

Re: Proposal: List files in Xen originated from external sources


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 7 Feb 2023 08:55:09 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=qyMlDGlnbTjTWKsUr9Dg2CKy9ZY+rH0jptAkKFFu0Vs=; b=bJAZqnKIgUugV2Oi+lXWQ7AEi1FFY5rWoVqfU8pa+tLUwDhhcTWcYwG2BqJCHjEj9cxbGGigp685NvQFq5K+t7tjM+taYdn8myD9db3LdYyXxSh3Ncw+Hl7uJj0EsIaZnFCAinQ80FP2aKC1QYElneQ+tOMx0DphAzRPAmO4Wx/4Fcd4xlYGEj4+FRpVmgNH9gCPhob87kPBLbI/Lhrx6bcIiBPJK9+eumAMu0CD+tmQfXZsK58sile1HYlOIpAHYMlQ59dGXx4EtxPDXv3mQYIWp/6eMggaTtSi9w9efEt+PUf/ffz4HYk3xJzUWuUuTPsod90kzTF45v7VbSivaA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WVXtlrp5wo1v0g70x+vb+DJQFE1beUiFWmGOYqhT96N/2tWgOBWZzoVRahlgaoXUOSbfrbJ0cn6wcSYZVBcEzYDaWgvn15t1TfJXlPuhDtKkWHoCHAhPV5RTwDmtUUPnmlovQuu6uecFnEKaaTjmbAjw1oqubCFKJXG5PRwLqMUnaINxOVBeTxHM87QVtr8EjFL2zYsABFd3DfyOogHliXzT2Vfj8sLyF/r0RCO2QsyzV3TKDFsgfzVOBviYRFE2ES+UQ8pe1ppUau8va07PkkgKLkBIeNlPwCuZI7PIkChYHzg4NKHuCW88UAGLmE8hi2EWRb1N0uVLAbq5OnAeTQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Luca Fancellu <Luca.Fancellu@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Tue, 07 Feb 2023 07:55:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.02.2023 22:23, Stefano Stabellini wrote:
> On Mon, 6 Feb 2023, Jan Beulich wrote:
>> On 03.02.2023 20:55, Stefano Stabellini wrote:
>>> On Fri, 3 Feb 2023, Luca Fancellu wrote:
>>>> And then, if the file is not subject to backport and now we “own” the 
>>>> file, there is no more the need to list it
>>>> in the external file, a commit search can reveal when it was converted to 
>>>> Xen codestyle and removed from
>>>> the external file list so we don’t lose the history.
>>>
>>> Yes, I agree. If a file is coverted to Xen coding style and follows
>>> MISRA rules, then there is no need to list the file in
>>> docs/misra/external-files.json.
>>>
>>>
>>>> So we would end up excluding just all the file listed in 
>>>> external-file.json by the analysis.
>>>
>>> Right, I think so too
>>
>> Personally I think this is too focused on Misra.
> 
> We are trying to do two things at once:
> 1) list of external files with their management info (backports, origin, etc.)
> 2) list of files and paths to exclude from MISRA checking
> 
> From this discussion it became clear that 1) and 2) are very different,
> have different requirements, and different info attached. In fact, the
> two lists of files and paths don't even match: not all external files
> exclude MISRA checking and some non-external files also exclude MISRA
> checking.
> 
> I suggest we go forward with a MISRA-only exclude list with files and
> paths to exclude from automatic checking, and without any implication
> about external files. The list could be a json file called
> "misra-exclude.json" to avoid any doubts.

That would be fine with me. Such a file could then include a justification
for each exclusion right away.

Jan



 


Rackspace

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