Skip to content

Script to take new users through setting up Kohadevbox gitbz configs

Tomas Cohen Arazi requested to merge alexklbuckley:kohadevbox2_work into master

Created by: alexklbuckley

To resolve issue #257

This script goes through the steps outlined here: https://wiki.koha-community.org/wiki/Git_bz_configuration

In addition to setting the default tracker, default-product, bug.koha-community,org path, it also queries the user to write in their username and password.

Running this script after setting up kohadevbox would be useful for new, inexperienced users as they can set the git-bz configs fast and have less chance of mistakes which could be made if they were copying and pasting in the commands from the wiki page.

This also allows multiple users to use the same kohadevbox and quickly set their individual bugzilla credentials.

Test plan:

  1. Run the command: ./setbzconfigs.sh

  2. Enter your Bugzilla username and password

  3. Run the command: git config --list and notice the credentials you wrote when running the aforementioned script are set as global git configs

Sponsored-By: Catalyst IT

Merge request reports