Michal Čihař - Blog Archives for Coding

Version control system for Gammu and others

I still more and more think, that I should move out of Bazaar to some more maintained piece of software for version control. The biggest problem I currently see, that I was not able to convert by Bazaar repositories to some other format. I tried to convert to Bazaar-NG by booth BzrTools and Tailor, but none of them succeeded, then I tried conversion to Git, but Tailor failed also on this task.

Maybe I will try Subversion, which is now very widely used software, although it has some annoyances. I originally wanted distributed VCS, because I was often offline at home, but this is not the case anymore, so using centralised VCS on my own server should not be a big problem.

Don't send patches by email

I just noticed that I tend to forget about patches that I received sometimes and didn't have time to review them right as they arrived. Fortunately that person reminded itself by sending another patch, so I got back to original issue, but it's unfortunate to loose patches just because of my bad memory.

So please bug trackers, there is much higher probability that issue won't be forgotten :-).

Bug tracking black hole

It's funny how big are differences in authors of open source programs and their bug handling. Yesterday I finally managed to report problem in gtkthml plugin for Claws mail which caused some HTML mails to be displayed in wrong encoding. I got instantly reply and in few minutes it has been fixed in CVS. Thanks a lot Colin Leroy!

Exactly opposite situation is with Klear. I wrote bug report with patch more than a year ago and it is still without reply from developers. Funny is that somebody else was brave enough to port this patch to curent version. Looking at their bug tracker, I can see that my report is not alone, let's call it black hole…

Localisation in PHP

As you might already know, my website is available in English and Czech languages. I decided to use gettext, because it is easy to manage (when compared to strings which are used eg. in phpMyAdmin. However I sometimes see PHP to crash on localised pages and it randomly sends page in English even when Czech should be sent. I don't know how to fix and even how to debug this as this happens in few situations, which I'm not able to reproduce. So I'm really sorry if you sometimes see site unavailable errors, or you get different translation than you expected. Reload mostly works in such cases.

Happy new year!

Maybe I'm a bit late, but happy new year! I was quite silent in last days as I was having rest from computer and enjoyed real life.

What will this year bring? I will hopefully become Debian Developer, as only required step right now is account creation. This is good news for Gammu users who run Debian, as I would like to upload testing versions to experimental (as well as appropriate python-gammu builds).

What else? Some new releases of my projects :-). I'm still working on Wammu and configuration wizard. There is a bit more work than I expected, but it should be ready during January. I don't expect much new features in python-gammu, it will be just kept in sync with gammu.

The only remaining project is Ukolovnik, which is in perfect state for me, however other users request more features and I should sometimes get at least to patch merging :-).

Online localisation?

After few complains on quality of translations coming from Rosetta, I started to look for other possibilites to use for online translations. I want something what allows forcing of review of translations, as I don't see other way for improving their quality.

The only thing I found so far is Pootle, but I didn't yet manage to make it properly use Wammu po files and translate them. I'm probably doing something wrong, as there seem to be several working installations on the net. It's probably time to properly read documentation ;-).

OBEX specification?

While looking at best way how to implement Sony-Ericsson support in Gammu, I found that I desperately need OBEX specification for that. After looking at IrDA website, where it has been designed. I was shocked by prices they request, so I start to look for other source.

Thanks to Jane, I found it! Well they should protect their content if they really want to charge some money...