From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: "Nicolas Pitre" <nicolas.pitre@linaro.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Jaroslav Kysela" <perex@perex.cz>,
"Chris Metcalf" <cmetcalf@ezchip.com>,
"Peter Loeffler" <peter.loeffler@guruz.at>,
"Finn Thain" <fthain@telegraphics.com.au>,
"Yaowei Bai" <baiyaowei@cmss.chinamobile.com>,
"Jakub Wilk" <jwilk@jwilk.net>,
linux-acpi@vger.kernel.org,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Guenter Roeck" <linux@roeck-us.net>,
"Petr Mladek" <pmladek@suse.com>,
"Jean Delvare" <jdelvare@suse.com>,
linux-pm@vger.kernel.org,
"Alexander Viro" <viro@zeniv.linux.org.uk>,
"Andy Lutomirski" <luto@kernel.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Karsten Keil" <isdn@linux-pingi.de>,
"Jiri Kosina" <jkosina@suse.cz>,
"seokhoon.yoon" <iamyooon@gmail.com>,
"Li Zefan" <lizefan@huawei.com>, "Ryan Swan" <ryan@ryanswan.com>,
"Joe Perches" <joe@perches.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Mark Rutland" <mark.rutland@arm.com>,
alsa-devel@alsa-project.org,
"Manohar Vanga" <manohar.vanga@gmail.com>,
"Linux Doc Mailing List" <linux-doc@vger.kernel.org>,
"Øyvind A. Holm" <sunny@sunbase.org>,
virtualization@lists.linux-foundation.org,
"James Bottomley" <James.Bottomley@HansenPartnership.com>,
"Yuan Sun" <sunyuan3@huawei.com>,
"Wim Van Sebroeck" <wim@iguana.be>,
"Harry Wei" <harryxiyou@gmail.com>,
"Shuah Khan" <shuah@kernel.org>,
"Philippe Loctaux" <phil@philippeloctaux.com>,
linux-watchdog@vger.kernel.org,
"Prarit Bhargava" <prarit@redhat.com>,
"Anton Vorontsov" <anton@enomsg.org>,
"Harald Welte" <laforge@gnumonks.org>,
"Andrey Ryabinin" <aryabinin@virtuozzo.com>,
"Borislav Petkov" <bp@suse.de>,
"Wolfgang Grandegger" <wg@grandegger.com>,
"Len Brown" <lenb@kernel.org>,
"Haosdent Huang" <haosdent@gmail.com>,
"Nikolay Aleksandrov" <nikolay@cumulusnetworks.com>,
"Mauro Carvalho Chehab" <mchehab@infradead.org>,
"Tejun Heo" <tj@kernel.org>,
"Hidehiro Kawai" <hidehiro.kawai.ez@hitachi.com>,
linux-can@vger.kernel.org,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
"Tony Luck" <tony.luck@intel.com>,
"Steffen Klassert" <klassert@mathematik.tu-chemnitz.de>,
"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
"Oliver Neukum" <oneukum@suse.com>,
"Sudip Mukherjee" <sudipm.mukherjee@gmail.com>,
"Minchan Kim" <minchan@kernel.org>,
"Daniel Bristot de Oliveira" <bristot@redhat.com>,
"Thomas Garnier" <thgarnie@google.com>,
linux-wireless@vger.kernel.org,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Rasmus Villemoes" <linux@rasmusvillemoes.dk>,
linux-fbdev@vger.kernel.org,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
linux-kselftest@vger.kernel.org,
"Jonathan Corbet" <corbet@lwn.net>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Greg Hackmann" <ghackmann@google.com>,
"Diego Viola" <diego.viola@gmail.com>,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Thomas Gardner" <tmg@fastmail.com>,
"Tomi Valkeinen" <tomi.valkeinen@ti.com>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
"Ben Hutchings" <ben@decadent.org.uk>,
"Kees Cook" <keescook@chromium.org>,
"Arnd Bergmann" <arnd@arndb.de>,
"Li RongQing" <roy.qing.li@gmail.com>,
"Egor Uleyskiy" <egor.ulieiskii@gmail.com>,
"SeongJae Park" <sj38.park@gmail.com>,
"Andy Whitcroft" <apw@canonical.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
linux-hwmon@vger.kernel.org,
"Martin K. Petersen" <martin.petersen@oracle.com>,
"Ard Biesheuvel" <ard.biesheuvel@linaro.org>,
"Wei Jiangang" <weijg.fnst@cn.fujitsu.com>,
"Martyn Welch" <martyn@welchs.me.uk>,
"Askar Safin" <safinaskar@mail.ru>,
linux-kernel@zh-kernel.org, "Colin Cross" <ccross@android.com>,
linux-fsdevel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
kvm@vger.kernel.org, "Radim Krčmář" <rkrcmar@redhat.com>,
"Takashi Iwai" <tiwai@suse.com>,
"Masanari Iida" <standby24x7@gmail.com>,
linux-ide@vger.kernel.org,
"Alexandre Belloni" <alexandre.belloni@free-electrons.com>,
"Yang Shi" <yang.shi@linaro.org>,
"H. Peter Anvin" <hpa@zytor.com>,
devel@driverdev.osuosl.org,
"Markus Heiser" <markus.heiser@darmarIT.de>,
"Darren Hart" <dvhart@linux.intel.com>,
x86@kernel.org, "Ingo Molnar" <mingo@redhat.com>,
devicetree@vger.kernel.org, rtc-linux@googlegroups.com,
"Arnaldo Carvalho de Melo" <acme@redhat.com>,
linux-nvdimm@lists.01.org, "Rob Herring" <robh+dt@kernel.org>,
"Marc Kleine-Budde" <mkl@pengutronix.de>,
"Hannes Reinicke" <hare@suse.de>,
"Josh Poimboeuf" <jpoimboe@redhat.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Dmitry Vyukov" <dvyukov@google.com>,
"Jens Axboe" <axboe@kernel.dk>,
"Alessandro Zummo" <a.zummo@towertech.it>,
"Doug Smythies" <doug.smythies@gmail.com>,
netdev@vger.kernel.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
stable@vger.kernel.org, "Johannes Weiner" <hannes@cmpxchg.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Johannes Berg" <johannes@sipsolutions.net>,
"Manuel Pégourié-Gonnard" <mpg@elzevir.fr>
Subject: Re: [PATCH v2 34/37] docs: fix locations of several documents that got moved
Date: Wed, 19 Oct 2016 11:59:18 -0200 [thread overview]
Message-ID: <20161019115918.1162d16e@vento.lan> (raw)
In-Reply-To: <20161019103442.GD1461@amd>
Em Wed, 19 Oct 2016 12:34:42 +0200
Pavel Machek <pavel@ucw.cz> escreveu:
> Hi!
>
>
> > --- a/Documentation/ABI/testing/sysfs-kernel-slab
> > +++ b/Documentation/ABI/testing/sysfs-kernel-slab
> > @@ -347,7 +347,7 @@ Description:
> > because of fragmentation, SLUB will retry with the minimum order
> > possible depending on its characteristics.
> > When debug_guardpage_minorder=N (N > 0) parameter is specified
> > - (see Documentation/kernel-parameters.txt), the minimum possible
> > + (see Documentation/admin-guide/kernel-parameters.rst), the minimum possible
> > order is used and this sysfs entry can not be used to change
> > the order at run time.
>
> Dunno, but kernel-parameters.txt was already quite long... for a file
> that is referenced quite often. Adding admin-guide/ into the path does
> not really help.
The big string name starts with Documentation/ :) There are some discussions
about changing it to doc/ (or docs/). Also, as you said, kernel-parameters
is already a big name. Perhaps we could use, instead, "kernel-parms".
If we rename kernel-parameters.rst to kernel-parms.rst, plus the doc/ rename,
then the string size will actually reduce:
- (see Documentation/kernel-parameters.txt), the minimum possible
+ (see doc/admin-guide/kernel-parms.rst), the minimum possible
> Maybe admin-guide should go directly into Documentation/ , as that's
> what our users are interested in?
There are several problems if we keep them at Documentation/ dir:
- We'll end by mixing documents already converted to ReST with documents
not converted yet;
- A rename is needed anyway, as Sphinx only accepts ReST files that end
with the extension(s) defined at Documentation/conf.py (currently,
.rst);
- A partial documentation build is made by sub-directory. If we put
files under /Documentation, there's no way to build just one
book.
> Plus, I'm not sure how many developers will figure out that process/
> is what describes kernel patch submission process. We have processes
> in the kernel, after all...
Do you have a better idea?
> Could we leave symlinks in place?
My initial patch did that. It created symlinks on the
Documentation/user (with was the previous name for the admin's guide).
The big issue is how to identify what files at Documentation/ that
were not converted yet.
On this patch series, we opted to move the file and keep just a
reference to the most relevant ones, pointing to the new location:
https://git.linuxtv.org/mchehab/experimental.git/commit/?h=lkml-books-v2&id=217462c76ee1c12b45750723059a3461018b6975
https://git.linuxtv.org/mchehab/experimental.git/commit/?h=lkml-books-v2&id=d15595a318356804ed1bc42f509e72de9d031513
We could do something similar to Documentation/kernel-parameters.txt.
Yet, the best is, IMHO, to keep this on the absolute minimum of files,
as it also makes harder to identify what txt files still require conversion.
> People say "please follow
> CodingStyle" when reviewing patches. Saying "please follow
> process/conding-style.rst" ... somehow I don't think that's going to
> happen.
As we have a Documentation/CodingStyle (pointing to the new location),
this should still work.
That's said, using my maintainer's hat, when I review patches from a newbie,
I actually prefer to point them to some location with the current
practices, as they usually don't know much about the Kernel's way to
receive patch. So, I reply with something like:
"Please read this:
https://mchehab.fedorapeople.org/kernel_docs/process/index.html
with instructions about how to submit your work"
For an old contributor, I just say: "please follow the coding style"
or I reply with the output of checkpatch.pl.
Maybe it is just me, but I very much prefer to point to some URL with
everything packed altogether than to do several reviews until someone
RTFM (Read The Fine Manual), and starts to submit it right.
Thanks,
Mauro
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm
next prev parent reply other threads:[~2016-10-19 13:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1476801354.git.mchehab@s-opensource.com>
[not found] ` <cover.1476801354.git.mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org>
2016-10-18 14:53 ` [PATCH v2 34/37] docs: fix locations of several documents that got moved Mauro Carvalho Chehab
[not found] ` <28c1f5d3867174a7017e3f3d9e9e4ebb096ceed8.1476801354.git.mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org>
2016-10-19 10:34 ` Pavel Machek
2016-10-19 13:59 ` Mauro Carvalho Chehab [this message]
2016-11-02 9:31 ` Pavel Machek
2016-11-02 10:08 ` Prarit Bhargava
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161019115918.1162d16e@vento.lan \
--to=mchehab@s-opensource.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=a.zummo@towertech.it \
--cc=acme@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=alexandre.belloni@free-electrons.com \
--cc=alsa-devel@alsa-project.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=anton@enomsg.org \
--cc=apw@canonical.com \
--cc=ard.biesheuvel@linaro.org \
--cc=arnd@arndb.de \
--cc=aryabinin@virtuozzo.com \
--cc=axboe@kernel.dk \
--cc=baiyaowei@cmss.chinamobile.com \
--cc=ben@decadent.org.uk \
--cc=borntraeger@de.ibm.com \
--cc=bp@suse.de \
--cc=bristot@redhat.com \
--cc=ccross@android.com \
--cc=cmetcalf@ezchip.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=devel@driverdev.osuosl.org \
--cc=devicetree@vger.kernel.org \
--cc=diego.viola@gmail.com \
--cc=doug.smythies@gmail.com \
--cc=dvhart@linux.intel.com \
--cc=dvyukov@google.com \
--cc=egor.ulieiskii@gmail.com \
--cc=fthain@telegraphics.com.au \
--cc=geert@linux-m68k.org \
--cc=ghackmann@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=hannes@cmpxchg.org \
--cc=haosdent@gmail.com \
--cc=hare@suse.de \
--cc=harryxiyou@gmail.com \
--cc=hidehiro.kawai.ez@hitachi.com \
--cc=hpa@zytor.com \
--cc=iamyooon@gmail.com \
--cc=isdn@linux-pingi.de \
--cc=jdelvare@suse.com \
--cc=jkosina@suse.cz \
--cc=joe@perches.com \
--cc=johannes@sipsolutions.net \
--cc=jpoimboe@redhat.com \
--cc=jwilk@jwilk.net \
--cc=keescook@chromium.org \
--cc=klassert@mathematik.tu-chemnitz.de \
--cc=kvm@vger.kernel.org \
--cc=laforge@gnumonks.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lenb@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@zh-kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-nvdimm@lists.01.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=linux@roeck-us.net \
--cc=lizefan@huawei.com \
--cc=luto@kernel.org \
--cc=manohar.vanga@gmail.com \
--cc=mark.rutland@arm.com \
--cc=markus.heiser@darmarIT.de \
--cc=martin.petersen@oracle.com \
--cc=martyn@welchs.me.uk \
--cc=mchehab@infradead.org \
--cc=mchehab@kernel.org \
--cc=minchan@kernel.org \
--cc=mingo@redhat.com \
--cc=mkl@pengutronix.de \
--cc=mpg@elzevir.fr \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.pitre@linaro.org \
--cc=nikolay@cumulusnetworks.com \
--cc=oneukum@suse.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=pavel@ucw.cz \
--cc=pbonzini@redhat.com \
--cc=perex@perex.cz \
--cc=peter.loeffler@guruz.at \
--cc=phil@philippeloctaux.com \
--cc=pmladek@suse.com \
--cc=prarit@redhat.com \
--cc=rjw@rjwysocki.net \
--cc=rkrcmar@redhat.com \
--cc=robh+dt@kernel.org \
--cc=roy.qing.li@gmail.com \
--cc=rtc-linux@googlegroups.com \
--cc=ryan@ryanswan.com \
--cc=safinaskar@mail.ru \
--cc=shuah@kernel.org \
--cc=sj38.park@gmail.com \
--cc=stable@vger.kernel.org \
--cc=standby24x7@gmail.com \
--cc=sudipm.mukherjee@gmail.com \
--cc=sunny@sunbase.org \
--cc=sunyuan3@huawei.com \
--cc=tglx@linutronix.de \
--cc=thgarnie@google.com \
--cc=tiwai@suse.com \
--cc=tj@kernel.org \
--cc=tmg@fastmail.com \
--cc=tomeu.vizoso@collabora.com \
--cc=tomi.valkeinen@ti.com \
--cc=tony.luck@intel.com \
--cc=ulf.hansson@linaro.org \
--cc=viro@zeniv.linux.org.uk \
--cc=virtualization@lists.linux-foundation.org \
--cc=weijg.fnst@cn.fujitsu.com \
--cc=wg@grandegger.com \
--cc=wim@iguana.be \
--cc=x86@kernel.org \
--cc=yang.shi@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).