Commit cc4e58b6 authored by Simon Marlow's avatar Simon Marlow
Browse files

divide packages into "core" and "extra" packages

The following packages are now "core" packages:

  base, Cabal, haskell98, readline, regex-base, regex-compat
  regex-posix, stm, template-haskell, unix, Win32

Core packages are those packages required to bootstrap GHC, or are
closely tied to GHC (stm, template-haskell).  These are the packages
that will be provided in a source distribution from now on.

All other packages are classified as "extra" packages.  As far as
binary distributions and nightly builds go, nothing will change -
we'll still build and include all these packages in the distributions.

NOTE: 'sh darcs-all get' will now get the core packages only.  To get
the extra packages too, use 'sh darcs-all --extra get'.
parent 506299fe
......@@ -28,7 +28,7 @@ darcsall()
message "== $dir not present or not a repository; skipping"
fi
done
for pkg in `cat libraries/default-packages`; do
for pkg in `cat libraries/core-packages libraries/extra-packages`; do
if test -d libraries/$pkg; then
message "== running darcs $* in libraries/$pkg"
darcs $* --repodir libraries/$pkg
......@@ -52,7 +52,14 @@ darcsget()
esac
cd libraries
for pkg in `cat default-packages`; do
if test "$extra" = "YES"; then
packages=`cat core-packages extra-packages`
else
packages=`cat core-packages`
fi
for pkg in $packages; do
if test -d $pkg; then
echo "warning: $pkg already present; omitting"
else
......@@ -72,6 +79,13 @@ case $* in
*-q*) quiet=YES;;
esac
# --extra says we grab the extra libs with 'get'. It has no effect on
# the other commands.
extra=NO;
case $1 in
--extra) shift; extra=YES;
esac
case $1 in
get) shift; darcsget $*;;
# Hack around whatsnew failing if there are no changes
......
base
Cabal
haskell98
readline
regex-base
regex-compat
regex-posix
stm
template-haskell
unix
Win32
Cabal
ALUT
GLUT
HGL
......@@ -9,25 +8,15 @@ ObjectIO
OpenAL
OpenGL
QuickCheck
Win32
X11
arrows
base
cgi
fgl
haskell-src
haskell98
html
monads
mtl
network
parsec
readline
regex-base
regex-posix
regex-compat
stm
template-haskell
time
unix
xhtml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment