Catathon bug squashing 2022

From Koha Wiki
Jump to navigation Jump to search

Catathon 2022: Koha bug squashing session

The Catalyst Koha team are hosting a Koha bug squashing session at Catathon 2022, as part of Catalyst IT's 25th birthday.

Installing your Koha development environment

You can leave most of the defaults as they are in /vars/user.yml, but uncomment the following values and change them to:

When you run vagrant up, use buster

vagrant up buster

May need to add

* 192.168.50.0/21

to

/etc/vbox/networks.conf

if `vagrant up` produces an error about IP address configuration

If `vagrant up` fails on CPAN dependencies:

vagrant ssh
sudo apt install libdatetimex-easy-perl
exit

If `vagrant up` fails on install node.js, you'll need to change the following section in git/kohadevbox/roles/kohadevbox/tasks/node.yml

- name: Node | Install Node.js
  apt:
    name: [ 'nodejs', 'npm' ]
    state: latest
  when:
    - ansible_distribution_release == 'stretch' or
      ansible_distribution_release == 'buster'

Delete the buster condition so the section looks like

- name: Node | Install Node.js
  apt:
    name: [ 'nodejs', 'npm' ]
    state: latest
  when:
    - ansible_distribution_release == 'stretch'

If `vagrant up` fails because the machine doesn't support NFS:

sudo apt install nfs-common nfs-kernel-server

Install a vagrant plugin:

vagrant plugin install vagrant-cachier

Run provision to get the script going again

vagrant provision buster

If using a generic git email and full name you'll need to update the git credentials. After you have done `vagrant ssh`, set the git credentials to your name and email so any patches you author are credited to you

git config --global user.name "Your Name"
git config --global user.email "youremail@yourdomain.com"

Patches

  • Bug 30773 - Standardize spelling i-tive / Itiva
  • Bug 30770 - Terminology: Lost reserve
  • Bug 30764 - Terminology: Cancelled reserve
  • Bug 30762 - Terminology: Go to Staff client
  • Bug 30763 - Typo: Barcode proceeds bibliographic data
  • Bug 30767 - Terminology: Do not forget that the issue has not been checked in yet
  • Bug 30766 - Typo: Cannot cancel receipt. Possible reasons
  • Bug 29050 - Add punctuation in Unseen Renewals message
  • Bug 27996 - Format of "Due date" on Circulation > Overdues page
  • Bug 30784 - Rephrase OPACMandatoryHoldDates slightly