Hi Kristis,

I've been doing some sanity testing against the latest and greatest
(0-22-0) and found a couple of tweaks that are required in order to get
it going on windows:

===============================================================
Issue 1
=======

>From the error log:
Thread 2 terminated abnormally: Undefined subroutine
&Scmbug::Daemon::Daemon::log_activity called at C:/Program
Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Process.pm line 502.

The fix is to add the following to the Process.pm file:

use Scmbug::Daemon::Daemon;


Issue 2
=======
In the glue.conf disable the resolution_template feature as follows:

        resolution_template => {
            enabled => 0,

Then you get the following error when trying to commit:

** Scmbug error 3: No list of bug ids was found that matches the
log_bugid_regex
 'MR\s*([\d|\s|,|#]*?):' and log_bugid_split_regex ',\s?#|\s?#|,|\s+' in
the log
 message ''.
 
But if I enable the resolution_template then the commit works.

The fix is to update SCM.pm function prepare_final_log_message() by
adding:

 else {
        $log_message_without_resolution .=
$self->activity()->original_log_message();
        }

to the end of the close of "if ( $policies->{ resolution_template }->{
enabled } ) {".

===============================================================

I haven't finished testing yet, and still need to look at enabling Bug
Resolution for Test Director, but thought that I'd give you an update.

Thanks

Rob

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to