Hi Lefteri, On Sun, 2009-02-22 at 23:44 +0200, Lefteris Kororos wrote:
> I have started looking into it a bit and I have found that there is a > number of changes in Bugzilla 3.2 that will make scmbug stop working. > One to mention is that globals.pl has disappeared: > > http://www.bugzilla.org/releases/3.0/release-notes.html#v30_code_globals Bugzilla 3.0, which is already supported by Scmbug, does not use globals.pl. globals.pl should not be an issue for 3.2. > In addition to this, I am thinking of using the new XML-RPC interace > that Bugzilla offers. I understand that there will be additions needed > in this interface in order to support all the required "integration" > functions for scmbug. That's an endeavor! I would love to merge this. If, of course, the Bugzilla people are also willing to merge the addition to XML-RPC, and the changes to the integration_* functions (e.g. integration_get_vdd) as, or if, those change in the future. > Having read through Bugzilla bug 224577 > > https://bugzilla.mozilla.org/show_bug.cgi?id=224577 > > I understand that Kirstis has already looked in the usage of the > XML-RPC code. I have tried out the provided webservices from Bugzilla > and they seem to work ok. > > If I understand correctly, one of the major issues is that a bug must > be updated in bugzilla using the id of the user making the change in > SVN (or any other version control). scmbug used to use globals.pl to > get the credentials of the user in bugzilla in order to update the > bugs with the user's id. Can someone please confirm that this is the > problem and then we can try to find a resolution. This is not a problem. Look at the current way of dealing with this for Bugzilla 3.0 in the Scmbug Bugzilla.pm.in backend. e.g. look at integration_add_comment(). The gist of it is: my $userid = Bugzilla::User::login_to_id( $username ); I would say it should be simpler to make minor extension to the current Bugzilla 3.0 Scmbug support to support Bugzilla 3.2, compared to add the XML-RPC approach. But I would certainly welcome the XML-RPC work.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
