A collection of release tools used for Koha
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Jonathan Druart 65a20c0b16 Issue #26 - reintroduce roll_release.sh 3 周前
bin Issue #23 - Use .mailmap from Koha instead of dev_map.yaml 4 周前
etc Replace koha-patches with koha-devel 3 周前
lib/Koha Remove warning for Koha translators 3 周前
README.md Issue #26 - Remove unused and obsolete scripts/files 4 周前
roll_release.sh Issue #26 - reintroduce roll_release.sh 3 周前


Koha release tools

The release tools repository contains a collection of scripts to aid release mantainers and release managers in their tasks during their tenure in their respective roles.


Simply clone this repository on your development environment and copy the etc/user.example file to etc/user.yaml and update it to reflect your own details.


The most commonly used scripts can be found within the bin/ directory, but they are generally written to be run from within your koha source clone repository.


Used to check for new authors and update bugzilla prior to pushing your branch.

The script should be run from within your koha source directory.

~/release-tools/bin/koha-push updatebz ~/release-tools/bin/koha-push updatebz --range HASH..HEAD ~/release-tools/bin/koha-push updatebz --range HASH..HEAD

Upon execution it will walk through all commits that appear in your local branch but do not yet appear upstream. It will update etc/sponsor_map.yaml (from release_tools repo) and docs/contributors.yaml (from Koha repo). The script will then mark the relevant bugs as ‘Pushed to X’, add the relevant version to the versions released box and add your configured thankyou comment to the bug.


Used to build the release notes and report release information.

The script should be called from within your koha source directory.

~/release-tools/bin/koha-release v19.11.00..HEAD info ~/release-tools/bin/koha-release v19.11.00..HEAD notes ~/release-tools/bin/koha-release v19.11.00..HEAD notes --silent ~/release-tools/bin/koha-release v19.11.00..HEAD html misc/release_notes/release_notes_19_11_01.html

Upon execution it will walk through all commits in your given range and generate a set of release notes from their content sourcing data from the commits, bugzilla and the translation site. It will interactively ask you about author details should it find a commit with an unrecognised author, unless the --silent parameter is passed.

  • The notes command will output a markdown file.
  • The html command will read in the aforementioned markdown file and general an html file.

Koha Logo