Ruby Script for SVN commit notification with log message, list of updated files and readable colored SVN Diff
Some days ago I wrote a post about “SVN commit notification” which uses a perl script for sending commit notification with svn diff by mail. In this mail you can find svn diff from the last committed revision. I used to love this mail, soon I realized that it is a bit ugly and difficult to read. Also there were some important information missing. Like the name of user committing the code, the log message etc…
And then I started writing my own ruby script for same purpose but with some addition and modification. Commit notification script is that script, you can download and configure it with your SVN post commit hook as follows.
Add following line at the bottom of your post-commit file:
* Please remember to change the path of you commit-email ruby script.
Now open commit-email ruby file and modify the following section according to your requirement:
You are done with that, now onwards whenever someone commits the code, you’ll get the commit notification mail like:
Presented at BarCampDelhi3
Yesterday, I attended third barcamp in delhi. I presented a session “Deploying rails application in EC2″. It was an amazing experience. We talked about EC2 and I had given a demo “How to deploy rails application on EC2″.
I personally didn’t like some sessions. There were people from some company and after every 2 mins they were saying “we are the best”. I think this should not happen in barcamp. As far as I know about barcamp, it is for sharing your experiences, talking about new technology, but not for promoting your company.
I think that, at BarCamp there should be sessions on new things, not on the things that are popular and have similar other services.
There was a very good session by Jinesh Varia on Amazon Cloud Computing. He included Amazon’s simple storage system, and Amazon’s cloud computing(Ec2) in his presentation. He also helped me in answering people while the demo. He gave me a hint that very soon there will a news from Amazon that will surprise us.
I have uploaded my presentation slides on Slideshare.net:
Thanks to Impetus Noida for Hosting Barcamp for second time and Opera for Beer.
Third Delhi BarCamp
I have a great news for you guys. We are planning Third BarCamp on Saturday, 8 December 2007, in Delhi.
Venue is not finalize yet, We have some options and shortlisting the final one.
We are also waiting for someone to take the sponsorship ;-)
Some people have proposed their sessions, I am proposing two with Manik. List of sessions(as of now):
-
* Deploying Rails app on EC2 (Manik Juneja and Akhil Bansal)
* Comparison of various Rails Hosting services. (Manik Juneja and Akhil Bansal)
* Using Jmeter for Stress Testing your webapp
* Desi Social Networking - Visual web ( Swagat Sen )
* Everyday Productivity with Windows Live Tools (Abhishek Kant)
* Gurugeeks - A call out for Web Geeks (Navjot Pawera)
* Web Semantics and Accessibility (Navjot Pawera)
If you are planning to Attend/Present something you or want to help us in any way please visit http://barcamp.org/BarCampDelhi3 and add you name in appropriate section.
So see you in the camp ;-)
Two best online API/Rails API
Today I found two best API sites. One is http://www.gotapi.com.
This site provides APIs of almost all languages.
The other API site which is only focused on Rails is http://www.railsbrain.com/. I like this most. You can also download this API. It is AJAX based fast, useful.
Welcome to Web On Rails
Thank you for taking the time to visit my blog! Take a second to peek around and check out some of my previous posts. Of course, I would love to find out what you think as well, so make sure to comment. See you around!
Like my posts?Recommend me on Working With Rails




