Thanks! 

 

This one was set and I am encountering a new error:

 

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: Scmbug notice: Checking configuration  

Error: Scmbug notice: Preparing for verification  

Error: Repository argument required  

Error: Type 'svnlook help' for usage.  

Error: Repository argument required  

Error: Type 'svnlook help' for usage.  

Error: Can't use an undefined value as a HASH reference at
//s-svn/svn/svnrepo/hooks/lib/scmbug/Scmbug/Glue/Subversion.pm line 482.  

 

any ideas?

 

T

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tsahi Asher
Sent: Tuesday, February 12, 2008 11:51 AM
To: scmbug-users
Subject: Fw: [scmbug-users] Urgent configuration problem

 

That's because you have a syntax error at line 24, near

# This applies only to Subversion. It is recommended that tags 
 # are stored in the 'tags' directory, and branches in the  

 # 'branches' directory.  

  label_directories"  


If you will look carefully, you will notice that there is a messing comma at
the end of the binary_paths line just above it.
also, your binary_paths variable should include the path to diff, which you
can get from the GnuWin32 project.

Tsahi

--
The day Micro$oft sells something that doesn't SUCK
is the day they start selling vacuum cleaners.
http://www.geocities.com/tsahi_75

 

----- Original Message ----
From: Shamir Snir <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 12, 2008 11:36:00 AM
Subject: [scmbug-users] Urgent configuration problem

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



-----Inline Attachment Follows-----

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

 

 

  _____  

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.
<http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H
DtDypao8Wcj9tAcJ%20> 

 

 

  _____  

Looking for last minute shopping deals? Find
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/ca
tegory.php?category=shopping>  them fast with Yahoo! Search.

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

Reply via email to