Monday 17 March 2014

Again after a moth with more confidence

Hi, I'm back again after a month. It was again awesome time excluding some issues (e.g. exams etc.). My last patch of showing local time in gnome-weather is accepted. Then I started looking for more bugs. By February 19, 2014, I've submitted 2 patches for gnome-weather. GSoC student proposal submission was started from 10th March, 2014. I started looking for more and more bugs and my workflow was like editing reviewed patches and making new patches.
By now, I've made new total 5 patches for gnome-weather and libgweather. One patch for gnome-weather and 3 new for libgweather. All of them are accepted now. Great feeling to have status of patches as accepted_commit_after_freeze :).

Let me talk about the patch that I submitted for gnome-weather. It was about adding support to get current location of the user and adding that location automatically to the world-view of gnome-weather. I learnt how to use system daemon service "geoclue" and defining interface for it. It was not much difficult. I've added one more file to gnome-weather and got copyright of it. (My first copyright on a file in Open Source world :) ). This is the video link that shows how my current location (For now nearest location -> Ahmadabad) is added to the world-view : http://www.youtube.com/watch?v=KjqGsX6l2iY

After this I started looking for bugs in libgweather. I found many of them were related to city missing which will be solved after the implementation of the proposed Weather idea for gsoc'14. To add the above (getting current location) feature, I've solved one bug (seg fault error while finding nearest city) for libgweather which was about modifying the way of traversing through all the locations. It was a tiny little bug. Then my mentor has suggested me to implement a new API in libgweather to get the current location with the current location name and its coordinates. Now geocoding comes in the picture. In this task, I've  used geocoding (an asynchronous process) and detached location support to get customized location. This is the same part which will be used in the proposed project implementation. So I got a huge benefit by implementing this.

Well during this implementation, I've implemented one other API with the support of filter function to filter out some locations to find the nearest city. Which was suggested by gnome-clocks (another app using libgweather) mentor.
Finally, it took some time to implement this all and thanks a lot to my mentor for supporting me and finding solutions to problems that I faced during implementation. Both the patches for both the APIs are accepted.

Then I started making my proposal and it was easier for me now due to last two APIs implementation and I got clear idea about how to implement the proposed project. Even I've added some incremental goals to my proposal to work on it if the proposed project would be finished before the time. I've submitted the proposal. Hoping to get the project selected for gsoc'14 and getting myself selected for the project. Let's see what happens......

Wednesday 19 February 2014

Here is my new second post after a month.
Time-label in top-left corner is added by me.
This one month was awesome as I worked on few bugs and my one patch for a bug of gnome-clocks is committed.That day it was really awesome feeling when the code written by me was pushed on master branch of gnome-clocks. Thereafter I started looking for GSoC projects and I found gnome-weather interesting. Again I switched from gnome-clocks to gnome-weather. I sent an e-mail to the mentor of this project Giovanni Campagna and he responded to my e-mail and motivated me to work on gnome-weather. Then I built it without any trouble as I was quite familiar by that time with how to deal with building errors. Then I started hacking its code and looking for bugs. First of all what I noticed is the odd behaviour of "ADD" button in new-location dialog-box and I used gnome-clocks so I found that it should work in the same manner as gnome-clocks. So I filed a bug and submitted patch for it and during that I came across one bug of libgweather which I reported to paolo and he solved it. Finally Giovanni modified my patch and pushed the code.Then I found that the idea of showing local-time in cityview was proposed so I started working on it and talked to gnome-design team and they guide as to where to show the time-label and according to that I made changes and submitted patch for it. It has been reviewed once and I got some suggestions about it and I've made changes according to that and submitted the new patch. It is yet to be reviewed. Let's see what happens. Now going for a new fish :P

Label showing duplicate-alarm warning is added by me :)

Tuesday 14 January 2014

       I dig up a lot and finally decided to get started as a developer at GNOME and as expected first 4-5 days are totally cold start :) . I just learnt how to build a software and had a lot troubles with it but it was really exciting as I felt that my knowledge about open source stuff was just get doubled during these few days and I also felt excited about sharing these things with others too. First of all I was not expecting that people would be totally ready to help you at any time and about anything on IRC but I was totally wrong. As far as I remember, I first talked to "weld" on #gnome-love channel.
      The first problem in which the people on IRC helped me is to create a symlink between Python2.pc and Python-2.7.pc as the package required the exact Python2.pc file which was not there and I made a symlink using ln -s and it worked. I just felt great at that time and surprisingly after 2 days I helped someone there to solve the exact same problem.
       I started looking for projects and their requirements and I found gnome-clocks and built it(by passing too many troubles with the help of people on #gnome-hackers). I started using it and hacking its source-code. It seems quite interesting and still working on it.