On 02/02/2011 12:15, Max Bolingbroke wrote:
Hi,

I tried to checkout a Git repo for GHC today according to the
instructions on
http://hackage.haskell.org/trac/ghc/wiki/DarcsConversion/Building/GettingTheSources.

Those instructions are from the last conversion, but fortunately they aren't too wrong.

Unfortunately, it fails at sync-all get with this error:

"""
$ ./sync-all get
warning: adding --partial, to override use --complete
== running git clone http://darcs.haskell.org/ghc-tarballs.git ghc-tarballs
Cloning into ghc-tarballs...
fatal: http://darcs.haskell.org/ghc-tarballs.git/info/refs not found:
did you run git update-server-info on the server?
git failed: 32768 at ./sync-all line 122.
"""

Yes, you need a couple of local modifications. Change "packages.git" to "packages" in sync-all, and in the file packages, change the repo name for "ghc" to "ghc.git".

It looks like the script should actually be downloading ghc-tarballs
from http://darcs.haskell.org/ghc-git/, not http://darcs.haskell.org/.

I have verified that cloning the initial repository from
http://darcs.haskell.org/ghc-git/ghc.git/ instead means that the
sync-all script does the Right Thing.

That was the previous experiment where I converted all the repos to git. The current plan is to convert ghc only first of all, and convert the rest shortly afterwards.

If this isn't meant to work yet, a note should probably be added to
the Wiki page to that effect. If it is meant to work, it looks like
something needs to be fixed: perhaps move/symlink to those repos out
of the ghc-git subdirectory?

I'll push something shortly to get this working again.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to