sync-all remote set-url broken

Simon Peyton-Jones simonpj at microsoft.com
Fri Mar 1 18:48:12 CET 2013


After an unreasonable amount of thrashing around, I finally discovered what was causing my pain: the set-url bit of sync-all doesn't work.  Look at this.

See the red below.  The sub-modules don't have a ".git" suffix.  The other packages do.

Geoff thinks that the sync-all script has code for deciding whether to add the ".git" or not, but the code was omitted when adding the sub-module stuff.

Result: in subsequent stuff, git looks in a darcs repo, with consequent terribly confusing results.

Ian could you fix please?

Simon

simonpj at cam-05-unx:~/code/HEAD-1$ ./sync-all -r http://darcs.haskell.org remote set-url origin
== ghc-tarballs: running git remote set-url origin http://darcs.haskell.org/ghc-tarballs.git
== utils/hsc2hs: running git remote set-url origin http://darcs.haskell.org/hsc2hs.git
== utils/haddock: running git remote set-url origin http://darcs.haskell.org/haddock.git
== libraries/array: running git remote set-url origin http://darcs.haskell.org/packages/array.git
== libraries/base: running git remote set-url origin http://darcs.haskell.org/packages/base.git
== libraries/binary: running git remote set-url origin http://darcs.haskell.org/libraries/binary
== libraries/bytestring: running git remote set-url origin http://darcs.haskell.org/libraries/bytestring
== libraries/Cabal: running git remote set-url origin http://darcs.haskell.org/libraries/Cabal
== libraries/containers: running git remote set-url origin http://darcs.haskell.org/libraries/containers
== libraries/deepseq: running git remote set-url origin http://darcs.haskell.org/packages/deepseq.git
== libraries/directory: running git remote set-url origin http://darcs.haskell.org/packages/directory.git
== libraries/filepath: running git remote set-url origin http://darcs.haskell.org/packages/filepath.git
== libraries/ghc-prim: running git remote set-url origin http://darcs.haskell.org/packages/ghc-prim.git
== libraries/haskeline: running git remote set-url origin http://darcs.haskell.org/libraries/haskeline
== libraries/haskell98: running git remote set-url origin http://darcs.haskell.org/packages/haskell98.git
== libraries/haskell2010: running git remote set-url origin http://darcs.haskell.org/packages/haskell2010.git
== libraries/hoopl: running git remote set-url origin http://darcs.haskell.org/packages/hoopl.git
== libraries/hpc: running git remote set-url origin http://darcs.haskell.org/packages/hpc.git
== libraries/integer-gmp: running git remote set-url origin http://darcs.haskell.org/packages/integer-gmp.git
== libraries/integer-simple: running git remote set-url origin http://darcs.haskell.org/packages/integer-simple.git
== libraries/old-locale: running git remote set-url origin http://darcs.haskell.org/packages/old-locale.git
== libraries/old-time: running git remote set-url origin http://darcs.haskell.org/packages/old-time.git
== libraries/pretty: running git remote set-url origin http://darcs.haskell.org/libraries/pretty
== libraries/process: running git remote set-url origin http://darcs.haskell.org/packages/process.git
== libraries/template-haskell: running git remote set-url origin http://darcs.haskell.org/packages/template-haskell.git
== libraries/terminfo: running git remote set-url origin http://darcs.haskell.org/libraries/terminfo
== libraries/time: running git remote set-url origin http://darcs.haskell.org/libraries/time
== libraries/transformers: running git remote set-url origin http://darcs.haskell.org/libraries/transformers
== libraries/unix: running git remote set-url origin http://darcs.haskell.org/packages/unix.git
== libraries/Win32: running git remote set-url origin http://darcs.haskell.org/libraries/Win32
== libraries/xhtml: running git remote set-url origin http://darcs.haskell.org/libraries/xhtml
== testsuite repo not present; skipping
== nofib repo not present; skipping
== libraries/parallel repo not present; skipping
== libraries/stm repo not present; skipping
== libraries/random: running git remote set-url origin http://darcs.haskell.org/libraries/random
== libraries/primitive: running git remote set-url origin http://darcs.haskell.org/libraries/primitive
== libraries/vector: running git remote set-url origin http://darcs.haskell.org/libraries/vector
== libraries/dph: running git remote set-url origin http://darcs.haskell.org/packages/dph.git
== running git remote set-url origin http://darcs.haskell.org/ghc.git
== Checking for old haddock repo
== Checking for old binary repo
== Checking for old mtl repo
== Checking for old Cabal repo
== Checking for old time from tarball
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130301/264bfd63/attachment-0001.htm>


More information about the ghc-devs mailing list