Hi John, Please send all communication in the mailing list.
Thanks for contributing this work. Could you please submit patches
instead of writing in the email the source changes or sending the final
modified file ? Also please report which version of Scmbug the patch was
created against.
Thanks again. The support for Bugzilla 2.3 is very much in demand.
Kristis
On Wed, 2009-06-24 at 10:35 +0200, Wentink, John wrote:
> Hello Kristis,
>
>
>
> You’ll likely get lots of these updates, but I’ve modified the ScmBug
> Bugzilla.pm module for our (project) installation to make it work with
> Bugzilla 3.2.3
>
> Maybe you’ll find it useful. My perl skils aren’t really good so some
> improvements might be needed.
>
>
>
> I’ve added/changed the following lines:
>
> 20 use lib "/var/www/html/bugzilla";
>
> 26 use Bugzilla::Constants qw(USAGE_MODE_EMAIL);
>
>
>
> 513 # added/modified by John Wentink
>
> 514 # bugzilla 3.2 processing
>
> 515 Bugzilla->usage_mode(USAGE_MODE_EMAIL);
>
> 516 my $userid = Bugzilla::User->new({ name => $username }) ||
> ThrowUserError('invalid_username', { name => $username });
>
> 517 Bugzilla->set_user($userid);
>
> 518 my $current_bug = new Bugzilla::Bug($bugid);
>
> 519 $current_bug->add_comment($comment);
>
> 520 $current_bug->update();
>
> 521 return 0;
>
> 522 # end of modification
>
>
>
> Regards,
>
>
>
> John Wentink
> Consultant
>
> _________________________________________
>
> Logica - Releasing your potential
>
> Eemsgolaan 1
> 9727 DW Groningen
> the Netherlands
> T: +31 (0) 50 5219 500
> E: [email protected]
> www.logica.com
>
> Logica Nederland B.V.
> Registered office in Amstelveen, The Netherlands
> Registration Number Chamber of Commerce: 33136004
>
>
>
>
>
> Please help Logica to respect the environment by not printing this
> email / Pour contribuer comme Logica au respect de l'environnement,
> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
> nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen / Por
> favor ajude a Logica a respeitar o ambiente no imprimindo este correio
> electrnico. This e-mail and any attachment is for authorised use by
> the intended recipient(s) only. It may contain proprietary material,
> confidential information and/or be subject to legal privilege. It
> should not be copied, disclosed to, retained or used by, any other
> party. If you are not an intended recipient then please promptly
> delete this e-mail and any attachment and all copies and inform the
> sender. Thank you.
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
