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

Re: [Xen-devel] Xen checkpatch infrastructure design

CC'ing Doug Goldstein as he has been reviewing some of Ishani's work (see below)
Both Andy Cooper and Doug Goldstein had done some groundwork earlier on this topic

On 24 Jul 2017, at 09:50, Juergen Gross <jgross@xxxxxxxx> wrote:

On the Xen Developer Summit 2017 in Budapest we agreed to add a
script to the Xen repository capable to test patches for style
correctness, similar to checkpatch.pl of the Linux kernel.

This is a first draft of the interface visible to users and


RFC: Design Considerations
Remains the question how to design the style checker itself. It could

(a) a monolithic script (perl, python, whatever) being capable of
   handling all the different coding styles
(b) a main script checking the patch header and calling a code style
   specific script for each source file modified by the patch

I believe (b) would be easier to maintain and to develop (we could start
with the main script and add style specific scripts later).

I don't have a view on this, but wanted to point the following docs which cover a little bit of groundwork on the subject, that can possibly be built upon

Xen-devel mailing list



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