🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1094

Bug#1149832: Debian NEW review of node-cssfilter 0.0.11-1: ACCEPTED

#1094
From: Andrew McMillan
Date: Sat, 17 Oct 2026 10:30
92 lines
5576 bytes
On Sat, 2026-10-17 at 09:37 +0100, Edward Betts wrote:
> Hi Andrew,
> 
> Thanks for the review!
> 
> On 2026-10-12 10:31, awm@debian.org wrote:
> > 1. Installed package has no Node.js entry point, so 
> > `require('cssfilter')` fails
> > ...
> > the test cannot run against the installed package.
> >  - Fix: Install the loadable module (e.g. `lib 
> > usr/share/nodejs/cssfilter` plus package.json) in 
> > `debian/node-cssfilter.install`, moving the browser bundle (if
> > wanted 
> > at all) to /usr/share/javascript or similar, and declare the test 
> > dependencies via `debian/tests/control` (`Depends: node-mocha, 
> > node-should`) so the autopkgtest
> 
> I'm confused. The package includes package.json and autopkgtest test 
> works, it picks up the test dependencies from Build-Depends-Indep.
> The pkg-js runner creates a temporary directory, links lib/ and
> package.json from /usr/share/nodejs/cssfilter, and copies only the
> tests from the source tree into it.

The LLM is really keen on explaining why the tests don't happen, but I
think the process of triggering the tests happens in a lot of sneaky
ways in Debian, with (inevitably) lots of language-specific stuff that
it doesn't understand.

I'm working hard to tune down these false positives, but ultimately the
only way to do this right will be to do an actual clean-room build on
upload.  I'll get to that in due course, but until I can do that we'll
get this kind of issue.

Overall these reviews do seem to be catching some quite useful things,
but the DFSG team are only using them as a guide, and verifying the
findings that we believe are blockers (not the ones the LLM thinks are
blockers either).


> 
> > 2. Standards-Version 4.7.4 predates the current policy
> > 
> >  - Files: `debian/control`
> >  - Evidence: `Standards-Version: 4.7.4`; current Debian Policy is 
> > 4.7.4.1 (2026-03-31).
> >  - Problem: A brand-new package should declare the current 
> > Standards-Version (Policy §4.1).
> >  - Fix: Bump to 4.7.4.1 after checking the A10.2 upgrading-
> > checklist 
> > entry for anything affecting the package.
> 
> Thanks. I'll fix this.

Don't.  It's not needed - this is a finding that I have disabled now -
the 4th digit is not needed.


> > 3. uscan finds only upstream versions older than the packaged one
> > 
> >  - Files: `debian/watch`
> >  - Evidence: upstream `0.0.10`, packaged `0.0.11`
> >  - Problem: The newest version uscan finds with `debian/watch` is
> > older 
> > than the version in `debian/changelog`, so the watch file does not
> > find 
> > the packaged release: it may look in the wrong place, or the
> > versions 
> > may need mangling to compare.
> >  - Fix: Check where `debian/watch` looks and how it mangles
> > versions.
> 
> Upstream forgot to tag `0.0.11`.
> 

Thanks,
Andrew.

-- 
----------------------------------------------------------------------
Porirua, New Zealand                                 +64 (27) 288 6741
                    https://andrew.mcmillan.net.nz

Facts do not cease to exist because they are ignored. -- Aldous Huxley,
"Proper Studies", 1927

----------------------------------------------------------------------
Technical Details
Message-ID: <NP9PP-67h4-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NP8K5-66Gy-7@gated-at.bofh.it> <NP8K5-66Gy-5@gated-at.bofh.it> <NK8hH-3jnX-3@gated-at.bofh.it> <NP8K5-66Gy-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Andrew McMillan <andrew@mcmillan.net.nz>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149832: Debian NEW review of node-cssfilter 0.0.11-1: ACCEPTED
Date: Sat, 17 Oct 2026 12:30:01 +0200
Message-ID: <NP9PP-67h4-1@gated-at.bofh.it>
References: <NP8K5-66Gy-7@gated-at.bofh.it> <NP8K5-66Gy-5@gated-at.bofh.it> <NK8hH-3jnX-3@gated-at.bofh.it> <NP8K5-66Gy-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 17 10:29:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Andrew McMillan <andrew@mcmillan.net.nz>, 1149832@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1149832
X-Debian-Pr-Package: wnpp
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-10 
MIME-Version: 1.0
X-Greylist: delayed 522 seconds by postgrey-1.37 at buxtehude; Sat, 17 Oct 2026 10:27:03 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997158
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 92
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1149832@bugs.debian.org
X-Original-Date: Sat, 17 Oct 2026 23:18:07 +1300
X-Original-Message-ID: <7058cb9f6e3d4d75625dcdbca1bc0b2b11d91642.camel@mcmillan.net.nz>
X-Original-References: mid:3292 <9069b546734ee0bbc6645c8146cf773c@4angle.com> <asEF1amzVllXZpNO@4angle.com> <9069b546734ee0bbc6645c8146cf773c@4angle.com>