Hi all,

I am trying to setup scmbug with svn and bugzilla under an ubuntu 10.04
VM to familiarise my self with it.

I initially just installed the available versions of svn (1.6.6) and
bugzilla
(3.2.5) and the scmbug 0-27-17 debs from files.mkgnu.net

After setting things up I got to the point where I can commit
successfully 
against a bug, but this seems to make some invalid changes to my
bugzilla
Database.

I found a deb of 3.4.5 for debian, and upgraded to it, but this has the
same
problem; As soon as I commit against a bug, if I try to view the bug in
bugzilla then I get an error: undef error - Can't call method 
"votes_per_user" on an undefined value at
usr/share/perl5/Bugzilla/Bug.pm 
line 2745.

What seems to be happening is that a lot of the fields that bugzilla
writes to
the bugs table are getting blanked out - changed to 0 or NULL, rather
than 
left as they were. I am guessing the error occurs because one of these
blanked out fields is not valid.

Fields that are zeroed/nulled that previously had a value:
assigned_to
bug_file_loc
bug_severity
bug_status
short_desc
op_sys
priority
product_id
rep_platform
version
component_id
trget_milestone
status_whiteboard
everconfirmed
reporter_accessable
cclist_accessable

I currently have the buzilla version set to 3.4.5 in daemon.conf, but
setting 
it to 3.2.2, 3.2.0, 3.2.5 made no difference. I am mapping usernames
using
the mapping_values field only, and it seems to be working ok as the 
reporter field in the bugs table is set to the correct user_id

On the glue side I am being a bit more non standard, the repos I
eventually want to set this up for has a whole heap of products setup
like so:

projects/product1/trunk
projects/product1/branches
projects/product1/releases
projects/product2/trunk

etc.

So I have

label_directories => ['releases', 'branches'],
main_trunk_directories => ['trunk'],

And 
product_name_definition => {
        type => 'auto',
        values => {projects/([^/]+)/*.* => $1 }
        },

This last one is like it is and not  {projects/(.+?) => $1 } as
suggested in
the manual as it would include everything after projects/ as the product
name on a checkin of a single file in a project. Eg. Checkin 
projetcs/product1/trunk/test.txt would come up with a product name of 
product1/trunk/test.txt not product1

Is there something obviously wrong with how I am setting up scmbug,
or is this a bug?

Sorry for the verbosity, just trying to give a usefull background :)

Thanks,
Barney

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.


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

Reply via email to