Awesome! 2016-02-12 14:55 GMT-03:00 Frédéric Demians <frederic@tamil.fr>:
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". _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (http://theke.io) ✆ +54 9351 3513384 GPG: B2F3C15F