Posts Tagged ‘Koha’

Koha 3.0.2 released

Thursday, June 4th, 2009 by Galen Charlton

Henri-Damien Laurent, Release Maintainer for Koha 3.0, has announced the release of Koha 3.0.2, the second maintenance release of Koha in the 3.0.x series. The release tar file can be downloaded from http://download.koha.org/koha-3.00.02.tar.gz.

From Henri’s announcement:

We are very happy to announce Koha 3.0.2 Stable has been released on
http://download.koha.org/
Its name is koha-3.00.02.tar.gz You can download file and signatures

You can check the integrity of the package; either by verifying the provided
GPG signature (.sig) or by comparing the MD5 checksum:
c3fee4abbb29c88f97a5f7db5fe9eebf koha-3.00.02.tar.gz

I have also tagged this in Git as “version 3.00.02 final”
v3.00.02-final

This release is bugfix only release, and does not include new
features which would require some database changes.
It does add some databases changes though but only to FIX bugs.

The next release scheduled in July will include features which are now
in master but not ported yet to stable because of database change
required. That is to say mainly many content enhancement were not
integrated Librarything, Syndetics, Baker&Taylor, Babeltheque, and
BranchTransferLimits.
But we are willing to make them into the next release which will come
out as soon as possible in July.

Update: BibLibre’s announcement (in French).

KUDOS meeting at ALA annual

Tuesday, May 12th, 2009 by Galen Charlton

David Schuster has announced a meeting of KUDOS (Koha Users and Developers of Open Source) at the annual meeting of the American Library Association in Chicago.

Date: Sunday, 7/12/2009
Time: 1:30 pm - 3:00 pm>
Location: Hyatt Regency Chicago (not the Hyatt that’s close to the
convention center)
Room: Grand Suite 3

Initial 3.0.2 candidate ready for testing

Thursday, May 7th, 2009 by Galen Charlton

Henri-Damien Laurent, Release Maintainer for Koha 3.0.x, has published a new Git tree with a candidate for Koha 3.0.2. From his original announcement:

I am glad to announce that work for stable version 3.0.2 is well advanced.
You can test it on koha-maintenance project
see http://git.koha.org/cgi-bin/gitweb.cgi?p=koha-maintenance.git;a=summary
for the code.

How can I test it ?
if you have a dev version :
git remote add maintenance git://git.koha.org/pub/scm/koha-maintenance.git
git fetch maintenance
git branch –track testing_3.0.2 remotes/maintenance/master
git checkout testing_3.0.2

Any bugs should be reported to Henri-Damien directly — since the changes have not been pushed yet to the 3.0.x branch in the main public repository, any issues are technically not bugs against that maintenance branch. Henri-Damien and I discussed whether or not to create a new product or component in the bugs database for his maintenance tree, and for now have agreed not to do that. Once initial testing of his koha-maintenance tree has been completed, Henri-Damien will be merging it into the main repository’s 3.0.x branch and any remaining 3.0.2 issues can be filed in Bugzilla. Of course, if this doesn’t work out, say if if Henri-Damien gets absolutely deluged with emails about the 3.0.2 candidate, we can revisit this decision.

Many thanks to Henri-Damien for working so hard on 3.0.x.

Next Koha #koha meeting: 3 June 2009

Thursday, May 7th, 2009 by Galen Charlton

I just sent a call for the next general IRC meeting of the Koha project, which will take place on 3 June 2009 at 10:00 UTC+0. Here’s a link to one time zone converter. We’re currently seeking a major coffee company to sponsor caffeine for North America and New Zealand. The initial agenda for the meeting is on the Koha wiki; to propose new items, please update the wiki page or post to the Koha mailing list. At the moment there are three standing agenda items:

  1. Update on 3.2
  2. Update on 3.0.x
  3. Follow-up on actions from the 6 May 2009 IRC meeting.

I look forward to seeing everybody there.

Koha project IRC meeting

Wednesday, May 6th, 2009 by Galen Charlton

The first general IRC meeting of the Koha project in a long time took place today. For those who couldn’t make it, a log of the discussion is available. The agenda for the meeting is on the wiki.

Some highlights from the meeting:

  1. Koha 3.2 will be frozen for new features at the end of August. After two months for testing and translation, general release will be at the end of October. I will release a pre-alpha version of Koha 3.2, which will include the acquisitions work by BibLibre, during the month of June, and I plan on another intermediate pre-alpha release between June and August.
  2. Henri-Damien Laurent plans two releases in the 3.0.x maintenance branch, 3.0.2 in June and 3.0.3 shortly thereafter to reconcile differences between the 3.2 tip and the 3.0.x branch.
  3. There was a long discussion of the Koha bugs database. At KohaCon, users and potential users of discussed ways to keep track of potential developments to Koha and arrange sponsorships to fund the enhancements. We’ll be using the Koha bugs database to do this, and this will mean some changes to it (adding a field to record sponsorship status) as well as promoting the use of it.
  4. I will start a weekly blog for news about the progress of 3.2.
  5. We’ll start sending a monthly FAQ to the Koha mailing list and improve the welcome message to new subscribers. I will draftask Nicole Engard to help out with composing it, but if you have ideas for what this message should include, I’ve started a page on the wiki.
  6. Nearly two and a half hours into the meeting, we talked a bit about KohaCon 2009, which was very successful. Thanks to David Schuster and the Plano Independent School District for hosting it, and thanks to the members of the KohaCon planning committee for doing a superlative job.

I would like to thank everybody who participated. Special thanks to MJ Ray for taking care of many wiki updates during the meeting. I’ll be calling another IRC meeting to occur in early June.

Speeding up Koha with memcached

Monday, March 23rd, 2009 by john.beppu

Anyone who has ever watched the MySQL query log while koha serves requests knows that koha makes A LOT of repetitive SQL queries for every request.  Most of these requests are for individual values in the systempreferences table.  There is also another large batch of queries for data from the language_descriptions table.  The queries are not that heavy by themselves, but there are way too many of them happening per request, and it’s for the same data every time.

In an attempt to minimize the number of repetitive queries, I tried to make koha use memcached.

(more…)

KohaCon 2009

Sunday, January 25th, 2009 by Galen Charlton

Please mark your calendars for KohaCon 2009. From David Schuster’s announcement today:

KohaCon 2009 will be held in Plano, TX April 16 and 17.

This is a FREE conference. There is no registration fee, but we are
requesting that all attendees pre-register. Details (travel, hotels, agenda draft, etc) can
be found at:

Koha WIKI: http://wiki.koha.org/doku.php?id=kohacon2009

There is a “Tentative Schedule” - it will change as more people sign up
probably for programs. Travel information along with Hotel accomodation
information. Lunch and dinners will be on your own. Feel free to contact
any of the three people listed on the Wiki at the top or email me directly.

After the conference, there will be a three-day Koha developers meeting in Plano on April 18 through 20. All who develop for Koha, want to develop for Koha, or are interested in Koha development are welcome to attend.

Programming resolutions

Sunday, January 18th, 2009 by Allen Reinmeyer

Even though we are halfway through the first month of the new year, I thought it would still be a good time to bring up my programming-related New Year’s resolutions.  With the way the landscape in programming changes every few years it seems only appropriate to encourage personal growth.  I have found previously when I do this it also strengthens the languages that I already know.  Learning Rails re-inforced the idea not only of testing, which is stongly built-in to the framework, but also concepts like MVC (Model-View-Controller) architecture and DRY (Don’t Repeat Yourself) concepts.  Here’s what I have set as personal goals for 2009:

  • Learn a new language.  I’ve previously worked in mostly Java and Perl, with a bit of Ruby on Rails thrown in.  So I could claim Ruby on Rails and still learn a lot (for that matter, Perl as well…) but I want to challenge myself and try to learn Python.  Initially, there seems to be a good deal of overlap between Python, Ruby and Perl, so I think that should help me.  I will start with Dive into Python as that has a complete textbook online.
  • Learn 2 new frameworks.  I have not completely decided on what to do here.  Looking at our biblios project makes  me want to learn Google Gears.  If I learn Python, Django, a web framework similar to Rails, would blend nicely.  Catalyst might be a great fit that could directly impact Koha.
  • Contribute to one other open-source project or consistently attend a code group.  These will probably go together.  Here in Atlanta, where I live, there are groups for all the languages and most of the frameworks that I’ve mentioned above.  They tend to meet once a month and often have side meetings to work through learning aspects or book clubs related to the topic at hand.  It’s a great way to meet people and learn what others are doing in the same field of interest. Meetup.com is where I found the Rails group I (very) infrequently attend and actually heard about the Perl Mongers group in the area that I’m hoping to attend this year. Often, you can find people in need of help for various projects, or who are looking to help if you have a project of your own that needs help.  Meetup is international and it’s very easy to start your own group if one isn’t already meeting. Maybe I’ll even start a Koha group??

So feel free to share your goals or resolutions in the coming year in the comments below, or even the methods you use to improve yourself.

Koha Test Cases

Sunday, December 28th, 2008 by Allen Reinmeyer

Since Andrew Moore has already done some great work on building up Koha’s test suite for C4 classes, I thought I’d talk about some of the ways that we as developers can add to his work.  I know in my recent development work, I have been trying to add tests where I can.

There’s a good overview on running the test suite, or specific test cases, on the Koha wiki.  What I’d like to talk about are a couple of reasons why we should be writing test cases whenever possible.

Adding more tests to our test suite can be beneficial in a number of ways.  As a new developer to Koha, writing test cases has really helped me understand what’s going on behind the scenes.  For me, writing the test case before I start working is the best way to figure out what the code is doing now, and also what it should be doing in the case of bug fixes, or what I want it to do in the case of adding new features.  That process, generally called Test Driven Developement, or TDD for short, can be awkward for many developers that have never done it before.  My main point though is not to get everyone drinking the TDD Kool-Aid, so the benefits of TDD can wait.  Though as someone that had to re-learn how to develop using TDD, I can attest to the changes one has to overcome. Test cases can be easily written both before and after code changes, so let’s get back to the topic at hand.

Another benefit of test cases is that it allows for a more rapid refactoring of the code base.  Even in my short time with LibLime and working on Koha, many of us on the Koha IRC or mailing lists have discussed ways to improve the code base, like converting to DBIx, mod_perl, or just adding warnings to classes. The more robust and complete our test cases become, the higher the confidence all of us can have in changing the code by running the test suite (or class) after we make changes.  Part of the problem in making these large-scale changes though, is the concern for what functionality we would break or alter.  Having test cases that validate behavior both before and after changes are made can be a huge benefit to successful deployment.

Of course, one of the problems in writing test cases is the fact that as a developer, often times you write as much (or more) in the test cases than you do in the actual code change itself!  While that is often true, most of the time this can be attributed to initial setup cost as once tests are written, they can be used over and over again.  An example is the work I am doing on enhancing the fines portion of Koha.  As I write test cases, I am also able to use the same test cases I wrote for the C4::Members class in another branch, making C4::Members work with DBIx::Class.  As these test cases get merged into the Koha public repository, others can also use these tests to validate still more changes to C4::Members.  So I spent some time initially doing more code than I planned, but in the long term, the benefits quickly repay the initial cost spent in code and time.

While it is often helpful to still test code changes through the browser, having test cases also allow us as developers to isolate problems faster. If you can verify that methods are inserting/updating records correctly via test cases, you save valuable time on support by then focusing on Javascript or HTML errors.  Code also tends to become more maintainable as ‘do-all’ methods get broken up into smaller methods that are easier to test.  In my past experience, while there can doubt as to the quality of the tests available, or concerns that existing test cases are not reliably structured, there can be no doubt that everyone agreed that the existence of tests provided a more stable end product. With the community’s help, hopefully we can all witness that first-hand here as well.

Working to Start Using DBIx::Class in Koha

Friday, November 21st, 2008 by Andrew Moore

I’ve been doing some work recently to see if Koha could benefit from using an ORM tool like DBIx:Class. This would help abstract away the database interactions for developers. I’ve produced an example implementation of how we could do this and sent it to the Koha-devel list a few times in hopes of gauging how likely it is that Koha could move in this direction soon.

Since I didn’t receive much criticism and actually got some good advice and some offers of assistance, I’m hoping that I can keep working on this project until it gets accepted into Koha. To that end, I’ve started a wiki page where I can describe how I expect to eventually get to use DBIx::Class in Koha and how I envision us getting there. If you’re interested in helping me figure out a good way to go about this, or if you’re just interested in reading a bit about one possible future feature in Koha, take a look at that page and feel free to edit it

I’m hoping that this project makes it easier to contribute to Koha. That means that I may not have the best implementation in mind right now. I want to hear from you on how we can make it better. Thanks!