Changes between Version 90 and Version 91 of Building/GettingTheSources


Ignore:
Timestamp:
Aug 10, 2013 11:23:03 AM (8 months ago)
Author:
hvr
Comment:

normalize git URLs; promote git:// url (see GitolitePlan) and tell about http:// fallback.

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v90 v91  
    2424 
    2525{{{ 
    26 git config --global core.autocrlf false 
     26$ git config --global core.autocrlf false 
    2727}}} 
    2828 
     
    3030 
    3131{{{ 
    32   $ git clone http://darcs.haskell.org/ghc.git/ 
     32  $ git clone git://darcs.haskell.org/ghc.git 
    3333  $ cd ghc 
    34   $ ./sync-all --testsuite get 
     34  $ ./sync-all -r git://darcs.haskell.org --testsuite get 
    3535}}} 
     36 
     37Note: If you're behind a **firewall blocking port 9418** (or `git clone git://...` fails for some other reason), replace `git://` by `http://` in the instructions above. 
    3638 
    3739If you have commit access then you will need to also set the push URL: 
    3840{{{ 
    39   $ ./sync-all -r darcs.haskell.org:/srv/darcs/ remote set-url --push origin 
     41  $ ./sync-all -r ssh://git@darcs.haskell.org remote set-url --push origin 
    4042}}} 
     43 
     44This uses the `ssh://` protocol (which has much higher latency due to the SSH handshake occurring for each connect) only for `git push` operations, and the very fast unauthenticated `git://` protocol for everything else. 
    4145 
    4246You will probably also want to run 
     
    5761 
    5862{{{ 
    59   $ ./sync-all -r http://darcs.haskell.org/ remote set-url origin 
     63  $ ./sync-all -r git://darcs.haskell.org remote set-url origin 
    6064}}} 
    6165 
     
    6872To get one, run 
    6973{{{ 
    70   $ git clone -b branch-name http://darcs.haskell.org/ghc.git/ 
     74  $ git clone -b branch-name http://darcs.haskell.org/ghc.git 
    7175  $ cd ghc 
    7276  $ ./sync-all --testsuite get -b branch-name 
     
    8185{{{ 
    8286  $ export VERSION=7.6.1 
    83   $ git clone http://darcs.haskell.org/ghc.git/ 
     87  $ git clone http://darcs.haskell.org/ghc.git 
    8488  $ cd ghc 
    8589  $ git checkout -b ghc-${VERSION} ghc-${VERSION}-release 
    86   $ ./sync-all --no-dph get 
     90  $ ./sync-all -r http://darcs.haskell.org/ghc.git --no-dph get 
    8791  $ ./sync-all checkout -b ghc-${VERSION} ghc-${VERSION}-release 
    8892}}} 
     
    9498  $ git clone <your preferred github.com GHC fork URL> ghc 
    9599  $ cd ghc 
    96   $ ./sync-all -r http://darcs.haskell.org/ get 
     100  $ ./sync-all -r git://darcs.haskell.org get 
    97101}}} 
    98102