Michal Čihař - Blog Archives for English

Lets automate the work

Fixing bugs in code and committing it to VCS usually also means that you need to interact somehow with BTS you use to let it know that the bug has been fixed. This is manual work which could be done by some clever commit scripts, right? All what is needed is just spend some time to set it up.

Most of my development currently goes to Gammu/Wammu which uses own Mantis bug tracker. It is already a bit prepared for integration with VCS, but I never found their documentation sufficient. Fortunately somebody wrote tutorial on integrating Mantis and Subversion, which made it quite easy to set up. All what was needed was to put little commit hook into SVN.

Now the logical step was to make it also for Debian packages. A bit of Googling revealed discussion on debian-devel. Unfortunately no example for SVN, but ripping out needed things from Manoj's script for Arch was quite easy and I made my own commit hook. While looking at this, I also found wonderful tool called debcommit, which commits changes to Debian package using changelog entries as commit message. I still wonder how many useful tools are hidden to me.

The only thing I don't know is why Google didn't show me yesterday svnlog, which seems to have support for Debian BTS out of the box. Maybe I just entered slightly different keywords than today when trying to find the mentioned thread on debian-devel.

Gammu test version 1.14.90

Okay, I messed it up. Recently released 1.14.0 still had some artefacts from SMS handling cleanup and it should be fixed now. Besides this, experimental (not tested) support for OBEX on Siemens phones has been added and Motorola users should be finally able to get their messages. Full list of changes:

  • Configurable MySQL socket path.
  • More extensive SMS PDU parser tests.
  • Experimental support for OBEX in Siemens.
  • Support for listing messages using CMGL (bug #408).
  • Parse T630 reply on CPBR (bug #420).
  • Fix buffer overflows in PDU decoder.
  • Properly catch invalid PDU data received from phone.
  • Handle more OBEX error codes.
  • Handle vCards from Yahoo and Evolution (bug #424).

You can download from usual place: http://cihar.com/gammu/

I will try to stabilise to 1.15.0 as soon as possible, what effectively means feature freeze from now, so this testing series should be shorter than usual.

Real address in bug tracker makes sense!

Today, when walking through some Wammu/Gammu bugs, I came to conclusion that the spam changed some people to behave insane. The email field in bug tracker is there to allow developer to contact you, for example when he makes a fix for issue you reported and wants you to test it. Entering addresses as ones at TrashMail which will vanish soon (the bug I'm talking about is two days old, what I feel is good enough reaction time from my side), will not help anybody.

Thank you firebird76 (whatever your real name is) for realizing how people are stupid.

PS: I use Mantis bug tracker, which I believe does not expose email addresses to anyone besides privileged users.

Wammu 0.24

I just released version 0.24 of Wammu. This release brings improvements in device searching, support for notification on incoming call (you need python-dbus for this) and various minor GUI improvements. Full list of changes:

  • Notifies user about incoming calls using D-Bus.
  • Remember default type of created entry (eg. phone/SIM memory).
  • Newly created entries contain some reasonable fields by default.
  • Fixed validation of editor fields.
  • Improvements in guided wizard to make it easier to use.
  • Clever searching over Bluetooth based on manufacturer.
  • Searching can be really limited to some connection types.

There is still no binary for Windows. I don't have time and environment for maintaining them. Volunteers are welcome!

Gammu stable version 1.14.0

I just released new version of Gammu. There are no big changes since last testing release:

  • Fallback to empty model if user specifies wrong.

For stable users there are tons of changes, most noticable are fixes in SMS encoding and decoding, 6510 protocol improvements, IrMC index access support and improved SMSD logging.

RC bugs

I'm just wondering: Why do all my packages start getting RC bugs which are easy to fix right now, when ftp-master is down and uploads are not possible? It must have some coincidence...

Photo uploader 0.4

Good news everyone, new version of Photo uploader has been just released. If you don't know this tool yet, it is helper to upload photos (or images) over net. It was created when I became too lazy to upload hundreds of photos to digilab, but generally it can support any service which allows you uploading of whatever using HTML forms.

News in this release:

  • Fixed crash.
  • Added uloz.to service.

New Gammu is in Debian

After massive processing of new queue during weekend (check graphs to get better impression, kudos to all who managed to handle hundredth of packages during weekend), new Gammu is in unstable. It is still not in shape for migration to testing, but it is much better than the one I accidentally uploaded before. Currently there are no known open regressions, so if you see something failing what used to work before, just report it!

Czech pages about phpMyAdmin

After two weeks of testing, I'd like to announce Czech pages about phpMyAdmin - http://phpmyadmin.cz/. You will find there various tips and howtos for using phpMyAdmin as well as project and development news. I'd like to build there a community where people could find help about this tool in their native language, but I have no idea whether it has a chance to succeed. Anyway the domain name was cheap so I had to try to realize idea, which was sitting in my head for quite a long time.