From: Mauro Carvalho Chehab <mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: "Linux Doc Mailing List"
<linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"Mauro Carvalho Chehab"
<mchehab-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
"Jonathan Corbet" <corbet-T1hC0tSOHrs@public.gmane.org>,
"Rafael J. Wysocki" <rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org>,
"Len Brown" <lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Jens Axboe" <axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>,
"Alessandro Zummo"
<a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org>,
"Alexandre Belloni"
<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
"Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
"Jean Delvare" <jdelvare-IBi9RG/b67k@public.gmane.org>,
"Guenter Roeck" <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>,
"Karsten Keil" <isdn-iHCpqvpFUx0uJkBD2foKsQ@public.gmane.org>,
"Mauro Carvalho Chehab"
<mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Steffen Klassert"
<klassert-H0bhvm5RIPI+B2oLq8eQJv4efur1V5z/s0AfqQuZ5sE@public.gmane.org>,
"Greg Kroah-Hartman"
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
"Johannes Berg"
<johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>,
"Jaroslav Kysela" <perex-/Fr2/VpizcU@public.gmane.org>,
"Takashi Iwai" <tiwai-IBi9RG/b67k@public.gmane.org>,
"Paolo Bonzini"
<pbonzini-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
"Radim Krčmář" <rkrcmar-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
"Wim Van Sebroeck" <wim@iguana.>
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-+ZI9xUNit7I@public.gmane.org> 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
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
WARNING: multiple messages have this Message-ID (diff)
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
WARNING: multiple messages have this Message-ID (diff)
From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: "Linux Doc Mailing List" <linux-doc@vger.kernel.org>,
"Mauro Carvalho Chehab" <mchehab@infradead.org>,
"Jonathan Corbet" <corbet@lwn.net>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
"Len Brown" <lenb@kernel.org>, "Jens Axboe" <axboe@kernel.dk>,
"Alessandro Zummo" <a.zummo@towertech.it>,
"Alexandre Belloni" <alexandre.belloni@free-electrons.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Jean Delvare" <jdelvare@suse.com>,
"Guenter Roeck" <linux@roeck-us.net>,
"Karsten Keil" <isdn@linux-pingi.de>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Steffen Klassert" <klassert@mathematik.tu-chemnitz.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Johannes Berg" <johannes@sipsolutions.net>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>,
"Wim Van Sebroeck" <wim@iguana.be>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Ingo Molnar" <mingo@redhat.com>,
"H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, "Harry Wei" <harryxiyou@gmail.com>,
"Tejun Heo" <tj@kernel.org>,
"Harald Welte" <laforge@gnumonks.org>,
"Wolfgang Grandegger" <wg@grandegger.com>,
"Marc Kleine-Budde" <mkl@pengutronix.de>,
"Dan Williams" <dan.j.williams@intel.com>,
"Martyn Welch" <martyn@welchs.me.uk>,
"Manohar Vanga" <manohar.vanga@gmail.com>,
"Tomi Valkeinen" <tomi.valkeinen@ti.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Alexander Viro" <viro@zeniv.linux.org.uk>,
"Anton Vorontsov" <anton@enomsg.org>,
"Colin Cross" <ccross@android.com>,
"Kees Cook" <keescook@chromium.org>,
"Tony Luck" <tony.luck@intel.com>,
"Andy Whitcroft" <apw@canonical.com>,
"Joe Perches" <joe@perches.com>, "Shuah Khan" <shuah@kernel.org>,
"Diego Viola" <diego.viola@gmail.com>,
"Øyvind A. Holm" <sunny@sunbase.org>,
"James Bottomley" <James.Bottomley@HansenPartnership.com>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
"Greg Hackmann" <ghackmann@google.com>,
"Manuel Pégourié-Gonnard" <mpg@elzevir.fr>,
"Jiri Kosina" <jkosina@suse.cz>, "Li Zefan" <lizefan@huawei.com>,
"Yuan Sun" <sunyuan3@huawei.com>,
"Haosdent Huang" <haosdent@gmail.com>,
"Li RongQing" <roy.qing.li@gmail.com>,
"Masanari Iida" <standby24x7@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
"SeongJae Park" <sj38.park@gmail.com>,
"Minchan Kim" <minchan@kernel.org>,
"Markus Heiser" <markus.heiser@darmarIT.de>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Askar Safin" <safinaskar@mail.ru>,
"Thomas Gardner" <tmg@fastmail.com>,
"Peter Loeffler" <peter.loeffler@guruz.at>,
"Philippe Loctaux" <phil@philippeloctaux.com>,
"Doug Smythies" <doug.smythies@gmail.com>,
"Chris Metcalf" <cmetcalf@ezchip.com>,
"Jakub Wilk" <jwilk@jwilk.net>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
"Finn Thain" <fthain@telegraphics.com.au>,
"Hannes Reinicke" <hare@suse.de>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Arnaldo Carvalho de Melo" <acme@redhat.com>,
"Borislav Petkov" <bp@suse.de>,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Andy Lutomirski" <luto@kernel.org>,
"Daniel Bristot de Oliveira" <bristot@redhat.com>,
"Ben Hutchings" <ben@decadent.org.uk>,
"Hidehiro Kawai" <hidehiro.kawai.ez@hitachi.com>,
"seokhoon.yoon" <iamyooon@gmail.com>,
"Egor Uleyskiy" <egor.ulieiskii@gmail.com>,
"Ryan Swan" <ryan@ryanswan.com>,
"Rasmus Villemoes" <linux@rasmusvillemoes.dk>,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Sudip Mukherjee" <sudipm.mukherjee@gmail.com>,
"Oliver Neukum" <oneukum@suse.com>,
"Arnd Bergmann" <arnd@arndb.de>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Thomas Garnier" <thgarnie@google.com>,
"Ard Biesheuvel" <ard.biesheuvel@linaro.org>,
"Petr Mladek" <pmladek@suse.com>,
"Nicolas Pitre" <nicolas.pitre@linaro.org>,
"Prarit Bhargava" <prarit@redhat.com>,
"Yang Shi" <yang.shi@linaro.org>,
"Yaowei Bai" <baiyaowei@cmss.chinamobile.com>,
"Andrey Ryabinin" <aryabinin@virtuozzo.com>,
"Josh Poimboeuf" <jpoimboe@redhat.com>,
"Nikolay Aleksandrov" <nikolay@cumulusnetworks.com>,
"Dmitry Vyukov" <dvyukov@google.com>,
"Darren Hart" <dvhart@linux.intel.com>,
"Wei Jiangang" <weijg.fnst@cn.fujitsu.com>,
linux-acpi@vger.kernel.org, rtc-linux@googlegroups.com,
devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org,
netdev@vger.kernel.org, linux-pm@vger.kernel.org,
stable@vger.kernel.org, linux-wireless@vger.kernel.org,
alsa-devel@alsa-project.org, kvm@vger.kernel.org,
linux-watchdog@vger.kernel.org, linux-kernel@zh-kernel.org,
linux-ide@vger.kernel.org, linux-can@vger.kernel.org,
linux-nvdimm@lists.01.org, devel@driverdev.osuosl.org,
linux-fbdev@vger.kernel.org,
virtualization@lists.linux-foundation.org,
linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: [rtc-linux] 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
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2016-10-19 13:59 UTC|newest]
Thread overview: 18+ 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
2016-10-18 14:53 ` Mauro Carvalho Chehab
2016-10-18 14:53 ` [rtc-linux] " Mauro Carvalho Chehab
[not found] ` <28c1f5d3867174a7017e3f3d9e9e4ebb096ceed8.1476801354.git.mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org>
2016-10-19 10:34 ` Pavel Machek
2016-10-19 10:34 ` [rtc-linux] " Pavel Machek
2016-10-19 13:59 ` Mauro Carvalho Chehab [this message]
2016-10-19 13:59 ` Mauro Carvalho Chehab
2016-10-19 13:59 ` Mauro Carvalho Chehab
2016-11-02 9:31 ` Pavel Machek
2016-11-02 9:31 ` Pavel Machek
2016-11-02 9:31 ` [rtc-linux] " Pavel Machek
2016-11-02 10:08 ` Prarit Bhargava
2016-11-02 10:08 ` Prarit Bhargava
2016-11-02 10:08 ` Prarit Bhargava
2016-11-02 10:08 ` [rtc-linux] " Prarit Bhargava
2016-10-19 13:59 ` Mauro Carvalho Chehab
2016-10-19 10:34 ` Pavel Machek
2016-10-18 14:53 ` Mauro Carvalho Chehab
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-jsyntwtnfakrb7szvlqpia@public.gmane.org \
--cc=a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org \
--cc=alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org \
--cc=corbet-T1hC0tSOHrs@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=isdn-iHCpqvpFUx0uJkBD2foKsQ@public.gmane.org \
--cc=jdelvare-IBi9RG/b67k@public.gmane.org \
--cc=johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org \
--cc=klassert-H0bhvm5RIPI+B2oLq8eQJv4efur1V5z/s0AfqQuZ5sE@public.gmane.org \
--cc=lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org \
--cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=mchehab-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=pavel-+ZI9xUNit7I@public.gmane.org \
--cc=pbonzini-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=perex-/Fr2/VpizcU@public.gmane.org \
--cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
--cc=rkrcmar-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=tiwai-IBi9RG/b67k@public.gmane.org \
--cc=wim@iguana. \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.