ghci: don't let ctags/etags overwrite source files
[ghc.git] / packages
index d27d17a..c621a67 100644 (file)
--- a/packages
+++ b/packages
@@ -1,44 +1,70 @@
-# Note that when adding libraries to this file, you also need to add
+# Despite the name "package", this file contains the master list of
+# the *repositories* that make up GHC. It is parsed by
+# * boot
+# * rules/foreachLibrary.mk
+#
+# Some of this information is duplicated elsewhere in the build system:
+#    See Trac #3896
+# In particular when adding libraries to this file, you also need to add
 # the library to the SUBDIRS variable in libraries/Makefile so that they
 # actually get built
-.                                       ghc                             git
-utils/hsc2hs                            hsc2hs                          darcs
-libraries/array                         packages/array                  darcs
-libraries/base                          packages/base                   darcs
-libraries/base3-compat                  packages/base3-compat           darcs
-libraries/bytestring                    packages/bytestring             darcs
-libraries/Cabal                         packages/Cabal                  darcs
-libraries/containers                    packages/containers             darcs
-libraries/directory                     packages/directory              darcs
-libraries/editline                      packages/editline               darcs
-libraries/filepath                      packages/filepath               darcs
-libraries/ghc-prim                      packages/ghc-prim               darcs
-libraries/haskell98                     packages/haskell98              darcs
-libraries/hpc                           packages/hpc                    darcs
-libraries/integer-gmp                   packages/integer-gmp            darcs
-libraries/old-locale                    packages/old-locale             darcs
-libraries/old-time                      packages/old-time               darcs
-libraries/packedstring                  packages/packedstring           darcs
-libraries/pretty                        packages/pretty                 darcs
-libraries/process                       packages/process                darcs
-libraries/random                        packages/random                 darcs
-libraries/template-haskell              packages/template-haskell       darcs
-libraries/unix                          packages/unix                   darcs
-libraries/Win32                         packages/Win32                  darcs
-libraries/HUnit             extralibs   packages/HUnit                  darcs
-libraries/QuickCheck        extralibs   packages/QuickCheck             darcs
-libraries/haskell-src       extralibs   packages/haskell-src            darcs
-libraries/html              extralibs   packages/html                   darcs
-libraries/mtl               extralibs   packages/mtl                    darcs
-libraries/network           extralibs   packages/network                darcs
-libraries/parsec            extralibs   packages/parsec                 darcs
-libraries/parallel          extralibs   packages/parallel               darcs
-libraries/regex-base        extralibs   packages/regex-base             darcs
-libraries/regex-compat      extralibs   packages/regex-compat           darcs
-libraries/regex-posix       extralibs   packages/regex-posix            darcs
-libraries/stm               extralibs   packages/stm                    darcs
-libraries/time              extralibs   packages/time                   darcs
-libraries/xhtml             extralibs   packages/xhtml                  darcs
-libraries/dph               dph         packages/dph                    darcs
-testsuite                   testsuite   testsuite                       darcs
-nofib                       nofib       nofib                           darcs
+#
+# The repos are of several kinds:
+#    - The main GHC source repo
+#    - Each boot package lives in a repo
+#    - DPH is a repo that contains several packages
+#    - Haddock and hsc2hs are applications, built on top of GHC,
+#        and in turn needed to bootstrap GHC
+#    - ghc-tarballs is need to build GHC
+#    - nofib is an optional helpers
+#
+# The format of the lines in this file is:
+#   localpath  tag  remotepath  upstreamurl
+# where
+#   * 'localpath' is where to put the repository in a checked out tree.
+#   * 'remotepath' is where the repository is in the central repository.
+#     It is - for submodules.
+#   * 'upstreamurl' is the upstream Git repo location for packages
+#     maintained outside of GHC HQ. Repositories which are hosted on
+#     GitHub and GHC developers are granted push-rights for are denoted by
+#     being specified with the `ssh://` scheme. Thus, `https://`
+#     repo urls denote read-only access.
+#   * 'tag', in combination with the variables BUILD_DPH and BUILD_EXTRA_PKGS,
+#     determines which packages are build by default.
+#
+# Lines that start with a '#' are comments.
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# localpath                  tag         remotepath                      upstreamurl
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ghc-tarballs                 windows     ghc-tarballs.git                -
+libffi-tarballs              -           -                               -
+utils/hsc2hs                 -           -                               -
+utils/haddock                -           -                               ssh://git@github.com/haskell/haddock.git
+libraries/array              -           -                               -
+libraries/binary             -           -                               https://github.com/kolmodin/binary.git
+libraries/bytestring         -           -                               https://github.com/haskell/bytestring.git
+libraries/Cabal              -           -                               https://github.com/haskell/cabal.git
+libraries/containers         -           -                               https://github.com/haskell/containers.git
+libraries/deepseq            -           -                               ssh://git@github.com/haskell/deepseq.git
+libraries/directory          -           -                               ssh://git@github.com/haskell/directory.git
+libraries/filepath           -           -                               ssh://git@github.com/haskell/filepath.git
+libraries/haskeline          -           -                               https://github.com/judah/haskeline.git
+libraries/hoopl              -           -                               -
+libraries/hpc                -           -                               -
+libraries/pretty             -           -                               https://github.com/haskell/pretty.git
+libraries/process            -           -                               ssh://git@github.com/haskell/process.git
+libraries/terminfo           -           -                               https://github.com/judah/terminfo.git
+libraries/time               -           -                               https://github.com/haskell/time.git
+libraries/transformers       -           -                               http://git.haskell.org/darcs-mirrors/transformers.git
+libraries/unix               -           -                               ssh://git@github.com/haskell/unix.git
+libraries/Win32              -           -                               https://github.com/haskell/win32.git
+libraries/xhtml              -           -                               https://github.com/haskell/xhtml.git
+nofib                        nofib       -                               -
+libraries/parallel           extra       -                               ssh://git@github.com/haskell/parallel.git
+libraries/stm                extra       -                               -
+libraries/random             dph         -                               https://github.com/haskell/random.git
+libraries/primitive          dph         -                               https://github.com/haskell/primitive.git
+libraries/vector             dph         -                               https://github.com/haskell/vector.git
+libraries/dph                dph         -                               -
+.                            -           ghc.git                         -