HI,

 

We are attempting to install the SCMBUG in order to integrate Bugzilla 3.0
(installed on Windows) and SVN 1.4 (installed on different windows machine)

 

After activating the SCM server service and installing the GLUE we encounter
the following error while attempting to perform a commit.

 

I have enclosed the following entries:

 

*       Error log 
*       Pre-commit.bat 
*       Glue.conf 

 

I would appreciate any advice

 

Thanks

 

 

Commit Error

 

Modified: Desktop\Work\trunk\test.txt  

Sending content: Desktop\Work\trunk\test.txt  

Error: Commit failed (details follow):  

Error: MERGE request failed on '/svn/svnrepo/vlsi/trunk'  

Error: 'pre-commit' hook failed with error output:  

Error: Scmbug notice:
---------------------------------------------------------  

Error: Scmbug notice: Reading configuration  

Error: *******************************************  

Error: **  

Error: **  

Error: ** Scmbug error 93: The configuration file
'//s-svn/svn/svnrepo/hooks/etc/scmbug/glue.conf' could not be interpreted
correctly: syntax error at (eval 9) line 24, near "# This applies only to
Subversion. It is   

Error: recommended that tags  

Error:    # are stored in the 'tags' directory, and branches in the  

Error:    # 'branches' directory.  

Error:    label_directories"  

Error: **  

Error: **  

Error: *******************************************  

 

Pre-commit.bat file:

 

"C:/Perl/bin/perl" -I //s-svn/svn/svnrepo/hooks/lib/scmbug
//s-svn/svn/svnrepo/hooks/bin/scmbug_activity.pl
//s-svn/svn/svnrepo/hooks/etc/scmbug/glue.conf activity_verify
//s-svn/svn/svnrepo %TXN% >&2

if NOT %ERRORLEVEL% == 0 goto scmbug_script_failed 2>nul

 

GLUE.CONF

 

$glue_configuration = { 

 

    enabled => 1,

    scm => {

                        name => 'Subversion',

 

            binary_paths => 'C:\Program Files\CVSNT','c:\Program
Files\Subversion\bin'

 

            label_directories => [

                                          'tags',

                                          'branches'

                                          ],

 

            main_trunk_directories => [

                                                   'trunk'

                                                   ],

 

            consolidate_cvs_messages => 0

    },

 

    daemon => {

            location => 's-btt',

            port => 3872,

            },

 

            

    policies => {

 

            log_template => {

                log_bugid_regex => 'bug\s*([\d|\s|,|#]*?):',

            log_bugid_split_regex => ',\s?#|\s?#|,|\s+',

                log_body_regex => 'bug.*?:\s*(.*)'

                },

            resolution_template => {

                enabled => 1,

                resolution_bugid_regex => 'status\s*([\d|\s|,|#]*?):',

                resolution_bugid_split_regex => ',\s?#|\s?#|,|\s+',

                resolution_status_regex => 'status.*?:\s*(\S+)\s*.*',

                resolution_status_resolution_regex =>
'status.*?:\s*\S+\s+(\S+)',

                resolution_status_resolution_data_regex =>
'status.*?:\s*\S+\s+\S+\s+(\S+)',

            resolution_status_case_sensitive_verification => 0,

                resolution_status_convert => {

                        enabled => 1,

                        resolution_status_convert_from => '_',

                        resolution_status_convert_to => ' '

                        },

                resolution_valid_product_name => 1,

                resolution_valid_bug_owner => 1,

                },

 

            presence_of_bug_ids =>  {

                value => 'optional'

                },

            valid_bug_owner => {

                enabled => 1

                },

 

            anonymous_scm_username => {

                enabled => 0,

                value => 'anonymous_scm_user'

                },

 

            open_bug_state => {

                enabled => 1

                },

 

            minimum_log_message_size => {

                enabled => 1,

                size => 50

                },

            label_name => {

                enabled => 1,

                names => [

                              '^.+?_RELEASE_[0-9]+-[0-9]+-[0-9]+$',

                              '^.+?_BUILD_[0-9]+_.+$',

                              '^b_.+$',

                              '^p_[a-zA-Z][a-zA-Z]?[a-zA-Z]_.+$'

                              ]

                          },

            valid_product_name => {

                enabled => 1

                },

            product_name_definition => {

                type => 'manual',

                value => 'IT - Help Desk'

                },

            mail_notification => {

                mail_on_success => 0,

                mail_on_failure => 0,

                mail_settings => {

                        To =>
'[EMAIL PROTECTED]',

                        From => 'Scmbug
<[EMAIL PROTECTED]>',

                        Smtp => 'replace_with_mail_server.exampledomain.com'

                },

                mail_on_label => 1,

                mail_recipients => {

                        mail_also_appears_from_scm_user => 1,

                        mail_scm_user => 1,

                        mail_bug_owner => 1,

                        mail_bug_reporter => 1,

                        mail_bug_monitors => 1,

                        mail_product_owners => 1

                        }

            }

    }

};

 

 

Shamir

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

Reply via email to