[commit: ghc] wip/nfs-locking: Shallow clone GHC from Github instead of Haskell.org (c43d07d)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:46:21 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/c43d07d967b7a7876e6a7733a343934d35d0d616/ghc

>---------------------------------------------------------------

commit c43d07d967b7a7876e6a7733a343934d35d0d616
Author: David Luposchainsky <dluposchainsky at gmail.com>
Date:   Sat Jan 9 14:01:33 2016 +0100

    Shallow clone GHC from Github instead of Haskell.org


>---------------------------------------------------------------

c43d07d967b7a7876e6a7733a343934d35d0d616
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 6413818..ca51b6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,7 +39,12 @@ install:
     - alex --version
     - happy --version
 
-    - travis_retry git clone git://git.haskell.org/ghc --recurse-submodules
+    - git config --global url."git://github.com/ghc/packages-".insteadOf     git://github.com/ghc/packages/
+    - git config --global url."http://github.com/ghc/packages-".insteadOf    http://github.com/ghc/packages/
+    - git config --global url."https://github.com/ghc/packages-".insteadOf   https://github.com/ghc/packages/
+    - git config --global url."ssh://git@github.com/ghc/packages-".insteadOf ssh://git@github.com/ghc/packages/
+    - git config --global url."git at github.com:/ghc/packages-".insteadOf      git at github.com:/ghc/packages/
+    - travis_retry git clone https://github.com/ghc/ghc --recurse-submodules --depth 1
 
     # Travis clones the project into ".", but we need it as a child directory
     # of "ghc/". For this reason, we - rather hackily - move the GHC-Shake



More information about the ghc-commits mailing list