summaryrefslogtreecommitdiffstats
path: root/init-repository
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-06-21 08:37:30 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-06-21 08:44:31 +0200
commitd8b73a8ba0f61cb12d74ee28ceccb5710674d70d (patch)
treebc94202f63cf0eead4c4f940db78371fcf19e8f1 /init-repository
parent680b0afee5914df6c2fb9c8365d1d8a0151f3489 (diff)
Add --berlin to set up WebKit mirror accordingly.
Initial-patch-by: danimo <daniel.molkentin@nokia.com>
Diffstat (limited to 'init-repository')
-rwxr-xr-xinit-repository19
1 files changed, 19 insertions, 0 deletions
diff --git a/init-repository b/init-repository
index 819e042d..15dc26d9 100755
--- a/init-repository
+++ b/init-repository
@@ -120,6 +120,11 @@ Switch to internal Nokia URLs.
Switch to internal Nokia URLs and make use of the Brisbane git mirrors.
(Implies `--mirror' and `--mirror-webkit').
+=item --berlin
+
+Switch to internal Nokia URLs and make use of the Berlin git mirrors.
+(Implies `--mirror' and `--mirror-webkit').
+
=item --ssh
@@ -231,6 +236,13 @@ my $BNE_MIRROR_URL_BASE
my $BNE_MIRROR_WEBKIT_URL
= 'git://bq-git.apac.nokia.com/qtsoftware/research/gitorious-org-webkit-qtwebkit-mirror.git';
+my $BER_MIRROR_URL_BASE
+ = 'git://ber-git.europe.nokia.com/qt/';
+
+my $BER_MIRROR_WEBKIT_URL
+ = 'git://ber-git.europe.nokia.com/qtwebkit/qtwebkit.git';
+
+
sub new
{
my ($class, @arguments) = @_;
@@ -301,6 +313,13 @@ sub parse_arguments
$self->{'ignore-submodules'} = 1;
},
+ 'berlin|berlin-nokia-developer' => sub {
+ $self->{'nokia-developer'} = 1;
+ $self->{'protocol'} = 'internal';
+ $self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
+ $self->{'mirror-webkit-url'} = $BER_MIRROR_WEBKIT_URL;
+ },
+
'nokia-developer' => sub {
$self->{'nokia-developer'} = 1;
$self->{'protocol'} = 'internal';