Got a messy git checkout?

If you are like me, you often want to rebase, or pull from a repo but have a bunch of local changes you don’t want to commit (yet) but also don’t want to lose, well git-stash is your answer.

This is really handy when working on Koha, you don’t have to muck around with local commits that get in your way when you are making patches to send upstream.

Koha in Samoa

This is slightly old news, but cool nonetheless.

“This is a very important day in the life of the Nelson Memorial Public Library with the launching of this management system called ‘Koha’,” Ms Godinet said in her speech yesterday.

“Our library opens from Monday-Friday from 8.30am to 5pm and Saturday from 8.30am to 12pm.

“Koha means our library never closes our catalogue as it is now available 24/7 for all Samoans and anyone interested in Samoa.”

Full text is here

Koha on hostgator.com

I spent a bit of time working on getting this going tonight, nearly there, I just have to do a couple more bits of configuration and I should have it all up and running.

The main stumbling block is not having git on the hostgator server, so Ill just have to make releases on my home machine and copy them over and upgrade. Not too bad. In fact I’ve set up a cron job to do just that. So ill have nightly releases here.

UPDATE

Getting yaz to compile on hostgator so I can install the Zoom module is proving to be a stumbling block.

UPDATE 2

Ok, hostgator won’t install Yaz, and without a c compiler its a bit tricky to do a local install, i’ll have to try a different tack.

Playing with Ohcount

I checked out the ohcount source code from the git repository today and ran it over the Koha git repository, quite interesting.

Language      Files     Code  Comment  Comment %    Blank    Total

----------------------------------------------------------------

sql              50   116617     3068     2.6%     2615   122300

perl            554    79771    23089    22.4%    17813   120673

javascript      194    24677     2332     8.6%     5867    32876

xslt             24    13820      354     2.5%      700    14874

css              77    10052      495     4.7%     2181    12728

html             68     5933       48     0.8%      674     6655

xml              12     1758      382    17.9%      221     2361

python            4      332       23     6.5%       77      432

shell             5      112       23    17.0%       13      148

----------------------------------------------------------------

Total           972   253072    29814    10.5%    30161   313047

Last day at work

Tomorrow is my last day at work in my current job. I start a new job on March 3rd. I will still be hacking on Koha, but not as my day job anymore, just in my spare time. It’s all pretty hectic at the moment trying to finish everything off, so not many patches from me at the moment. Once things get settled down I’ll be getting back into it. 

Kohabot mostly working with Koha 3.0

I spent some time the other night working on the Koha bot to get it to work with the new search API in Koha 3.0. So now you can fire the bot up, and it will hop on AIM and then people can query your catalogue through it.

Next is getting the login function going again so you can use the bot to check what items you have overdue etc.