pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bob v0.5.0 and easy full-tree scans
Am 08.01.2026 um 20:07 schrieb Jonathan Perkin:
> One comment I've heard a number of times over the years is how hard it
> is to perform a full pkgsrc tree scan to identify dependency issues
> that will break bulk builds, and how slow the scans are.
>
> I agree, so I'm happy to say that with bob v0.5.0 which dropped a few
> minutes ago this should be much much simpler, and a lot faster. Here's
> an example config and session, using latest pkgsrc from a few minutes
> ago:
>
> https://gist.github.com/jperkin/c4e461df22eadbdb0fe982944b0b7103
>
> Just over 4 minutes on my 2021 MacBook to perform a full scan from
> scratch, and no need to set up sandboxes etc.
That's great to hear. Lintpkgsrc performs the same scan task, so it
could benefit from your fast code. Currently pkglint uses an error-prone
hand-written bmake parser, often leading to wrong results.
It should be possible to test if bob is installed, and if so, call it
instead of doing lintpkgsrc's own scan phase.
Roland
Home |
Main Index |
Thread Index |
Old Index