A hack to get Scmbug integration working with Bugzilla v3.2

by BabuA on December 29, 2008

Problem context

I had fallen in love with the Bugzilla v3.2 and upgraded hastily to the new version without realizing that it had broken my existing Scmbug integration. As an immediate impact, all of  the precious auto check-in comments via Scmbug for the past one week has gone in the air.

Why did I lose the comments? Scmbug is not compatible with the new version of Bugzilla.

I did some googling today and found out that no fix is available as yet. Please visit ScmBug’s bug tracking system here and the scmbug-users forum thread here to validate this for yourself. 

I am still checking to see how this can be fixed to contribute to Scmbug and help Kristis Makris (the original author who wrote this wonderful tool and still maintaing it) to support Bugzilla v3.2.

Solution (I would call this as a 100% hack)

I am sure all us will backup the Bugzilla folder added to the web server and Mysql database before upgrading as a best practice. With the assumption that you have the backed up the old Bugzilla folder as bugzilla.old under the web server path, we will move ahead and hack the system to get Scmbug working using the steps below:

1.Stop the Scmbug service. I use RHEL and use the command service scmbug-server stop.

2.Stop the Apache web server using service httpd stop.

3.Edit daemon.conf for scmbug. In RHEL it is under /etc/scmbug. Change the installation_directory setting to point to bugzilla-old path.

4.Start scmbug and httpd services. Do a test check-in and you should start seeing comments added by scmbug in Bugzilla for the check-in done.

Have a good one!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>