...parse it, compare against the DB, update.
Full disclosure, most of this coding is being done by Claude. It's a 425 line shell script, with some of that being an SQL query.
Comments on that approach welcome: gist.github.com/dlangille/74...
2/2

...parse it, compare against the DB, update.
Full disclosure, most of this coding is being done by Claude. It's a 425 line shell script, with some of that being an SQL query.
Comments on that approach welcome: gist.github.com/dlangille/74...
2/2
Claude AI noticed FreshPorts has transposed EXTRACT_DEPENDS and PATCH_DEPENDS.
There are at least 5300 ports which this affects.
FYI, all this was in support of providing support RUN_BUILD_DEPENDS before it gets implemented: reviews.freebsd.org/D59664
Progress on parsing Mk/bsd.default-versions:
* the table of known *_DEFAULT value is populated, and very quickly
* staring to query each port to find out if PORTVERSION is affected by any one of those *_DEFAULT values
Imagine something like this:
1/3
This morning I did some update to a dev instance of #FreshPorts - I'll know more after the next commit to Mk/bsd.default-versions.mk how it's working.
Yes, I could rerun an old commit.
And I probably will, but for now, the code is in there and I'm working on other things for now.