🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.hackers
Article #104

UNSUBSCRIBE

#104
From: Mark Anderson
Date: Fri, 20 Nov 2026 00:22
60 lines
7939 bytes
UNSUBSCRIBE

> On Nov 19, 2026, at 13:24, Enji Cooper (yaneurabeya) <yaneurabeya@gmail.com> wrote:
> 
> 
>> On Nov 19, 2026, at 3:18 AM, Wolfram Schneider <wosch@FreeBSD.org> wrote:
>> 
>> Hi,
>> 
>> I wrote a script that finds new "mandoc -T lint" warnings in
>> manual pages, per git commit. Running mandoc -T lint on a page with
>> existing warnings does not tell you whether your change made things
>> better or worse. mandoc-lint-regression.sh lints the old and the new
>> version of every manual page a commit touches and reports only the
>> difference: the warnings that were introduced, and the ones that were
>> fixed. It is a plain /bin/sh script and needs only git, mandoc(1) and
>> file(1). It works on commits, on uncommitted changes, and on a whole
>> directory tree.
>> 
>> Some things you can do with it, inside a freebsd-src checkout:
>> 
>> # check your changes before you commit them
>> mandoc-lint-regression.sh unstaged
>> 
>> # your own commits of the last 90 days, as author or committer
>> mandoc-lint-regression.sh -A -D 90
>> 
>> # all commits of the last 7 days that touch a manual page
>> mandoc-lint-regression.sh -D 7
>> 
>> # which manual pages in the tree have errors? (no style messages)
>> mandoc-lint-regression.sh -W error -s .
>> 
>> The exit status is 1 if a new warning was introduced, so the script
>> also works as a pre-commit hook ("mandoc-lint-regression.sh staged")
>> and in CI. Checking all manual pages in the tree takes about 15
>> seconds here.
>> 
>> Download, documentation and more examples:
>> 
>> https://people.freebsd.org/~wosch/src/mandoc-lint-regression/
>> 
>> Feedback and bug reports are welcome.
> 
> 
> Hi wosch@!
>    I’m game for adding this to CI (GHA) and pre-commit if folks find it generally useful. I’m working on porting over some things from the ATF/kyua/lutok projects to help with contributions made on GitHub.
>    Are there any plans for adding this script to ports or src?
> Thank you for the help :)!
> -Enji
> <signature.asc>


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <4E86D817-D772-4238-8F7F-5C3E40225B6F@gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Mark Anderson <mla8086@gmail.com>
Newsgroups: muc.lists.freebsd.hackers
Subject: UNSUBSCRIBE
Date: Thu, 19 Nov 2026 19:22:29 -0500
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <4E86D817-D772-4238-8F7F-5C3E40225B6F@gmail.com>
MIME-Version: 1.0 (1.0)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="2843"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795134166;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=zWstJlAbBUzLJ3Jf4drjSqbMoQcs7aviCTEFg/zqG0o=;
	b=M9668YraMvXyKYQJy3dRsVAThr5KGP+drb+wGaBdOroJIJBNGrMO9UORQnb3QqdLlyc2Tb
	Z7S1o1fW1neSO2A4GFDcVq0hvI3CRNfgDWAIvy55nKT84bRxBbTfqQq5UWeTV2lQLeedu4
	uTvRic4g6VbOXo35u4NEwkDWMshW3CIou8sgYeQqznjW8gBkRltRS8+NuCLCTwvsGlGCXt
	aAAhfp2oDeF1snlxPgygIfTfF6BSp1hltTfrpMjmkMN1wj458PowAPodXnES84eVsQiiBT
	wEL/1BZmNUxodN/JFA7rAHTXSVcr2mfP33VphaezseUJUGOJ78WU05JLSkwwdw==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=gmail.com header.s=20260707 header.b=TzvzCIqK;
	spf=pass (mx1.freebsd.org: domain of mla8086@gmail.com designates 2607:f8b0:4864:20::c31 as permitted sender) smtp.mailfrom=mla8086@gmail.com;
	dmarc=pass (policy=none) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1795134161; x=1795738961; darn=freebsd.org;
        h=to:cc:message-id:date:subject:mime-version
         :content-transfer-encoding:content-type:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=zWstJlAbBUzLJ3Jf4drjSqbMoQcs7aviCTEFg/zqG0o=;
        b=TzvzCIqKFkNdc1uuUMSE1mYo7WyRJau3Z9dYh8+W8SsyIYtpcI0YWveadwXUSfknXt
         8XWz21rl5AZAlKoB+J17PfWg3tbVhLRCidY6u9yXi9blXn8fTq0ZOKl1FfmnKzXuO6MI
         op+MHE8mKz0zOKynwJ+yZEk/jAh7UuzgtfW/2PpVcbl/gD4g802YcXOiWrgvTLNJo/jn
         71P5/OfKeVYCFDiDu7DFqglMTQ3vMT/fQYpf3ptd8dDknobMHUCndC2xkBtvcs1LnXY4
         OJSbOZp33x1puj9Txq24ux506dbKu1/mlfKm/AoednFqyCsMbsIk4arXBjSbEqJThzIH
         VZHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795134161; x=1795738961;
        h=to:cc:message-id:date:subject:mime-version
         :content-transfer-encoding:content-type:from:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=zWstJlAbBUzLJ3Jf4drjSqbMoQcs7aviCTEFg/zqG0o=;
        b=MOXQCHVqsJjw4FPVdILvo7lsqxDVNCeWEc56bO7Sr3lCXbNi1i9lx6Pc1vdwIa+7lf
         V6cj52NuUKsXVPKrfr8fCQ+aK3CvyzcVKYLi+uyqEyLFu57FWH++lPef/nPJ7VdzYH48
         za0kfcev0+3HSmt3e9yvgFXx20RbHJ3zBkUs/cbXw9vylZxStGQcvrstKlY58tw4NccQ
         gj8HIFKhmjyDapcW6nv5E09U6OcYJS5rNQer2JhrvGoBpHFcNxquBomi+6MqluOBlHCo
         1HoebTRR5Zvx5j9/H2KscKwZ1RppxdTut/riGd77pDdINL5CL9L7I33HMQW/SEAeY+d4
         nTwg==
X-Forwarded-Encrypted: i=1; AL+hErGQm8pqBvEzSKhaDqaQkFxfligmbRe6gMcYetKsVNWyYlkWW93dm1hvWiWM+BFy12qcYRihbYLzr7SaJJiJ0dY=@freebsd.org
X-Gm-Message-State: APuU4Z/Zusc/4+QG58DT8y41MwSU6PI0IJPo7irXMc9fa/3To4ccCJjH
	p9ZZyusvSuXH1+MClYpPoCuiANDqalSJGYMJAzpQh0hplqo53rET47fU
X-Gm-Gg: AYBFou2EGppWsYzGLxNZoL5T+H4FFKpenb8nUhjr5bxVpAx6tyI4ri+8/WGx8EMxgKV
	C3KSkF0szzZSaw3qoz8vuog2EcQzfV+xN7+HnTdKlaiAHCk9xhBlkYSrdh80+0zaaeUFjx7jl5z
	jg3s5LhiL+vBPjUux7wA9hNygfST3EHL+aBzBygX2S0oafCgTU24lngTngqwaYollJLNR+Aa5Cy
	LbuY6uDF/c8VVj1GAwuIOVA4sACCwDNIFRF1T2pFfglxsh3135sjSgdpufP3ijmovlrsDwFpNKu
	xGBAd0WhUgqmDhL8kM2+1aHfPSHBn8fiaLiH6SxLdN5/K/nXZ9lKTZH2u5+Oqwsbn5uOV/cARxd
	WGxTjiDAM4eW2mxTAIPzB1C1eevJCVRyzRFeEkt1+kDE2dvzBoBXARS+gezqgBkKpOUKdE7XMBC
	DIkKUusTsGBCifuzgIBT2Lsh2LZQDJUrYwJ130fJZxnwluRR4Vi5t9IaL7QOETTzK4WgvZAJdQZ
	vlnYFFT+778He6Lu5yPh4741lqK+LpzWCHUj348Jp2ZkTNWx48qF640uWpOW2OFQNTHNv9I4xpQ
	vVme5O4iCGpSUCCApjvXEjHUinHPG1R5o7YbWzSaCC93420=
X-Google-Original-From: Mark Anderson <MLA8086@gmail.com>
Precedence: list
X-Rspamd-Queue-Id: 4jVwyp73kmz4QZ6
X-Spamd-Bar: /
X-Spamd-Result: default: False [0.40 / 15.00];
	SUBJ_ALL_CAPS(0.90)[12];
	DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
	SUBJECT_ENDS_SPACES(0.50)[];
	R_DKIM_ALLOW(-0.20)[gmail.com:s=20260707];
	R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56:c];
	MIME_GOOD(-0.10)[text/plain];
	FROM_HAS_DN(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	FREEMAIL_TO(0.00)[gmail.com];
	ARC_NA(0.00)[];
	TO_DN_SOME(0.00)[];
	MIME_TRACE(0.00)[0:+];
	FREEMAIL_ENVFROM(0.00)[gmail.com];
	FREEMAIL_FROM(0.00)[gmail.com];
	DKIM_TRACE(0.00)[gmail.com:+];
	RCPT_COUNT_THREE(0.00)[4];
	APPLE_IOS_MAILER_COMMON(0.00)[];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	RCVD_COUNT_TWO(0.00)[2];
	FROM_EQ_ENVFROM(0.00)[];
	RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c31:from];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
	MID_RHS_MATCH_FROM(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
	ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	DWL_DNSWL_NONE(0.00)[gmail.com:dkim]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes