stack-all 0.5.1 → 0.5.2
raw patch · 5 files changed
+8/−4 lines, 5 files
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- src/MajorVer.hs +1/−1
- src/Snapshots.hs +1/−1
- stack-all.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Release history for stack-all +## 0.5.2 (2024-04-18)+- fix parsing of ltsXX+- use https for snapshots url+ ## 0.5.1 (2024-03-19) - update the stackage snapshots.json url
README.md view
@@ -21,7 +21,7 @@ ### Help output `$ stack-all --version` ```-0.5.1+0.5.2 ``` `$ stack-all --help` ```
src/MajorVer.hs view
@@ -22,7 +22,7 @@ maybeReadMajor "nightly" = Just Nightly maybeReadMajor ver | "lts" `isPrefixOf` ver =- case readMaybe (dropPrefix "-" (dropPrefix "lts-" ver)) of+ case readMaybe (dropPrefix "-" (dropPrefix "lts" ver)) of Just major -> Just (LTS major) Nothing -> Nothing | "ghc" `isPrefixOf` ver =
src/Snapshots.hs view
@@ -44,7 +44,7 @@ getSnapshots :: Bool -> IO Object getSnapshots forcerefresh =- getCachedJSON "stackage-snapshots" "snapshots.json" "http://www.stackage.org/download/snapshots.json" $ if forcerefresh then 0 else 200 --minutes+ getCachedJSON "stackage-snapshots" "snapshots.json" "https://www.stackage.org/download/snapshots.json" $ if forcerefresh then 0 else 200 --minutes latestLTS :: Bool -> IO MajorVer latestLTS refresh = do
stack-all.cabal view
@@ -1,5 +1,5 @@ name: stack-all-version: 0.5.1+version: 0.5.2 synopsis: CLI tool for building across Stackage major versions description: Build your Haskell project over Stackage major LTS versions.