Make all submodules have absolute URLs
authorArtem Pelenitsyn <a.pelenitsyn@gmail.com>
Sat, 22 Jun 2019 07:40:00 +0000 (07:40 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Fri, 5 Jul 2019 11:06:55 +0000 (07:06 -0400)
The relative URLs were a workaround to let most contributors fork from
Github due to a weakness in the haskell.org server.

This workaround is no longer needed. And relative submodule URLs are
an impediment to forking which makes contributions harder than they
should be.

The URLs are chosen to clone from https, because this makes sure that
anybody, even not a registered Gitlab user, can clone a fork
recursively.

.gitmodules

index 4de91b6..89a9fbc 100644 (file)
 [submodule "libraries/binary"]
        path = libraries/binary
-       url = ../packages/binary.git
+       url = https://gitlab.haskell.org/ghc/packages/binary.git
        ignore = untracked
 [submodule "libraries/bytestring"]
        path = libraries/bytestring
-       url = ../packages/bytestring.git
+       url = https://gitlab.haskell.org/ghc/packages/bytestring.git
        ignore = untracked
 [submodule "libraries/Cabal"]
        path = libraries/Cabal
-       url = ../packages/Cabal.git
+       url = https://gitlab.haskell.org/ghc/packages/Cabal.git
        ignore = untracked
 [submodule "libraries/containers"]
        path = libraries/containers
-       url = ../packages/containers.git
+       url = https://gitlab.haskell.org/ghc/packages/containers.git
        ignore = untracked
 [submodule "libraries/haskeline"]
        path = libraries/haskeline
-       url = ../packages/haskeline.git
+       url = https://gitlab.haskell.org/ghc/packages/haskeline.git
        ignore = untracked
 [submodule "libraries/pretty"]
        path = libraries/pretty
-       url = ../packages/pretty.git
+       url = https://gitlab.haskell.org/ghc/packages/pretty.git
        ignore = untracked
 [submodule "libraries/terminfo"]
        path = libraries/terminfo
-       url = ../packages/terminfo.git
+       url = https://gitlab.haskell.org/ghc/packages/terminfo.git
        ignore = untracked
 [submodule "libraries/transformers"]
        path = libraries/transformers
-       url = ../packages/transformers.git
+       url = https://gitlab.haskell.org/ghc/packages/transformers.git
        ignore = untracked
 [submodule "libraries/xhtml"]
        path = libraries/xhtml
-       url = ../packages/xhtml.git
+       url = https://gitlab.haskell.org/ghc/packages/xhtml.git
        ignore = untracked
 [submodule "libraries/Win32"]
        path = libraries/Win32
-       url = ../packages/Win32.git
+       url = https://gitlab.haskell.org/ghc/packages/Win32.git
        ignore = untracked
 [submodule "libraries/time"]
        path = libraries/time
-       url = ../packages/time.git
+       url = https://gitlab.haskell.org/ghc/packages/time.git
        ignore = untracked
 [submodule "libraries/array"]
        path = libraries/array
-       url = ../packages/array.git
+       url = https://gitlab.haskell.org/ghc/packages/array.git
        ignore = untracked
 [submodule "libraries/deepseq"]
        path = libraries/deepseq
-       url = ../packages/deepseq.git
+       url = https://gitlab.haskell.org/ghc/packages/deepseq.git
        ignore = untracked
 [submodule "libraries/directory"]
        path = libraries/directory
-       url = ../packages/directory.git
+       url = https://gitlab.haskell.org/ghc/packages/directory.git
        ignore = untracked
 [submodule "libraries/filepath"]
        path = libraries/filepath
-       url = ../packages/filepath.git
+       url = https://gitlab.haskell.org/ghc/packages/filepath.git
        ignore = untracked
 [submodule "libraries/hpc"]
        path = libraries/hpc
-       url = ../packages/hpc.git
+       url = https://gitlab.haskell.org/ghc/packages/hpc.git
        ignore = untracked
 [submodule "libraries/parsec"]
        path = libraries/parsec
-       url = ../packages/parsec.git
+       url = https://gitlab.haskell.org/ghc/packages/parsec.git
        ignore = untracked
 [submodule "libraries/text"]
        path = libraries/text
-       url = ../packages/text.git
+       url = https://gitlab.haskell.org/ghc/packages/text.git
        ignore = untracked
 [submodule "libraries/mtl"]
        path = libraries/mtl
-       url = ../packages/mtl.git
+       url = https://gitlab.haskell.org/ghc/packages/mtl.git
        ignore = untracked
 [submodule "libraries/process"]
        path = libraries/process
-       url = ../packages/process.git
+       url = https://gitlab.haskell.org/ghc/packages/process.git
        ignore = untracked
 [submodule "libraries/unix"]
        path = libraries/unix
-       url = ../packages/unix.git
+       url = https://gitlab.haskell.org/ghc/packages/unix.git
        ignore = untracked
        branch = 2.7
 [submodule "libraries/stm"]
        path = libraries/stm
-       url = ../packages/stm.git
+       url = https://gitlab.haskell.org/ghc/packages/stm.git
        ignore = untracked
 [submodule "utils/haddock"]
        path = utils/haddock
-       url = ../haddock.git
+       url = https://github.com/haskell/haddock.git
        ignore = untracked
        branch = ghc-head
 [submodule "nofib"]
        path = nofib
-       url = ../nofib.git
+       url = https://gitlab.haskell.org/ghc/nofib.git
        ignore = untracked
 [submodule "utils/hsc2hs"]
        path = utils/hsc2hs
-       url = ../hsc2hs.git
+       url = https://gitlab.haskell.org/ghc/hsc2hs.git
        ignore = untracked
 [submodule "libffi-tarballs"]
        path = libffi-tarballs
-       url = ../libffi-tarballs.git
+       url = https://gitlab.haskell.org/ghc/libffi-tarballs.git
        ignore = untracked
 [submodule "gmp-tarballs"]
        path = libraries/integer-gmp/gmp/gmp-tarballs
-       url = ../gmp-tarballs.git
+       url = https://gitlab.haskell.org/ghc/gmp-tarballs.git