All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: daniel@iogearbox.net
Cc: quentin@isovalent.com, bpf@vger.kernel.org
Subject: bpf-helpers.7: .TH line is... meh (was: [PATCH] bpf_doc.py: Use SPDX-License-Identifier)
Date: Tue, 2 Aug 2022 00:13:01 +0200	[thread overview]
Message-ID: <c5462667-377a-1544-f255-e57b9823df6a@gmail.com> (raw)
In-Reply-To: <165844381278.13656.3004635809924499624.git-patchwork-notify@kernel.org>


[-- Attachment #1.1: Type: text/plain, Size: 2045 bytes --]

Hi Daniel,

On 7/22/22 00:50, patchwork-bot+netdevbpf@kernel.org wrote:
> Hello:
> 
> This patch was applied to bpf/bpf-next.git (master)
> by Daniel Borkmann <daniel@iogearbox.net>:
> 
> On Thu, 21 Jul 2022 13:08:22 +0200 you wrote:
>> The Linux man-pages project now uses SPDX tags,
>> instead of the full license text.
>>
>> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
>> ---
>>   scripts/bpf_doc.py | 22 +---------------------
>>   1 file changed, 1 insertion(+), 21 deletions(-)
> 
> Here is the summary with links:
>    - bpf_doc.py: Use SPDX-License-Identifier
>      https://git.kernel.org/bpf/bpf-next/c/5cb62b7598f2
> 
> You are awesome, thank you!

Oh, what a nice bot :)


I've been running a linter on the man-pages, and had this triggered from 
bpf-helpers.7:

[
$ make lint V=1
LINT (groff)	tmp/lint/man7/bpf-helpers.7.lint-man.groff.touch
groff -man -t -M ./etc/groff/tmac -m checkstyle -rCHECKSTYLE=3 -ww  -z 
man7/bpf-helpers.7
an.tmac:man7/bpf-helpers.7:3: style: .TH missing third argument; suggest 
document modification date in ISO 8601 format (YYYY-MM-DD)
an.tmac:man7/bpf-helpers.7:3: style: .TH missing fourth argument; 
suggest package/project name and version (e.g., "groff 1.23.0")
an.tmac:man7/bpf-helpers.7:3: style: .TH missing fifth argument and 
second argument '7' not a recognized manual section; specify volume title
found style problems; aborting
make: *** [lib/lint-man.mk:49: 
tmp/lint/man7/bpf-helpers.7.lint-man.groff.touch] Error 1

]

See what a normal .TH line looks like, and what bpf-helpers.7 has:

[
$ grep ^.TH man2/bpf.2
.TH BPF 2 2021-08-27 "Linux" "Linux Programmer's Manual"
$ grep ^.TH man7/bpf-helpers.7
.TH BPF-HELPERS 7 "" "" ""
]


I don't know if you can fix that, or if it's a limitation of the 
generator?  I can live with it, but it would be nice if it could be 
fixed.  It provides the headers and footers of the manual page.


Cheers,

Alex

-- 
Alejandro Colomar
<http://www.alejandro-colomar.es/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-08-01 22:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-21 11:08 [PATCH] bpf_doc.py: Use SPDX-License-Identifier Alejandro Colomar
2022-07-21 22:50 ` patchwork-bot+netdevbpf
2022-08-01 22:13   ` Alejandro Colomar [this message]
2022-08-02 10:28     ` bpf-helpers.7: .TH line is... meh (was: [PATCH] bpf_doc.py: Use SPDX-License-Identifier) Quentin Monnet
2022-08-02 10:59       ` Alejandro Colomar
2022-08-02 11:22         ` Quentin Monnet

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=c5462667-377a-1544-f255-e57b9823df6a@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=quentin@isovalent.com \
    /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.