[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups

Michael Scherer bugzilla-daemon at mageia.org
Wed Apr 20 01:11:57 CEST 2011


--- Comment #7 from Michael Scherer <misc at zarb.org> 2011-04-20 01:11:57 UTC ---
In fact, we could even make sure that users in identity are created in bz with
such script.

This way we would solve the issue of packagers hat never connected to bugzilla.

Here is a quick script to get information from bugzilla : 
# cat test.pl 
use lib "/usr/share/bugzilla/lib/";
use Bugzilla;
use Bugzilla::User;
my $user = new Bugzilla::User( Bugzilla::User::login_to_id($ARGV[0]));
print "Id : ". $user->id . "\n";
print "Name : " . $user->name . "\n";

I guess this should demonstrate how to do the rest for a volunteer perl coder.

Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Mageia-webteam mailing list