Hi Max,

Now that I have VCI installed I've had a little play with it.

I have used code that is similar to:

    use VCI;
    my $repository = VCI->connect(type => "Svn", repo =>
$svn_repository);
    my $project = $repository->root_project;
    
    if( defined $project ) {
         print "\n<BR>Looking for rev\n" . $rev;
         my $commit = $project->get_commit(revision => $rev);
         if( defined $commit ) {
            print "\n<BR> commit defined\n";
            print $commit->message;
         }
    }

If I switch all security off of the repository it will work well.

However with our security on the $commit object will be undefined, and
we get an error in the log like:

[Tue Mar 04 16:01:51 2008] [error] [client 10.100.83.101] Authorization
failed: PROPFIND request failed on '/svn/coderepo/trunk': PROPFIND of
'/svn/coderepo/trunk': authorization failed
(http://uk-robh-vm1.emea.tibco.com) at
C:/Perl/site/lib/VCI/VCS/Svn/Project.pm line 81, referer:
http://uk-robh-vm1.emea.tibco.com/scmbug/bug_report.html

I know this machine has the user credentials running this command
cached; I assume it is not picking that up either at the moment.

I think I saw some comment about security may not be supported but can't
recall where?  If this is a security issue, do you have any idea when
this will be able to be addressed, as I think it will be required before
Scmbug could adopt the use of VCI?

Thanks

Rob


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

Reply via email to