From: Ian Campbell Subject: Re: [PATCH] Document the current coding style conventions. Date: Mon, 19 Mar 2012 11:23:30 +0000 Message-ID: <1332156210.9223.45.camel@zakaz.uk.xensource.com> References: <1331746038-25892-1-git-send-email-david.vrabel@citrix.com> <1331804051.26979.44.camel@zakaz.uk.xensource.com> <4F67161B.1010406@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F67161B.1010406@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: "xen-devel@lists.xensource.com" , "Keir (Xen.org)" List-Id: xen-devel@lists.xenproject.org On Mon, 2012-03-19 at 11:18 +0000, David Vrabel wrote: > On 15/03/12 09:34, Ian Campbell wrote: > > On Wed, 2012-03-14 at 17:27 +0000, David Vrabel wrote: > >> From: David Vrabel > >> > >> Based on a version originally posted in 2007. > >> http://lists.xen.org/archives/html/xen-devel/2007-06/msg00070.html > >> > >> Signed-off-by: David Vrabel > >> --- > >> docs/misc/coding_style.txt | 100 ++++++++++++++++++++++++++++++++++++++++++++ > > > > Thanks for this! > > > > I think this should be CODING_STYLE at the top level (in the vein of > > top-level COPYRIGHT + local overrides). > > The way I think most people will discover this will be via the > submitting patch page on the wiki. If this doc is in the top-level can > it be linked from the wiki? I think so, using README as an example: http://xenbits.xen.org/hg/xen-unstable.hg/file/tip/README or http://xenbits.xen.org/hg/xen-unstable.hg/raw-file/tip/README It doesn't actually need to be top level for this to work (e.g. http://xenbits.xen.org/hg/xen-unstable.hg/raw-file/tip/tools/libxl/CODING_STYLE ), but I think top level is the right place for the new document. I'd also have no objection to a patch to docs/Makefile such that these files were propagated into xenbits/xen.org/docs/xen-unstable etc. Ian. > > > [snip useful intro text] > > I've incorporated this, thanks. > > David