User manual
Updating Software
To switch to the master or the head of the branch, we run the git checkout
command as follows:
koha @li190 -245: -/kohaclone$ git checkout master
We see from the output of the git tag command that the latest tag or version in
Koha's stable branch is version v3.00.06. To switch to this version,
we would run
the git checkout command with the -b option and with a label for the
new branch
and the tag as parameters:
koha @1i190 -245: -/kohaclone$ git checkout -b <label for the new branch>
<tag pointing to the version>
The -b option creates a new branch with the specified label and points the branch to
the software version specified by the tag. This command would be executed like this:
koha @11190- 245: -/kohaclone$ git checkout -b koha -3.0.6 v3.00.06
To switch to tag 3 .0 2.0 0 -beta on the development branch, we would
run the git
checkout command as follows:
koha @1i190 -245: -/kohaclone$ git checkout -b koha- 3.02 -beta v3.02.00 -beta
To test if you have switched branches successfully, use the git branch command:
koha @1i190 -245: -/kohaclone$ git branch
* koha- 3.02 -beta
master
Installing the new software version
Once we have switched to the software version we want to use, we will install
the new Koha version in the same way that we do a fresh Koha install. The reader
should refer to Chapters 1 and 2 for help with these steps.
Running the
Makefile.PL program
First we run the Make f i l e
. PL program. As this is a software update and not a fresh
install, we need to make sure we enter configuration details corresponding to the
current installation:
linux- 4yut: /usr /share /kohaclone # perl Makefile.PL
We chose the dev installation mode during our initial installation; make
sure we
choose the same here:
Installation mode (dev, single, standard)
[standard] dev
[ 222 ]