Skip to content

Commit 81e8ece

Browse files
committed
Merge pull request #709 from flodolo/venkman
Remove Venkman support
2 parents 8536b5b + 6d1b93d commit 81e8ece

4 files changed

Lines changed: 12 additions & 41 deletions

File tree

app/classes/Transvision/VersionControl.php

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -151,25 +151,9 @@ public static function hgPath($locale, $repo, $path)
151151
$url .= '/releases/l10n/mozilla-' . $repo . '/' . $locale . '/file/default/';
152152
}
153153
} else {
154-
// Chatzilla and Venkman are in separate repositories
155-
if ($base_folder == 'extensions') {
156-
switch ($exploded_path[1]) {
157-
case 'irc':
158-
$url .= '/chatzilla';
159-
$found_extension = true;
160-
break;
161-
case 'venkman':
162-
$url .= '/venkman';
163-
$found_extension = true;
164-
break;
165-
default:
166-
$found_extension = false;
167-
break;
168-
}
169-
170-
if ($found_extension) {
171-
return "{$url}/file/default/locales/en-US/chrome/{$entity_file}";
172-
}
154+
// ChatZilla is in a separate repository
155+
if ($base_folder == 'extensions' && $exploded_path[1] == 'irc') {
156+
return "{$url}/chatzilla/file/default/locales/en-US/chrome/{$entity_file}";
173157
}
174158

175159
// comm-central folders

app/scripts/glossaire.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ function updateFirefoxiOS() {
399399

400400
# Update repos without branches first (their TMX is created in updateStandardRepo)
401401
updateNoBranchRepo "chatzilla"
402-
updateNoBranchRepo "venkman"
403402

404403
updateStandardRepo "release" "release"
405404
updateStandardRepo "beta" "beta"

app/scripts/setup.sh

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,13 @@ function createSymlinks() {
5353
done
5454
;;
5555

56-
"chatzilla" | "venkman")
57-
# Restructure chatzilla and venkman
56+
"chatzilla" )
57+
# Restructure ChatZilla
5858
for branch in "${branches[@]}"
5959
do
60-
if [ "$1" == "chatzilla" ]
61-
then
62-
# Source repo is called "chatzilla", l10n folder is "irc"
63-
local dir="extensions/irc/locales/en-US"
64-
else
65-
local dir="extensions/$1/locales/en-US"
66-
fi
67-
repo_name="$1/locales/en-US"
60+
# Source repo is called "chatzilla", l10n folder is "irc"
61+
local dir="extensions/irc/locales/en-US"
62+
repo_name="chatzilla/locales/en-US"
6863
path="$local_hg/${branch^^}_EN-US/COMMUN/$dir"
6964
if [ ! -L "$path/en-US" ]
7065
then
@@ -148,10 +143,10 @@ function initDesktopSourceRepo() {
148143
hg clone https://hg.mozilla.org/mozilla-central/
149144
fi
150145

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

299293
# Set up all Gaia versions
300294
for gaia_version in $(cat ${gaia_versions})

tests/units/Transvision/VersionControl.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@ public function hgFileDP()
129129
'browser/chrome/browser/browser-pocket.properties:maxtaglength',
130130
'https://hg.mozilla.org/releases/mozilla-beta/file/default/browser/locales/en-US/chrome/browser/browser-pocket.properties',
131131
],
132-
[
133-
'en-US',
134-
'beta',
135-
'extensions/venkman/chrome/venkman.dtd:Help.about',
136-
'https://hg.mozilla.org/venkman/file/default/locales/en-US/chrome/venkman.dtd',
137-
],
138132
[
139133
'en-US',
140134
'aurora',

0 commit comments

Comments
 (0)