[Koha-bugs] [Bug 30194] Update required JSON::Validator version

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 8 20:33:52 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194

--- Comment #13 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Notes about this patchset:

- Mason did a great job packaging the latest Mojolicious, JSON::Validator and 
Mojolicious::Plugin::OpenAPI
- The 'exp' repository needs to be added, as detailed in the testing steps.
- It depends on us deprecating Debian 9, which is reasonable as it is EOL in
June, so it is a good idea for removing its support for the 22.05 release
already.
- JSON::Validator got stricter, and our spec is not kosher => problems. Some
are easy and are fixed, others... see below.
- It adds a new step for bundling the spec into a single file. I really
would've preferred not to do that. I did it on a separate patch so it can be
ditched if we find another way. Basically, references break with
JSON::Validator and all points to a bug on the library. But bundling is not the
worst, as it will save startup time anyway, and any spec change (in
development) already requires a plack restart, so maybe we need some alias that
does both. If someone finds a way to fix this, I'll support that.

Looking forward to get some feedback here.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list