← Back to team overview

yellow team mailing list archive

[Merge] lp:~frankban/lpsetup/lang-c into lp:lpsetup

 

Francesco Banconi has proposed merging lp:~frankban/lpsetup/lang-c into lp:lpsetup.

Requested reviews:
  Launchpad Yellow Squad (yellow)

For more details, see:
https://code.launchpad.net/~frankban/lpsetup/lang-c/+merge/97895

The env var LANG=C is set during the installation of launchpad developer packages.
This way we can avoid installing language-pack-en

-- 
https://code.launchpad.net/~frankban/lpsetup/lang-c/+merge/97895
Your team Launchpad Yellow Squad is requested to review the proposed merge of lp:~frankban/lpsetup/lang-c into lp:lpsetup.
=== modified file 'lpsetup/settings.py'
--- lpsetup/settings.py	2012-03-09 10:14:32 +0000
+++ lpsetup/settings.py	2012-03-16 15:10:04 +0000
@@ -12,7 +12,7 @@
     'ppa:launchpad/ppa',
     'ppa:bzr/ppa',
     )
-BASE_PACKAGES = ['ssh', 'bzr', 'language-pack-en']
+BASE_PACKAGES = ['ssh', 'bzr']
 CHECKOUT_DIR = '~/launchpad/branches'
 DEPENDENCIES_DIR = '~/launchpad/dependencies'
 DHCP_FILE = '/etc/dhcp/dhclient.conf'
@@ -47,7 +47,7 @@
     )
 LP_CHECKOUT = 'devel'
 LP_PACKAGES = [
-    'bzr', 'launchpad-developer-dependencies', 'apache2',
+    'launchpad-developer-dependencies', 'apache2',
     'apache2-mpm-worker', 'libapache2-mod-wsgi'
     ]
 LP_REPOS = (

=== modified file 'lpsetup/subcommands/install.py'
--- lpsetup/subcommands/install.py	2012-03-09 17:57:02 +0000
+++ lpsetup/subcommands/install.py	2012-03-16 15:10:04 +0000
@@ -185,7 +185,7 @@
         call("echo 'mountall hold' | dpkg --set-selections", shell=True)
     call('apt-get', 'update')
     # Install base and Launchpad deb packages.
-    apt_get_install(*LP_PACKAGES)
+    apt_get_install(*LP_PACKAGES, LANG='C')
 
 
 def setup_launchpad(user, dependencies_dir, directory, valid_ssh_keys):