Balasankar C

Balasankar C

Geek. Freedom. Privacy.

Home | Blog | Talks | Setup | Feed

Back to Pack(aging)

Howdy all,
I was introduced to the world of packaging by Praveen (a.k.a javaman), one year back. It was a training session for packaging diaspora gems for debian (so that diaspora can finally be installed by sudo apt-get install diaspora). I tried packing one package named jammit and I think I stopped it when I found that, it had some dependencies yet to be packaged. And as usual, I had found new areas to graze. (Typical me.. :D ) .

However, I had recently decided to try packaging again and started working on a gem today. timeline-setter. It is a gem to create HTML timelines from spreadsheet of events. I started following the steps in the wiki. Whenever I got errors, Nandaja helped me decode them.

One of the errors was, the source code contained two minified javascript files, one being jquery source itself. So, lintian was giving errors on them. Also, when edited those files to unminify them ,I saw an error that I hadn't seen during my earlier tries of packaging. dpkg-buildpackage was telling that, if I edit those files, I must add them to source. Actually, it made sense and I obeyed. Then I remembered about running the tests, and was stuck with a "cannot load" error. Fortunately, my rails learning paid off. I could understand that it was a trouble in finding the files to load, and the path actually was set to the current folder, while it should have been the parent folder. I changed that and voila, all tests passed.

I had an account in Alioth but hadn't used that ever. Also, it took about 1 hour to add ssh key to it. So, I decided to go with mentors. It needed an RFS and I filed one. It was only after filing that, I consulted with Praveen and he said if I had git access. I should use that. People actually like git rather than mentors. Also, I found out that, I had made a typo in the copyright file ( I used GPL instead of MIT). So, I am gonna try git. I am waiting for my ssh key to be added to alioth.

In short, it was awesome to again experience the thrill of hacking, facing errors, solving them and moving forward. I plan to do this more (I always say this, and within two days, my mind would be on something else. :D )