Skip to content

Commit

Permalink
Merge pull request #709 from flodolo/venkman
Browse files Browse the repository at this point in the history
Remove Venkman support
  • Loading branch information
pascalchevrel committed Mar 25, 2016
2 parents 8536b5b + 6d1b93d commit 81e8ece
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 41 deletions.
22 changes: 3 additions & 19 deletions app/classes/Transvision/VersionControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion app/scripts/glossaire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
24 changes: 9 additions & 15 deletions app/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ]
Expand Down Expand Up @@ -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})
Expand Down
6 changes: 0 additions & 6 deletions tests/units/Transvision/VersionControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 81e8ece

Please sign in to comment.