[Koha-devel] Find the patch!

Jonathan Druart jonathan.druart at biblibre.com
Thu May 1 10:51:28 CEST 2014


Hi developers!

I have started to develop a small project. As it is very useful for
me, I thought it may be of interest for some of you
I named it bz-splitter because the idea is to split patches submitted
on bugzilla into hunks, in order to search/browse them via an
interface.
The actual result is ugly, but functional (I am not a good designer).

Sometime it is very difficult to find a patch, because you don't have
enough information on what you are searching for. This tool will allow
you to find "Which patches modify this file [with which bug status]",
"Which patches modify the GetBiblio routine", "What is the bigger
patch modifying this file", etc.

The link: it is hosted by the Koha community :
http://splitter.koha-community.org/
There are 3 views: files, authors and patterns.
The 2 first are for browsing patches by filepaths and authors. The
last one has only one level and grep a pattern in patches.

Note: There is still much to do: improve the UI, add indexes in DB,
add status filters for the patterns view + see TODO file.
Note on how it works: Only the patches in the 4 statuses Needs
Signoff, Signed Off, Failed QA and Passed QA are processed (could be
extend later).

The code is available on github under the GPLv3 license:
https://github.com/joubu/bz-splitter
There are only 2 scripts with interesting code: bin/rebuild_data.pl
and lib/bzsplitter.pm, the others are tt, css or js files.

A very big thank to Chris for his responsiveness for installing and
updating the project.

Feel free to find another name, submit patches, get feedback, etc.

Cheers,
Jonathan

PS: The feature which is not a bug: when browsing by files, if you
unselect some status and don't click on the refresh button, the
entries you will expand still take into account the unselected
checkboxes

http://splitter.koha-community.org/
https://github.com/joubu/bz-splitter


More information about the Koha-devel mailing list