
On 2014-06-28 at 07:48:16 +0200, Manuel M T Chakravarty wrote:
I noticed that the Cabal package doesn’t have a branch for ghc-7.8:
http://git.haskell.org/packages/Cabal.git
Is that intended?
A ghc-7.8 branch is not really needed, as Cabal is registered as submodule in ghc.git's ghc-7.8 branch. It's just sync-all that
Maybe as a result the instructions at
https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources
to check out a branch from the *GitHub mirror repos* doesn’t work either.
For cloning via the GitHub-mirror[1] I'd recommend using the scheme as described in [2]. That is, set up url-rewrites (that take also into account the 'packages/foo' -> 'packages-foo' rewriting): git config --global url."git://github.com/ghc/".insteadOf git://git.haskell.org/ git config --global url."git://github.com/ghc/packages-".insteadOf git://git.haskell.org/packages/ and then clone as if you would from git://git.haskell.org git clone -b ghc-7.8 git://git.haskell.org/ghc.git ghc-7.8 cd ghc-7.8 ./sync-all get -b ghc-7.8 all network access will be redirected to github.com instead. [1]: Btw, why do you want to use the github mirror instead of git://git.haskell.org? [2]: https://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/Git/Submodules#Usin...