Skip to content
Permalink
Browse files

Merge pull request #709 from flodolo/venkman

Remove Venkman support
  • Loading branch information
pascalchevrel committed Mar 25, 2016
2 parents 8536b5b + 6d1b93d commit 81e8ece9d865debc84bb21e2f1a93e686ddb1fa1
@@ -151,25 +151,9 @@ public static function hgPath($locale, $repo, $path)
$url .= '/releases/l10n/mozilla-' . $repo . '/' . $locale . '/file/default/';
}
} else {
// Chatzilla and Venkman are in separate repositories
if ($base_folder == 'extensions') {
switch ($exploded_path[1]) {
case 'irc':
$url .= '/chatzilla';
$found_extension = true;
break;
case 'venkman':
$url .= '/venkman';
$found_extension = true;
break;
default:
$found_extension = false;
break;
}

if ($found_extension) {
return "{$url}/file/default/locales/en-US/chrome/{$entity_file}";
}
// ChatZilla is in a separate repository
if ($base_folder == 'extensions' && $exploded_path[1] == 'irc') {
return "{$url}/chatzilla/file/default/locales/en-US/chrome/{$entity_file}";
}

// comm-central folders
@@ -399,7 +399,6 @@ function updateFirefoxiOS() {

# Update repos without branches first (their TMX is created in updateStandardRepo)
updateNoBranchRepo "chatzilla"
updateNoBranchRepo "venkman"

updateStandardRepo "release" "release"
updateStandardRepo "beta" "beta"
@@ -53,18 +53,13 @@ function createSymlinks() {
done
;;

"chatzilla" | "venkman")
# Restructure chatzilla and venkman
"chatzilla" )
# Restructure ChatZilla
for branch in "${branches[@]}"
do
if [ "$1" == "chatzilla" ]
then
# Source repo is called "chatzilla", l10n folder is "irc"
local dir="extensions/irc/locales/en-US"
else
local dir="extensions/$1/locales/en-US"
fi
repo_name="$1/locales/en-US"
# Source repo is called "chatzilla", l10n folder is "irc"
local dir="extensions/irc/locales/en-US"
repo_name="chatzilla/locales/en-US"
path="$local_hg/${branch^^}_EN-US/COMMUN/$dir"
if [ ! -L "$path/en-US" ]
then
@@ -148,10 +143,10 @@ function initDesktopSourceRepo() {
hg clone https://hg.mozilla.org/mozilla-central/
fi

# Checkout chatzilla and venkman only on trunk, since they don't
# have branches. Can add other products to array nobranch_products,
# as long as their code is located in https://hg.mozilla.org/PRODUCT
local nobranch_products=( chatzilla venkman )
# Checkout ChatZilla only on trunk, since they don't have branches.
# Can add other products to array nobranch_products, as long
# as their code is located in https://hg.mozilla.org/PRODUCT
local nobranch_products=( chatzilla )
for product in "${nobranch_products[@]}"
do
if [ ! -d $trunk_source/$product/.hg ]
@@ -294,7 +289,6 @@ initDesktopL10nRepo "aurora"
createSymlinks "mozilla"
createSymlinks "comm"
createSymlinks "chatzilla"
createSymlinks "venkman"

# Set up all Gaia versions
for gaia_version in $(cat ${gaia_versions})
@@ -129,12 +129,6 @@ public function hgFileDP()
'browser/chrome/browser/browser-pocket.properties:maxtaglength',
'https://hg.mozilla.org/releases/mozilla-beta/file/default/browser/locales/en-US/chrome/browser/browser-pocket.properties',
],
[
'en-US',
'beta',
'extensions/venkman/chrome/venkman.dtd:Help.about',
'https://hg.mozilla.org/venkman/file/default/locales/en-US/chrome/venkman.dtd',
],
[
'en-US',
'aurora',

0 comments on commit 81e8ece

Please sign in to comment.
You can’t perform that action at this time.