[Koha-bugs] [Bug 31588] Update cpanfile for new OpenAPI versions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 7 21:36:46 CEST 2022


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #8 from David Nind <david at davidnind.com> ---
I think there is a mistake in the patches for master and 22.05 - the version
number for JSON:Validator has a comma in it instead of a full stop:
   requires 'JSON::Validator', '5,08';

master and 22.05 show in orange and as module upgrade needed for
JSON::Validator (08) 5.08.

JSON::Validator
- 21.11: >=3.14, <=3.99 - OK, installed version shows as 3.14
- 21.05: >=3.14, <=3.99 - OK, installed version shows as 3.14

Mojolicious::Plugin::OpenAPI
- master: 5.05 OK
- 22.05: 5.05 OK
- 21.11: >=2.16, <=2.99 - OK, installed version shows as 2.16
- 21.05: >=2.16, <=2.99 - OK, installed version shows as 2.16

The rough process I used for testing used with KTD (probably easier ways to do
this) - repeat for all versions being updated (master to 21.05):

Local git repository
- check out the version of Koha being tested, for example: git checkout 22.05.x
- create a branch: git checkout -B bz31588

KTD:
- update .env so that KOHA_IMAGE reflects the version of Koha and patch being
tested
- start up KTD (images download)
- apply the patch for the version of Koha being tested
- check About Koha > Perl modules: module versions should reflect the patch and
no warnings or errors, such as being highlighted in orange (module upgrade
needed)
- revert back to master (kshell, cd koha, git checkout [version being tested,
e.g. 21.05.x], git branch -D bz31588, git reset --hard origin/[version being
tested, e.g. 21.05.x], git checkout master, git branch -D [version being
tested, e.g. 21.05.x], git reset --hard origin/master) (probably easier ways
tod o this?)
- shutdown KTD

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


More information about the Koha-bugs mailing list