[Koha-devel] release-tools: get_bugs.pl and the --html switch

Frédéric Demians frederic at tamil.fr
Fri Feb 12 18:55:18 CET 2016


I've pushed the release script I use on koha-release repo (thanks Galen). It
doesn't touch at existing scripts. It just add a new one, that can be used, or
not. The koha-release include this doc:

NAME
       koha-release - Koha release tools

SYNOPSYS
         koha-release v3.22.01..HEAD info
         koha-release v3.22.01..HEAD notes
         koha-release v3.22.01..HEAD html notes.html
         koha-release v3.22.01..HEAD pootle

DESCRITPION
       The script "koha-release" generates release notes. It retrieves all
       bugs in Git for a commits range. For this reason, it must be launched
       from the root directory of a Koha Git repository. The bugs descriptions
       are retrieved from bugzilla using BZ REST API. It also generates
       contributors & signers & sponsor list (using Git informations), and
       translation percentage per language.

       The script works on a range of Git commits. This range generally has to
       cover commits from the last released version to the current one. For
       example, if the current version to be published is 3.22.3, and the
       previous one was tagged v3.22.02, this would be a valid range:
       v3.22.02..HEAD.

       The script is parametrized with a configuration file:
       "etc/config.yaml". See it for details. There is one Template Toolkit
       file used to generate the Markdown release notes file: "etc/notes.tt".

       Four commands:

       "koha range info"
           Outputs raw info in YAML format about the release.

       "koha range notes"
           Outputs the release notes in Markdown.

       "koha range html notes.html"
           Outputs the release notices in HTML by converting the Markdown
           version previously generated.

       "koha range pootle"
           Retrieves .po files from Koha Pootle Server, and write them in
           misc/translator/po directory. See "etc/config.yaml", section
           "pootle".


More information about the Koha-devel mailing list