Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit 4995020

Browse files
author
Gershom
committed
finishing touches for 8.0.1
1 parent ebf921e commit 4995020

File tree

4 files changed

+50
-11
lines changed

4 files changed

+50
-11
lines changed

hptool/src/ReleaseFiles.hs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,22 @@ currentFiles : priorFiles = releaseFiles
6969

7070
releaseFiles :: [ReleaseFiles]
7171
releaseFiles =
72-
[ ("7.10.3", dec 2015,
72+
[
73+
74+
("8.0.1", may 2016,
75+
[ lin False x86_64 "download/8.0.1/haskell-platform-8.0.1-unknown-posix--minimal-x86_64.tar.gz" $ sha256 "adec8e8f2e2440d7f506f1cb9aaf20496cd443660e55c0d588f28a0119171f8a"
76+
, lin True x86_64 "download/8.0.1/haskell-platform-8.0.1-unknown-posix--full-x86_64.tar.gz" $ sha256 "d747aaa51eb20a7c8b4de93fa2a0d07c3b54fc5f36bf50fcede1a332812656f7"
77+
, lin False i386 "download/8.0.1/haskell-platform-8.0.1-unknown-posix--minimal-i386.tar.gz" $ sha256 "1476ec7fda53654fe97118ded44333b091160fc5f4588c2ad7a0f8145c254d14"
78+
, lin True i386 "download/8.0.1/haskell-platform-8.0.1-unknown-posix--full-i386.tar.gz" $ sha256 "4643123f51401489d99302c150dc763f1d92614c428b921257b375f3895f7a79"
79+
, mac False x86_64 "download/8.0.1/Haskell%20Platform%208.0.1%20Minimal%2064bit-signed.pkg" $ sha256 "2abc58b2bbdd8df17769e69ebec3507987f31c2cb3e49f0224c74af85a3d4960"
80+
, mac True x86_64 "download/8.0.1/Haskell%20Platform%208.0.1%20Full%2064bit-signed.pkg " $ sha256 "3ad7ea7afa5ddb9d58db7e05d1e650f30cb7982067dd1fac75b62c5b071fda4d"
81+
, win False i386 "download/8.0.1/HaskellPlatform-8.0.1-minimal-i386-setup.exe" $ sha256 "6755ede367b70a2f714cd014a0eed096f9ccff6fd036c21d4d1e9b7f8f922a07"
82+
, win True i386 "download/8.0.1/HaskellPlatform-8.0.1-full-i386-setup.exe" $ sha256 "88a01bfa5b94f4c6f4d9959fc1b711acb944799b6090a1d8004a0f42f320ee9b"
83+
, win False x86_64 "download/8.0.1/HaskellPlatform-8.0.1-minimal-x86_64-setup.exe" $ sha256 "8115610a1042c744e1e652b0db97f8d127b5527aef1dc1b1674d80b0d8575c7e"
84+
, win True x86_64 "download/8.0.1/HaskellPlatform-8.0.1-full-x86_64-setup.exe" $ sha256 "0a22f668e6c03077c8f3605846f3e0c5eea4e12e0cc0595ddf7bc0494cf65200"
85+
, src True "download/8.0.1/haskell-platform-8.0.1.tar.gz" $ sha256 "1b07f6cbb77ee722af2865c11ed16444663b75e6562c7cc1a9bb6dc06891a0e0"
86+
])
87+
, ("7.10.3", dec 2015,
7388
[ lin True x86_64 "download/7.10.3/haskell-platform-7.10.3-unknown-posix-x86_64.tar.gz" $ sha256 "d7dcc6bd7f1ce5b1d4ca59fc0549246ba0c40f73e5ff917ae2ae2753ea758d81"
7489
, mac True x86_64 "download/7.10.3/Haskell%20Platform%207.10.3%2064bit.pkg" $ sha256 "b0bdfd06cd827f610aa3a60a99787bda652ad88023ddcbf7a73caed8934f4427"
7590
, win True i386 "download/7.10.3/HaskellPlatform-7.10.3-i386-setup.exe" $ sha256 "bcd433ac6518a9fdc53b55021f41fa73b3ce710333dffcfed80182befbc5976e"

hptool/src/Releases2016.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ hp_8_0_1 =
5050

5151
, incTool "hscolour" "1.24"
5252
, incGHCTool "haddock" "2.16.1"
53+
, incGHCTool "cabal-install" "1.24.0.0"
54+
, incGHCTool "stack" "1.1.2"
5355
]
5456
[
5557
incLib "async" "2.1.0"

hptool/src/Website.hs

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,27 +101,27 @@ historyCtx = mkStrContext outerCtx
101101
ctx "hpReleases" = mapListStrContext rlsCtx releasesNewToOld
102102
ctx "ncols" = MuVariable $ length releasesNewToOld + 1
103103
ctx "sections" = MuList
104-
[ sectionCtx "Compiler" [isGhc, not . isLib]
105-
, sectionCtx "Core Libraries, provided with GHC" [isGhc, isLib]
106-
, sectionCtx "Additional Minimal Platform Libraries" [not . isGhc, isLib]
107-
, sectionCtx "Programs and Tools" [isTool]
104+
[ sectionCtx "Compiler" [isGhc, not . isLib] False
105+
, sectionCtx "Core Libraries, provided with GHC" [isGhc, isLib] False
106+
, sectionCtx "Additional Minimal Platform Libraries" [not . isGhc, isLib] True
107+
, sectionCtx "Programs and Tools" [isTool] False
108108
, extendedCtx "Libraries with Full Platform"
109109
]
110110
ctx _ = MuNothing
111111

112112
rlsCtx rls "hpVersion" = MuVariable . showVersion . hpVersion . relVersion $ rls
113113
rlsCtx _ _ = MuNothing
114114

115-
sectionCtx :: (Monad m) => String -> [IncludeType -> Bool] -> MuContext m
116-
sectionCtx name tests = mkStrContext ctx
115+
sectionCtx :: (Monad m) => String -> [IncludeType -> Bool] -> Bool -> MuContext m
116+
sectionCtx name tests onlyAfterSplit = mkStrContext ctx
117117
where
118118
ctx "name" = MuVariable name
119119
ctx "components" = mapListStrContext pCtx packages
120120
ctx _ = MuNothing
121121

122122
packages = sortOnLower . nub . map pkgName . concat $
123123
map (packagesByIncludeFilter (\i -> all ($i) tests) False)
124-
releasesNewToOld
124+
(if onlyAfterSplit then releasesNewToOldSinceSplit else releasesNewToOld)
125125

126126
sortOnLower = map snd . sort . map (\s -> (map toLower s, s))
127127

@@ -177,3 +177,9 @@ packageVersionInfo searchFull pName = curr $ zipWith comp vers (drop 1 vers ++ [
177177

178178
releasesNewToOld :: [Release]
179179
releasesNewToOld = reverse releases
180+
181+
releasesNewToOldSinceSplit :: [Release]
182+
releasesNewToOldSinceSplit = takeWhile p releasesNewToOld
183+
where p rel = case packagesByIncludeFilter (\i -> all ($i) [isGhc, not . isLib, not . isTool]) False rel of
184+
[ghcPkg] -> take 1 (versionBranch $ pkgVersion ghcPkg) == [8]
185+
_ -> False

website/templates/plan-a/download-os-sections.html.mu

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11

22
<div class="container">
3-
<h2 id="get-started">Let's get started</h2>
3+
<h2 id="get-started">Let's get started</h2>
4+
<b>Note that as of 8.0.1 there are two download
5+
options available &mdash; minimal and full. The minimal
6+
option is currently the generally recommended
7+
one. It does not include any additional global
8+
libraries beyond those packaged with ghc, though it
9+
does include all tools. This ensures maximal
10+
compatibility with a variety of library sets. The
11+
full option is useful for those who prefer the
12+
"classic" platform behavior with a broader set of
13+
preinstalled libraries, and especially serves those
14+
well who want full-featured installers in situations
15+
where network connectivity should not be taken for granted.</p>
416
</div>
517

18+
619
<div class="container found-user-platform" >
720
You appear to be using <strong>unknown</strong>.
821
See <a href="#other-platforms">below</a> for other
@@ -53,8 +66,11 @@
5366
<p>
5467
These packages are for Mac OS X systems not
5568
using a package manager. If you would rather
56-
install with MacPorts then select the
57-
appropriate option to the right.
69+
install with MacPorts or Homebrew then select the
70+
appropriate option to the
71+
right. (Note that those
72+
distributions may lag behind
73+
official platform installers).
5874
</p>
5975
<p> To get started perform these steps,</p>
6076

0 commit comments

Comments
 (0)