From b758be1d37cb49ced8cb17fca3d5a4cb2dd2e03e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 6 Jul 2015 19:21:04 +0000 Subject: Bug 1172968: Move the scripts we want to keep from contrib/* and place them in scripts/ directory. Remove contrib from repo --- contrib/issue-api-key.pl | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 contrib/issue-api-key.pl (limited to 'contrib/issue-api-key.pl') diff --git a/contrib/issue-api-key.pl b/contrib/issue-api-key.pl deleted file mode 100755 index fe24f59df..000000000 --- a/contrib/issue-api-key.pl +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/perl -w -use strict; -use feature 'say'; - -use FindBin qw( $RealBin ); -use lib "$RealBin/.."; -use lib "$RealBin/../lib"; - -use Bugzilla; -use Bugzilla::Constants; -use Bugzilla::User; -use Bugzilla::User::APIKey; - -Bugzilla->usage_mode(USAGE_MODE_CMDLINE); - -my $login = shift - or die "syntax: $0 bugzilla-login [description]\n"; -my $description = shift; - -my $user = Bugzilla::User->check({ name => $login }); -my $api_key = Bugzilla::User::APIKey->create({ - user_id => $user->id, - description => $description, -}); -say $api_key->api_key; -- cgit v1.2.3-24-g4f1b