Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2876284ybi; Mon, 17 Jun 2019 11:54:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfYRi1d3u9X9SdorTerxlqn4AZTymDHva4ubeqxfcSZfFU7CEC3f3WLIiZfA2O56G1cUb2 X-Received: by 2002:a62:6d47:: with SMTP id i68mr116639304pfc.189.1560795099009; Mon, 17 Jun 2019 11:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560795099; cv=none; d=google.com; s=arc-20160816; b=cyxWOrItKERAwfg6qM9oFsYt14b8YMXM3xMrF/Ck4e2LU5vpgJlkCQg0CZ9d9vKfHM 7lTS3O3N/fz01q25kRflreIjw9zE/+LiGPchJSgwDEnRRjUgHKJd5VDnXKrvV/yHyrU3 YJcXmvCkJ9V3YzarsOHizF8eZ866Of7r5hCucHcldJwAwsD1VZCLk2OvKlN7l1mSDWvf iR45i5Uc7+U2C3KKUWFIj0Tj7qHy0BITMe8Gx8IzThHcVF38of1KP59+L+DYdkLKl5P/ sff4izZSbN7YVEJXAhs3zy6tK9thePluzNhO2TwIMvSvxogfF1jNlb1Oi6BbOsVCuv4h qZZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kd3meCMD1Ke/497fX68OFvBiEqi+T2TqIhgi6BiOkYw=; b=I3YhXkgdKTut7ZReY80so6RPtLMPAW1l8laQ/KVS5Yz58jSHaDwewN6d7J8PA0Wxml kfDGIu96/eg4frE6yx+dFUGpCt94s4ogK9EhRgCnq7q/+BW5+rmEYzIYVHNNgyVSXUXs mV6gMI4O9WUceyTygCG9WPZNpXj1MwWGb1G5X7VsfiPIaRjygmoSzU1oD6SJQe6ld+wa xvHza4c8OayYkJ45FDDQfE13qrSogLP977EI4hetCBjFPTAnk0D577l7dYSMAguXRQ+K gGgicdWoQNmF2Yw2a8EwiJGba+y6+EfBbBIkhj5isTgRgprat2ffF+4Rsr7BWsH0Potq Gd3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PQ8yE8qa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si5670459pfh.178.2019.06.17.11.11.23; Mon, 17 Jun 2019 11:11:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PQ8yE8qa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbfFQSLU (ORCPT + 99 others); Mon, 17 Jun 2019 14:11:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:45226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726091AbfFQSLU (ORCPT ); Mon, 17 Jun 2019 14:11:20 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1BAF208C4; Mon, 17 Jun 2019 18:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560795079; bh=k/6IUap+LJ3ImKD1Dt0WyP5prD5549EXDjA7xO8kXVQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PQ8yE8qayeS6FAihpMEK+9X7BTnf5UzlCr2WoM5lREbZitC7xzhPQRRR/abvR9Djh uRrdOkm6g4/14fkiM35lNnR9nPFjK8r49QHmbZdCE3PO+mUoWfJDeGEdniCo2w2JQT MLN+Hw3g6+CqaO+CQ72C5ItP51r42RqociYZHBpM= Date: Mon, 17 Jun 2019 20:11:16 +0200 From: Greg Kroah-Hartman To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, ksummit-discuss@lists.linuxfoundation.org Subject: Re: [PATCH RFC] scripts: add a script to handle Documentation/features Message-ID: <20190617181116.GA17114@kroah.com> References: <20190617142117.76478570@coco.lan> <98ce589a7c50e2693ab6be158e03afde19aed81e.1560794401.git.mchehab+samsung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98ce589a7c50e2693ab6be158e03afde19aed81e.1560794401.git.mchehab+samsung@kernel.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 03:05:07PM -0300, Mauro Carvalho Chehab wrote: > The Documentation/features contains a set of parseable files. > It is not worth converting them to ReST format, as they're > useful the way it is. It is, however, interesting to parse > them and produce output on different formats: > > 1) Output the contents of a feature in ReST format; > > 2) Output what features a given architecture supports; > > 3) Output a matrix with features x architectures. > > Signed-off-by: Mauro Carvalho Chehab > --- > > As commented at KS mailing list, converting the Documentation/features > file to ReST may not be the best way to handle it. > > This script allows validating the features files and to generate ReST files > on three different formats. > > The goal is to support it via a sphinx extension, in order to be able to add > the features inside the Kernel documentation. > > scripts/get_feat.pl | 470 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 470 insertions(+) > create mode 100755 scripts/get_feat.pl > > diff --git a/scripts/get_feat.pl b/scripts/get_feat.pl > new file mode 100755 > index 000000000000..c5a267b12f49 > --- /dev/null > +++ b/scripts/get_feat.pl > @@ -0,0 +1,470 @@ > +#!/usr/bin/perl > + No SPDX line :(