This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
# See https://bugzilla.mozilla.org/show_bug.cgi?id=793784 | |
use strict; | |
use warnings; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# expects logs rsync'ed into a raw/ sub-directory (ie. raw/pp-app-bugs01, raw/pp-app-bugs02/, ..) | |
# generates logs in a logs/ sub-directory | |
use strict; | |
use warnings; | |
use autodie; | |
use FindBin qw($Bin); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
use strict; | |
use warnings; | |
use HTTP::Cookies; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
my $syntax = <<EOF; | |
syntax: perlwhich [-v] <package> | |
displays the file where <package> is implemented | |
-v shows the version of any packages found | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function show_bug_info(bug_id) { | |
var params = [{ | |
"ids": [ bug_id ] | |
}]; | |
var request = { | |
"method": "Bug.get", | |
"params": JSON.stringify(params) | |
}; | |
$.ajax({ | |
"contentType": "application/json", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use autodie; | |
use lib '/opt/bugzilla/bz'; | |
use BugzillaDev; | |
chdir('/opt/bugzilla/repo/bmo/4.2'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
use strict; | |
use warnings; | |
use HTTP::Cookies; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
# See https://bugzilla.mozilla.org/show_bug.cgi?id=793784 | |
use strict; | |
use warnings; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pushd `dirname $0` >/dev/null | |
if [ "$1" == "" ]; then | |
echo "syntax: $0 {url to technicpack jar}" | |
echo "eg. $0 http://launcher.technicpack.net/launcher/415/TechnicLauncher.jar" | |
exit | |
fi | |
if [ -e techniclauncher.app ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# very rough proof-of-concept for integration of markdown into bugzilla | |
# glob@mozilla.com | |
use strict; | |
use warnings; | |
use Bugzilla; | |
use Bugzilla::Bug; |
OlderNewer