Article View: linux.kernel.git
Article #4251[PATCH v6 0/2] guides: keep Documentation/Makefile and command-list.txt in sync
From: Tuomas Ahola
Date: Wed, 02 Dec 2026 16:23
Date: Wed, 02 Dec 2026 16:23
57 lines
11513 bytes
11513 bytes
A new linter test has been added to Documentation/lint-manpages.sh
to ensure that all non-command manual pages (concept guides and
interface manuals) listed in Documentation/Makefile are present in
command-list.txt.
Changes in v6:
* [1/2]: typofix
Changes in v5:
* [1/2]: Changed commit log message.
* [2/2]: Refactored not to use extract_variable()
Changes in v4:
* [1/2]: Rebased to 0ffa3e35c7 (The 15th batch, 2026-11-04)
* [2/2]: Changed the signature of extract_variable()
to extract_variable <Makefile> <variable>...
Changes in v3:
* [2/2]:
- Exempt obsoleted gittutorial-2(7).
- Even more defensive quotation.
Changes in v2:
* [1/2]: Use command-list.txt as the area identifier.
* [2/2]: Protect variables against whitespace breakage per review comment.
Tuomas Ahola (2):
command-list.txt: add gitformat-loose(5) and gitpacking(7)
lint-docs: ensure command-list.txt lists all guides
Documentation/Makefile | 3 ++-
Documentation/lint-manpages.sh | 5 ++++-
command-list.txt | 2 ++
3 files changed, 8 insertions(+), 2 deletions(-)
Intervall-diff mot v5:
1: 6ebae33b99 ! 1: 7f098eee90 command-list.txt: add gitformat-loose(5) and gitpacking(7)
@@ Commit message
Four manpages from sections 5 and 7 are not featured in
command-list.txt as concept guides or interface manuals.
- Two of those omissions are intentional: gittutorial(7) is a mere stub
+ Two of those omissions are intentional: gittutorial-2(7) is a mere stub
since bfae357a46 (doc: remove gittutorial-2, 2026-10-26), and listing
gitweb.conf(5) was explicitly decided against in [1].
2: fcc9260153 = 2: f430b8f970 lint-docs: ensure command-list.txt lists all guides
base-commit: 0ffa3e35c7c82ab8d0de226149fb03b3f7674d05
--
ta/command-list-guides-sync-lint
Technical Details
Message-ID:
<20261202162351.21591-1-taahol@utu.fi>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76888-linux-kernel-git=dewy.ruReferences:
<20260909052501.8448-1-taahol@utu.fi>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76888-linux-kernel-git=dewy.ru From: taahol@utu.fi (Tuomas Ahola) Newsgroups: linux.kernel.git Subject: [PATCH v6 0/2] guides: keep Documentation/Makefile and command-list.txt in sync Date: Wed, 2 Dec 2026 18:23:49 +0200 Organization: Usenet Network Message-ID: <20261202162351.21591-1-taahol@utu.fi> References: <20260909052501.8448-1-taahol@utu.fi> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2009230"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Bs9d+TgigJSCIWkbfmtDiDnc9Q4= sha256:iO89ysfuBLRfkw8vcfd53UxrB/hHJjXwYnetNrkT+bE= sha1:pWxC4t4dFH5vxbhxxFRAjBawS9o= sha256:vZWprbMg7A2nFoJHwHkiMmMOFt9ndjZLAyXOGSIXSNI= List-ID: <git.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 38D1D1176AE; Wed, 2 Dec 2026 19:24:43 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.049 X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=utu.fi X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k2LJzQhCyMgj; Wed, 2 Dec 2026 19:24:40 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76888-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=utu.fi X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 2B0AF1176AD; Wed, 2 Dec 2026 19:24:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id B76BB2F361; Wed, 2 Dec 2026 16:24:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1796228657; b=tElk/jEUw/NuXssLwDDOleXqBpag1wfTxvdhXwfRMbkIVJjikEtJe/VVSX8mGq0+Ag4O 8atsRXM1lfsk+6mZ0kLh9e5+ONnx0Q1c9WHYpCrDftb2bUie5BtJ9Gmp/86EXEhYJCf4P qRfiXwD1jbgKiCq8y37UCW70e3SOivOyPw07lM8+nDyWDgPYK1PG5sZi6gfttS4w+H3h9 HVmUu7hGHi+bnYfuayOW9n8VDIh2YHjB6Aeqz4kH4GhRMN/oD0Xze/4BN47GBO8ZIQA02 WhCh63vuOHf5y6GIOtkLN43ZQT+0S7D/YTJ6GhbQitErGL2D6pNcZ15pgG1oIyfXF5A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796228657; h=X-Original-To:Received:DMARC-Filter:Received:Received:Received: Received:From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Content-Type:X-ClientProxiedBy: X-FEAS-BEC-Info:X-FEAS-Client-IP:X-FE-Last-Public-Client-IP: X-FE-Policy-ID:X-FE-Hostname:DKIM-Signature; bh=kpwZRWh6xE6NwKiAge0jePWD8DGFEl9i0+LmktikgNU=; b=174DYUUUeBzreuLztkizpcHKxo/KCz5QYpvn4d3WNmp2cUubThw++nq5btQEI55idyCj AmVWL/MsMjk2waFsFj9rOu+GJdIrAhy41A1A7Y/V+7k6IsJdNuJ3oz/LxvI1yLA220q/d wccT7p+UddLZ0vyQJCftUjx5oQfDDi+hDsBtCWmcsvDPTDFKtqCbNk0a1LSlJcXExSCAm qTVuuyYAdF2/j4l9r8TZa1sb/dcIO/sShHOnCamWzC2Pz1N30RgayhXTK+ztNJRvQ2AGi OXyikYnVyWdrJrfa9yBdA0g6oIRsPZFsnHmiqnsgEK9TM/9t3w99jTQDsISpCvHKLLw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=ZlA8D2ZH; dmarc=pass header.from=utu.fi; spf=pass smtp.mailfrom=utu.fi; arc=fail smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CF05606A332; Wed, 2 Dec 2026 16:24:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=ZlA8D2ZH X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=130.232.247.4 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796228656; b=enZE9OA8qkhKlus9S+4cQ2IjY4bPKTKSnL1v7V/PHktL3FOpkDWoGKtZQEr/JcxHN92s yCX+7W8ScCYRMuUJMaYbS0T1AoBhGUf+PUrEckkqEIYkqqAUeMzROn2hT5wbn/dg8giV0 yzoy699xQi336I+wo4MITSV7Q+PDz2DhzanK2a1NygEAAcxoQta2+HGGXd1K+cRJPgM0L IP5WKS3xcyKts5LKERkbGCL+jJo112LPii/IptBBxY+lbntNxxqeovWhUhI178T/MDblY kxQzaXN329R1MSwx62yJT2ZTCg+cDqEf8ZAPNiCM6I3Pb3c1AymajVcZ0MQOwlO8Ugw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796228656; h=DMARC-Filter:Received:Received:Received:Received:From:To:CC:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy:X-FEAS-BEC-Info:X-FEAS-Client-IP: X-FE-Last-Public-Client-IP:X-FE-Policy-ID:X-FE-Hostname: DKIM-Signature; bh=kpwZRWh6xE6NwKiAge0jePWD8DGFEl9i0+LmktikgNU=; b=xYzmI9OmvH7tU9HKBK2GoC63r7Me+q2juCmWj1Og/NMhrHx/eOGeEuNWQgw2ohkTG8Iu 60miLJI1jVVCI0uP3Zma8jiGBBqez2mYfxKHVi/uN5AYqSjREe5BJLJdiqDB2bow1k5ym BYx1WPAR6OYtQ/rrw6GmvaLB64u5CjeIxcj732a88ndFLek7RHcvB4OJd/HWKITNv+zBZ G0BLuCbNRQ7ZMwUXPlS7frNCbAz7SONIp0batuvW0w/MD8EanAhSxrI0hJN5/6QnYeC1Z EBSO6KDV/F5PFI7ziliPbvvVwEGPjOpUTFV1wfQyCzI0LFykyeJE3NjHpHzxozrQ3VA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=utu.fi; spf=pass smtp.mailfrom=utu.fi; dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=ZlA8D2ZH; arc=none smtp.remote-ip=130.232.247.4 X-Received: from fortymile.utu.fi (fortymile.utu.fi [130.232.247.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E771606A697 for <git@vger.kernel.org>; Wed, 2 Dec 2026 16:24:10 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2E771606A697 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=utu.fi X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=utu.fi X-Received: from smtp-04.utu.fi (smtp-04.utu.fi [130.232.207.47]) by fortymile.utu.fi with ESMTPS id 6B2GNrZj025247-6B2GNrZl025247 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 2 Dec 2026 18:23:53 +0200 X-Received: from ex19-06.utu.fi ([130.232.247.46]) by smtp-04.utu.fi with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <taahol@utu.fi>) id 1xYn7Z-003rsj-Oi; Wed, 02 Dec 2026 18:23:53 +0200 X-Received: from localhost (86.50.95.90) by ex19-06.utu.fi (130.232.247.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 18:23:53 +0200 X-Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 1be2e0e9; Wed, 2 Dec 2026 16:23:53 +0000 (UTC) X-CC: Junio C Hamano <gitster@pobox.com>, Julia Evans <julia@jvns.ca>, Kristoffer Haugsbakk <code@khaugsbakk.name>, Tuomas Ahola <taahol@utu.fi> X-Mailer: git-send-email 2.30.2 X-In-Reply-To: <20260909052501.8448-1-taahol@utu.fi> X-Mailing-List: git@vger.kernel.org X-List-Post: <mailto:git@vger.kernel.org> X-List-Help: <mailto:git+help@vger.kernel.org> X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:git+owner@vger.kernel.org> X-Precedence: list X-ClientProxiedBy: ex19-12.utu.fi (130.232.247.52) To ex19-06.utu.fi (130.232.247.46) X-FEAS-BEC-Info: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWkhZXkguLT4lWFxYWFhYWFBeUVxfSFhISFlbSBwJCQAHBCgdHB1GDgFIWUhZX0gPARwbHA0aKBgHCgcQRgsH BUhYSFpIWVxIWVtYRlpbWkZaWF9GXF9IUEhYSFhIXEhYSFhIWEhaWEgLBwwNKAMACR0PGwoJAwNGBgkFDUhYSFlRSA8BHCgeDw0aRgMNGgYNBEYHGg9IWEhZX0gPARwb HA0aKBgHCgcQRgsHBUhYSFlbSAIdBAEJKAIeBhtGCwlIWA== X-FEAS-Client-IP: 130.232.207.47 X-FE-Last-Public-Client-IP: 130.232.207.47 X-FE-Policy-ID: 3:5:2:SYSTEM X-FE-Hostname: fortymile.utu.fi X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=utu.fi; s=out-utu-v3; c=relaxed/relaxed; h=from:to:cc:subject:date:message-id:references:mime-version:content-type; bh=kpwZRWh6xE6NwKiAge0jePWD8DGFEl9i0+LmktikgNU=; b=ZlA8D2ZH5SCcjhuPmBdIVIJIWXzTrtdrftpKc4KfRf+HHjA8+lkS6arXuiFHXcF4gUhcWLhoAiws F8WI7wD7+rzE7cgiSH7rqfDnQUHVpRcUiyaPp2GX2oetZgawbqlvoNDgiZDRIcc9KbgFXBJ7mOzk K3nucYBHccOsRUmL5yVB4GNU2UAa2pP5i/BB4WW7s1BGBYfj4MR9DZKZUIhivRnPXD7tmjXu1/rr bX6ZC9FEJJeU0POoeEUt4ZHACWUrluH4XOGEuSBJiB879ORuA+5bHVEaIJjrLVHyRA+J/upV9adx 7Nl3LrwEwco5ptdssBkkFouB1bTaGoa+8ZCfBw==