Koha

Roles for Koha 3.10.0

April 4th, 2012

In a Koha community meeting last night, positions for the Koha 3.10.0 release cycle (due October 2012) were confirmed. It is our biggest release team yet and a really good sign of the health of the community that we had so many volunteers. The roles are

  • Release Manager : Paul Poulain, France
  • Translation Manager: Shared between Samuel Desseaux and Frédéric Demians both from France
  • Translation Assistants: Katrin Fischer, Germany; Marijana Glavica, Croatia
  • Documentation Manager: Nicole Engard, USA
  • DB Documentation Manager: Nicole Engard, USA
  • Quality Assurance (QA) Manager: Ian Walls, USA
  • Quality Assurance (QA) Assistants: Marcel de Rooy, Netherlands; Jonathan Druart, France; Mason James, New Zealand
  • Release Maintainer 3.8.x: Chris Cormack, New Zealand
  • Release Maintainer 3.6.x: Jared Camins-Esakov, USA
  • Packaging Manager: Robin Sheat, New Zealand
  • Packaging Assistant: Mason James, New Zealand
  • Bug Wrangler: Magnus Enger, Norway; Katrin Fischer, Germany; Dobrica Pavlinušić, Croatia; Koustubha Kale, India
  • Meeting Chair: BWS Johnson, USA

So that’s 17 people in total who have volunteered and been accepted to positions for the next 6 months (starting after the release of 3.8.0 on April 23). I think it is also great we have a nice geographic spread especially the bug wrangler team.

Marseille Hackfest 2012, feedback

March 23rd, 2012

The Hackfest BibLibre organized in Marseille is almost over ! time passes too quickly.

A lot of great great great work has been made, I’ll try to report things we made:
As we planned, we splitted in 5 groups, 4 of them focusing on specific hackers topics, the 5th one being librarians testing & translating.

Plack group

(Alex, Matthias, Dobrika and Henri-Damien at the beginning)
this group focused on introducing plack on Koha. A big performance boost was expected from their work.

  • Alex, Matthias and Dobrika worked on “plackifying” Koha. The OPAC is already working fine under plack (it’s lived in Lyon3 university, running 3.6, since 3 months)
    A wiki page has been written to show how to integrate plack into Koha setup: http://wiki.koha-community.org/wiki/Plack
  • The main problem that has been encountered with the staff interface is described in section 3 of this page: http://wiki.koha-community.org/wiki/Plack#Running_Intranet
    Dobrika worked a lot on writing patches to solve those problems (see bug 7172). He plans to run Koha on plack in production on staff interface next week, so that will be easier to identify any remaining problem !
  • The major goal is to be Plack available as an option for Koha 3.8.

Just a comparison (patron search taken as example): generating a page in CGI mode takes 1.12s, and in Plack mode, it takes 0.334s (3 times faster. Yes you’re reading well. Koha is 3 times faster with Plack !)

A second comparison : zebra search: 1.6s for plack and 3s for CGI

A better use of Plack can even be made, and everybody plan to continue the work for 3.10
Just beware that you’re trading speed for memory: plack consumes more memory than CGI: each child running consumes around 60MB of memory, so if you’ve 12 childs (suggested/recommended value), it mean you need aroung 1GB for Plack.

Alex also tried to see how Koha could be fully PSGI compliant, but the tries were not successfull for now.

Ergonomy

(Owen, Katrin, Adrien, Gaetan, Marijana and Julian)

  • The group made big lists of things that are inconsistent, ergonomy guidelines,… Some wiki pages have been written.
  • the group suggested to use “Add” when we add something to an existing object, and the term “New” when it’s something not related to anything else
  • Adrien added header search bar, that is everywhere else on Koha has been introduced in the mainpage (patch submitted)
  • Gaetan started to work on a design for the home page, and the staff interface. The goal is to have it for 3.8
  • Katrin added id to all pages, as well as a specific css class. It mean we will be able to write a css with different colors for each module (the patch has been pushed, see bug 7760, comment 32 for an example how to use it). The bug 7812 is also related to this improvement, and is about adding a global “header” that include the menu, the header search bar and the breadcrumb, but no code has been submitted yet.
  • Owen presented a framework (bootstrap) that could be a replacement for YUI. The interesting point with bootstrap is that it contains all what we need for smartphones. Julian hacked a little bit, and replaced the opac-search.pl.

Database

(Marc, Stéphane and Christophe)

  • the group focused on removing mysql-ism
  • a first list of mysql-ism has been identified and put on the wiki: http://wiki.koha-community.org/wiki/PostgreSQL.
  • the “show column” mysqlism has been removed in a patch submitted on bug
  • a generic OO approach has been taken for things that don’t have a generic equivalent.

Solr

(Zeno, Juan, Claire, Jonathan (a little) and Henri-Damien)
The Solr work is a long term work.
All the work the group made is explained in the wiki page : http://wiki.koha-community.org/wiki/Switch_to_Solr_RFC#.23kohahack12

Librarians

The group of french librarians did a great work !

Bugzilla show the following numbers : no patches need to be pushed, 16 patches are waiting for QA, 71 patches are waiting for signoff.

The number of patches needing signoff hasn’t been lowered at first glance. But it’s a wrong feeling ! If you look closer, you’ll discover that :

  • 3 patches only had no activity since january
  • 6 patches only had no activity since february
  • 13 patches haven’t been updated this week but earlier in march.

all other patches still to sign-off had an activity this week.
Around 30 patches have been signed-off.

Those librarians where french, so the french translation of Koha 3.8 have been done, and a large part of the manual has been translated as well.

Conclusion

Last year, everybody was happy of our hackfest. This year, everybody is happy with this hackfest. So next year we will organize another one, you can already ask your boss (for end of march)

Koha 3.6.4 is now available

March 4th, 2012
It is with pleasure that I announce the release of Koha 3.6.4.

The package can be retrieved from:

http://download.koha-community.org/koha-3.06.04.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.06.04.tar.gz.MD5
http://download.koha-community.org/koha-3.06.04.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.06.04.tar.gz.sig

Release notes for 3.6.4 are below the fold.

Come and get it! Continue reading “Koha 3.6.4 is now available” »

Koha Release Manager newsletter #4 2012-02

March 2nd, 2012

Welcome to the 4th RM newsletter.
First of all, it means i’ve started this role for 4 months. wow, times passes very quickly.
When I applied, I said I planned to dedicate half of my time to this role. Chris C., the previous RM, said he dedicated more than this. The good news is that I could dedicate a little bit more than half of my time. The bad news is that I could dedicate more, Chris was right. There are so many things that could be done that I could dedicate 2 full time in fact.

So let’s go with last month news…

Just one number to begin with: more than 200 patches have been pushed in february. Good job everyone !

Bugzilla news

There are 74 bugs that are waiting for a sign-off. That’s only a few less than last month, but many have been signed, and many have been added.
I see that 12 of them have been submitted in january or before. Maybe we should discuss of setting a very high priority to those “old” patches.
Also note that I have submitted a new script that is able to check all patches that “need signoff”, and check if they still apply. You can find this script on bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7553

The very good news is that the pile of bugs that have been signed-off and are waiting for QA is now very small: there are only 14, and the oldest one is less than one week old ! Thanks to the hard work of Marcel that helped me a lot QAing.

Important new features

Template Toolkit caching (technical)

The bug 7511 add a new feature : templates (the layout of Koha pages) can now be cached. It means they are pre-built and can be retrieved very quickly. It results in an overall improvement of speed of 10%, just with 4 lines of code !

general caching

After a discussion on the mailing list, we made some changes on the general caching: the reference to memcached is now made in Apache configuration, this let us cache koha configuration file itself, this result in a 10% speed gain once again.
You can find the discussion at: http://wiki.koha-community.org/wiki/Cache_handling_in_Koha
All patches have been applied on koha code, will be available for Koha 3.8. It means that existing setups using memcached will have to be updated when upgrading to 3.8

Test suite improved

Catalyst NZ has organised, in january, an “OpenSource Academy”. Some of the students choose to work on Koha test suite, and 5 new contributors have been added during this Academy. They have added some tests to our test suite. Congrats to all of them (and thanks to Catalyst ppl that trained them !)

Code cleaning

The effort for cleaning code continued:

  • Owen has written a patch that standardize how we call the book vendor (in the code, not in the interface). It used to be sometimes supplierid, sometimes booksellerid, sometimes id. Now it’s always booksellerid.
  • De nesting effort: All access to database are made through Perl packages that are located in C4 directory. the problem is that circulation needs patrons, that needs catalogue that needs circulation. At the end, almost all packages are loaded for almost all scripts. There is a de-nesting effort i’ve started on bug 6875, that could be continued, but the first patches have been pushed onto Koha. It’s a long term effort, but it’s worth the price, as it also improve speed.
  • Capitalizing strings: The bug 2780 is back: we had decided a long time ago, to use capital letters only on 1st word. For example, adding an item button should not be spelled “Add Item” but “Add item”. This may sound a minor thing, but it’s a consistency things, and it’s very important for translators. If we have “Add Item” and “Add item” and “add item”, translation must be written 3 times ! There’s now a strong QA rule for this, and you’re welcomed to submit patches fixing remaining strings with useless capital letter !

funny and not that small new features

  • The patron password is now entered as hidden *****
  • you can run rebuild_zebra.pl with an offset and a length, to quickly test or reindex a small chunk of your database (bug 7246)
  • we can now search patrons on their name, but also on their phone or email (bug 7544)
  • you can now add and remove a biblio to the cart from the biblio itself, not only add it (bug 3215)
  • you can print transfer slips for transfers without hold (bug 7467)

bugs “in discussion”

The first discussions took place for bugs/patches/enhancement that require a community decisions.
I’ve added on bugzilla a “in discussion” query, if you use it now, you’ll see that there are 13 bugs set “in discussion”. Feel free to start the discussion, by adding a page to the wiki and starting a thread on koha-devel.

Coding Guidelines

For those who don’t know, the coding guidelines describe the rules for coding, that are used for Quality Assurance. For example, we have decided to use 4 spaces to indent the code and have it more readable.
So the following code is OK:
if ($RMnewletter eq '4') {
    say "end of february";
}

while this one is not:
if ($RMnewletter eq '4') {
  say "end of february";
}

(yes, it’s a detail, but when you have 100 000+ lines, it’s the kind of detail that is important !)

Many things where already made, but not written, now they are. The more things will be written, the easiest it will be to do the QA !

I’ve added code & number to the guidelines. That will be usefull when QAing, to point a breaking of a guideline. For example [PERL2] rule says “All scripts and modules should enable the strict and warnings pragmas”. If the QA team says “PERL2 rule broken failed QA”, you know what it refers to.

If you want to look at all those guidelines, it’s on the wiki: http://wiki.koha-community.org/wiki/Coding_Guidelines

sandboxes and patch workflow

The sandbox system is done & has been deployed on 10 BibLibre servers. Head to http://wiki.koha-community.org/wiki/Sandboxes
What are those sandboxes done for ? That’s a handy way for non developpers to test and validate patches.
The community workflow is the following:
1 someone report a problem or announce an enhancement
2 someone submit a patch to fix the problem or add the enhancement
3 someone test and validate the fix or the enhancement
4 someone (from the QA team) validate that the code respect the coding guidelines
5 the release manager “push” the patch into official Koha.
(this workflow is also described here: http://wiki.koha-community.org/wiki/Bug-enhancement-patch_Workflow)

The step 3 (test & validate) is also called “signing off”, and can be done by anyone. The best being when it’s a librarian !
However, it can be tricky to have a working koha, and apply the patch. The sandbox system hope to fix this point, by letting anyone with no technical skill test a patch !

Don’t hesitate to use it, ask for more information if you want. you can catch me on IRC

Note that the code of this sandbox system will be published soon at http://git.koha-community.org/gitweb/?p=contrib/global.git;a=summary

Koha 3.4.8 is now available

January 27th, 2012
It is with pleasure that I announce the release of Koha 3.4.8.

The package can be retrieved from:

http://download.koha-community.org/koha-3.04.08.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.04.08.tar.gz.MD5
http://download.koha-community.org/koha-3.04.08.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.04.08.tar.gz.sig

Release notes for 3.4.8 are below the fold.

Come and get it!

Continue reading “Koha 3.4.8 is now available” »

Koha 3.6.3 is now available

January 26th, 2012
It is with pleasure that I announce the release of Koha 3.6.3.

The package can be retrieved from:

http://download.koha-community.org/koha-3.06.03.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.06.03.tar.gz.MD5
http://download.koha-community.org/koha-3.06.03.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.06.03.tar.gz.sig

Release notes for 3.6.3 are below the fold.

Come and get it! Continue reading “Koha 3.6.3 is now available” »

Koha 3.6.2 is now available

December 22nd, 2011
It is with pleasure that I announce the release of Koha 3.6.2.

The package can be retrieved from:

http://download.koha-community.org/koha-3.06.02.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.06.02.tar.gz.MD5
http://download.koha-community.org/koha-3.06.02.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.06.02.tar.gz.sig

Release notes for 3.6.2 are below the fold.

Come and get it! Continue reading “Koha 3.6.2 is now available” »

Koha 3.4.7 is now available

December 7th, 2011
It is with pleasure that I announce the release of Koha 3.4.7.

The package can be retrieved from:

http://download.koha-community.org/koha-3.04.07.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.04.07.tar.gz.MD5
http://download.koha-community.org/koha-3.04.07.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.04.07.tar.gz.sig

Release notes for 3.4.7 are below the fold.

Come and get it! Continue reading “Koha 3.4.7 is now available” »

Koha 3.2.11 is now available

December 4th, 2011
It is with pleasure that I announce the release of Koha 3.2.11.

The package can be retrieved from:

http://download.koha-community.org/koha-3.02.11.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.02.11.tar.gz.MD5
http://download.koha-community.org/koha-3.02.11.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.02.11.tar.gz.sig

Release notes for 3.2.11 are below the fold.

Come and get it! Continue reading “Koha 3.2.11 is now available” »

Koha 3.6.1 is now available

November 29th, 2011
It is with pleasure that I announce the release of Koha 3.6.1.

The package can be retrieved from:

http://download.koha-community.org/koha-3.06.01.tar.gz

You can use the following checksum and signature files to verify the download:

http://download.koha-community.org/koha-3.06.01.tar.gz.MD5
http://download.koha-community.org/koha-3.06.01.tar.gz.MD5.asc
http://download.koha-community.org/koha-3.06.01.tar.gz.sig

Release notes for 3.6.1 are below the fold.

Come and get it! Continue reading “Koha 3.6.1 is now available” »