Compare commits

..

131 Commits

Author SHA1 Message Date
66a24ec9aa Re-sign 2023-05-19 19:02:17 +08:00
d7d93a85c2 Add stack-2.11.1for main channil 2023-05-19 19:02:07 +08:00
13fad50ca2 Add stack-2.11.1 for vanilla channel 2023-05-19 19:02:07 +08:00
484dd1084c Add GHC-9.4.5 for FreeBSD 2023-05-19 17:42:21 +08:00
c58fe8aaef Update to HLS 2.0.0.0 2023-05-19 16:18:37 +08:00
407d47a2ba Merge remote-tracking branch 'origin/pr/92' into develop 2023-05-19 16:13:04 +08:00
Zubin Duggal
d643f9f84e Add freebsd and fix aarch64-darwin 2023-05-19 13:40:17 +05:30
Zubin Duggal
0540871277 Add metadata for HLS 2.0.0.0 2023-05-18 17:05:42 +05:30
49063b09ba Add M1 binaries for stack-2.11.0.1 2023-05-12 22:05:19 +08:00
d6e7b29250 Re-sign 2023-05-07 00:16:37 +08:00
ffc8c38074 Merge remote-tracking branch 'origin/pr/90' into develop 2023-05-07 00:04:46 +08:00
Mike Pilgrem
e7a1ac0c15 Update ghcup-prereleases-0.0.7.yaml for Stack 2.11.0.1 2023-05-06 12:07:15 +01:00
9459d1cb08 Re-sign 2023-05-05 21:35:51 +08:00
d97d4fb8d7 Merge branch 'redhat8' into develop 2023-05-05 21:35:35 +08:00
d35571f02d Fix RedHat 8 support 2023-05-02 22:52:42 +08:00
2dbfc84ef6 Fix RedHat 8 support 2023-05-02 18:54:41 +08:00
92efb732ac Re-sign 2023-04-20 18:04:28 +08:00
6474e0e7de Add 9.4.5 to vanilla channel 2023-04-20 18:04:05 +08:00
5f1802aee7 Fixup test DL 2023-04-20 18:03:57 +08:00
7a5ffc84ff Merge remote-tracking branch 'origin/pr/88' into develop 2023-04-20 17:56:12 +08:00
Zubin Duggal
b37a8ca419 Add metadata for GHC 9.4.5 2023-04-18 13:24:36 +05:30
309dcd0344 Mark more HLS versions as old 2023-03-30 23:34:07 +08:00
16ca788725 Mark more GHC versions as old 2023-03-30 23:33:03 +08:00
86526f6015 Set GHC-9.2.7 and HLS-1.10.0.0 as recommended 2023-03-30 23:23:18 +08:00
1d00d31730 Fix HLS bindist CI 2023-03-30 22:39:34 +08:00
c975203b5e Sign 2023-03-30 22:28:40 +08:00
5c692ab9ec Generate hls metadata 2023-03-30 22:28:17 +08:00
7c1bf39704 Fix yaml anchors in ghcup-vanilla 2023-03-30 22:18:04 +08:00
673a49bcc1 Fixup HLS 1.10.0.0 2023-03-30 22:17:22 +08:00
6926df6a00 Merge remote-tracking branch 'origin/pr/86' into develop 2023-03-30 22:07:00 +08:00
874f9a52f8 Re-sign 2023-03-30 20:52:33 +08:00
Zubin Duggal
cb19cf7a20 Fix anchors and unknown linux 2023-03-29 11:03:11 +05:30
Zubin Duggal
59ea5163ce Add metadata for HLS 1.10.0.0 2023-03-29 10:52:49 +05:30
b0a026f6a0 Fix cabal arm binaries 2023-03-15 00:01:08 +08:00
5700321a7d Fix armv7/aarch64 ghcup binaries 2023-03-14 22:49:31 +08:00
c58f03c71d Add GHC 9.6.1 proper 2023-03-12 18:40:57 +08:00
96b1c8e3e9 Fix armv7 2023-03-12 18:25:52 +08:00
60a30d8522 Fix CI 2023-03-12 18:17:00 +08:00
7de9fd3a8c Fix CI for cabal 2023-03-12 18:10:21 +08:00
b8606ec3b7 Sign 2023-03-12 18:02:59 +08:00
d19cc1d0f0 Clean up empty dlSubdir 2023-03-12 18:02:44 +08:00
b703c55991 Add cabal 3.10.1.0 proper 2023-03-12 18:02:35 +08:00
8b95d10664 Make latest and recommended match in vanilla channel 2023-03-12 16:25:10 +08:00
d5c7e708d8 Add GHC-9.6.1 to vanilla channel 2023-03-12 16:24:06 +08:00
fea14b9a06 Add cabal-3.10.1.0 to vanilla channel 2023-03-11 23:32:30 +08:00
eadf9b61ba Fixup prereleases 2023-03-04 12:19:44 +08:00
594bd5490d Merge remote-tracking branch 'origin/pr/82' into develop 2023-03-03 23:51:25 +08:00
Ben Gamari
1fa98afb67 Add ghc-9.6.1-rc1 2023-03-03 10:36:30 -05:00
9a262dc451 Fix CI 2023-02-27 23:38:50 +08:00
d4f085edf4 Add FreeBSD 9.4.4 bindist 2023-02-27 22:46:29 +08:00
9c4b70f495 Sign 2023-02-27 21:11:47 +08:00
3e05dee7bf Add FreeBSD stack 2.9.3 binary 2023-02-27 21:11:36 +08:00
f8d0da5743 Make stack 2.9.3 the recommended 2023-02-27 20:42:40 +08:00
dfe477c1b7 Re-sign 2023-02-27 16:00:21 +08:00
f752a23491 Merge branch 'ghc-9.2.7' into develop 2023-02-27 16:00:09 +08:00
df38f4edf2 Add unofficial FreeBSD 9.2.7 bindist 2023-02-27 15:58:21 +08:00
ad42891618 Fix FreeBSD ghcup binary 2023-02-27 13:59:59 +08:00
Zubin Duggal
fe5f56580b Add metadata for GHC 9.2.7 2023-02-27 13:35:18 +08:00
4f8635e560 Fix test 2023-02-24 20:44:47 +08:00
8501a6d4b2 Mark a couple of prereleases as old 2023-02-24 20:22:02 +08:00
94b469197d Update ghcup tag 2023-02-24 20:03:57 +08:00
b1c5e84b42 Fix ghcup-bindist for installing ghcup 2023-02-24 20:02:07 +08:00
51aa203205 Set LatestPrerelease tags 2023-02-24 20:00:08 +08:00
0b98de04cc Bump GHCup to 0.1.19.2 2023-02-24 19:32:15 +08:00
3e07ac0a20 Merge branch 'hls-ci' into develop 2023-02-21 22:38:53 +08:00
d819571955 Fix HLS CI 2023-02-21 22:20:01 +08:00
d33b26a495 Update ghcup-hs subrepo 2023-02-19 23:54:59 +08:00
0ba569e44c Update GHCup to 0.1.19.1 2023-02-19 23:53:05 +08:00
ea9b67d5d0 Fixup prereleases 2023-02-18 01:02:49 +08:00
f47527468b Merge remote-tracking branch 'origin/pr/72' into develop 2023-02-18 00:57:45 +08:00
Ben Gamari
0939170115 Add GHC 9.6.1-alpha3 2023-02-17 09:49:37 -05:00
2941394cb1 Merge branch 'hls-1.9.1.0' into develop 2023-02-15 00:40:14 +08:00
152f531e31 Add HLS 1.9.1.0 2023-02-15 00:25:44 +08:00
033fcb7f19 Add unofficial FreeBSD 9.2.5 GHC bindist 2023-02-11 19:12:47 +08:00
c3d3804e12 Sign 2023-02-11 13:10:43 +08:00
1b5713af8f Remove recommended from 9.2.6 for now 2023-02-11 13:07:07 +08:00
8544b1bd49 Add M1 and aarch to bindist tests 2023-02-11 13:01:36 +08:00
cd5ff36ece Fix bindist test 2023-02-11 12:30:56 +08:00
3520430cd5 Add rocky:8 test 2023-02-11 12:27:48 +08:00
95b6a0a455 Change mappings for Ubuntu and Mint on 9.2.6 2023-02-11 12:27:31 +08:00
a68345fa44 Fix src hast on 9.2.6 and rm ghc-post-remove 2023-02-11 12:02:59 +08:00
98ca9d2f37 Merge remote-tracking branch 'origin/pr/70' into develop 2023-02-11 12:00:43 +08:00
Zubin Duggal
f45f8c6061 Add metadata for GHC 9.2.6 2023-02-10 18:46:39 +05:30
12cb639ca1 Fix remaining issues for ghc-9.6.0.20230128 2023-02-01 00:06:29 +08:00
eeb1e14e37 Merge remote-tracking branch 'origin/pr/69' into develop 2023-01-31 23:29:20 +08:00
3d85d4d78a Oh, shoot 2023-01-30 18:36:12 +08:00
61f49e0992 Sign 2023-01-30 18:12:29 +08:00
7a709a22a4 Add testDL to vanilla 2023-01-30 18:12:11 +08:00
b0004fb0e3 Remove postRemove from vanilla 2023-01-30 18:11:55 +08:00
4b30ea60c0 Add viTestDL 2023-01-30 18:06:03 +08:00
bcc2ced30a Fix subdir validation 2023-01-30 18:05:47 +08:00
Ben Gamari
510f1f281d Address review comments for 9.6.1-alpha2 metadata 2023-01-29 12:23:03 -05:00
Ben Gamari
1b182831ae Add GHC 9.6.1-alpha2 metadata 2023-01-29 11:36:11 -05:00
7acba3cd1e Sign 2023-01-27 21:56:52 +08:00
023f6b1a74 Merge remote-tracking branch 'origin/pr/68' into develop 2023-01-27 21:56:28 +08:00
Mikolaj Konarski
f9977b5a25 Add cabal 3.9.0.0 prerelease from tag unofficial-prerelease-of-3.10 2023-01-27 10:56:56 +01:00
727ed6a374 Sign 2023-01-19 10:21:26 +08:00
f595461414 Merge remote-tracking branch 'origin/pr/67' into develop 2023-01-19 10:21:15 +08:00
Matthew Pickering
0daacd0fb3 Fix duplicate yaml anchors (cabal-3810-32) 2023-01-18 20:49:28 +00:00
0306776a0b Remove GHC postlog
This is already done in GHCup itself.
2023-01-16 22:14:57 +08:00
9e14e6c736 Fix 32bit 3.8 cabal binaries 2023-01-16 00:12:50 +08:00
25b231442a Fixup 9.6.0.20230111 subdirs 2023-01-15 23:02:13 +08:00
dde651c769 Fix cabal-3.8.1.0 bindists 2023-01-15 22:35:52 +08:00
a05354bbc8 Add missing bindists for cabal-3.8.1.0 2023-01-15 21:57:59 +08:00
27c82dc3f7 Sign 2023-01-14 23:27:08 +08:00
e85fc30d6c Merge remote-tracking branch 'origin/pr/66' into develop 2023-01-14 23:23:08 +08:00
Ben Gamari
93204da7fa Add GHC 9.6.1-alpha1 2023-01-13 18:16:06 -05:00
adae303354 Fix windows GHCup 0.1.19.0 binary
Fixes https://github.com/haskell/ghcup-hs/issues/745
2023-01-14 01:45:34 +08:00
b6698d1d2b Update ghcup to 0.1.19.0 2023-01-13 12:58:23 +08:00
7e08589078 Update ghcup build 2023-01-13 12:58:23 +08:00
e6b0a8086a Add armv7 for GHC 9.2.2 2023-01-12 15:36:02 +08:00
7fe858c762 Merge branch 'yamllint' into develop 2023-01-11 23:19:00 +08:00
c8fc5fb44e Implement yaml linting, fixes #63 2023-01-11 22:52:03 +08:00
0b92651bcc Sign 2023-01-11 21:40:26 +08:00
bcfe45ad6b Merge remote-tracking branch 'origin/pr/62' into develop 2023-01-11 21:39:05 +08:00
Matthew Pickering
ae180380b5 Fix duplicated cabal-3620-32 anchor 2023-01-10 09:00:25 +00:00
11aa850e1c Add vanilla metadata, fixes #43 2023-01-08 15:38:13 +08:00
e86689a03b Sign 2023-01-02 19:27:17 +08:00
053d4fe216 Merge remote-tracking branch 'origin/pr/58' into develop 2023-01-02 19:27:06 +08:00
Takahiro HIMURA
173dc63375 Fix a reference for HLS 1.9.0.0 Debian. 2023-01-02 19:49:11 +09:00
9061e416ce Sign 2023-01-01 17:30:11 +08:00
e3cdf35f45 Test bindists on fedora:27 as well 2023-01-01 17:02:52 +08:00
f45500e82a Fix 9.4.4 bindist for fedora <33 2023-01-01 16:03:45 +08:00
c42bb4a2ff Sign 2022-12-29 11:56:46 +08:00
Zubin Duggal
7601d79710 Fix hashes for HLS 1.9 2022-12-29 02:38:13 +05:30
Zubin Duggal
11cb83955f Add metadata for HLS 1.9.0.0 2022-12-26 20:18:38 +05:30
0a1655fbb2 Sign 2022-12-25 23:39:37 +08:00
4bccb92d3f Fix bindist CI 2022-12-25 23:33:21 +08:00
Ben Gamari
c3f824ddc3 Add GHC 9.4.4 2022-12-24 14:53:30 -05:00
9abf634f8c Improve stack post install 2022-12-19 00:15:27 +08:00
5d50438a4c Merge branch 'stack-2.9.3' into develop 2022-12-18 02:27:10 +08:00
33 changed files with 6713 additions and 392 deletions

View File

@@ -3,10 +3,6 @@ defaults:
run: run:
shell: bash shell: bash
on: on:
pull_request:
types: [opened]
issue_comment:
types: [created]
workflow_dispatch: workflow_dispatch:
inputs: inputs:
tool: tool:
@@ -45,10 +41,10 @@ jobs:
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
- image: debian:10 - image: debian:10
installCmd: apt-get update && apt-get install -y installCmd: apt-get update && apt-get install -y
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev
- image: debian:11 - image: debian:11
installCmd: apt-get update && apt-get install -y installCmd: apt-get update && apt-get install -y
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev
- image: ubuntu:18.04 - image: ubuntu:18.04
installCmd: apt-get update && apt-get install -y installCmd: apt-get update && apt-get install -y
toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
@@ -61,15 +57,27 @@ jobs:
- image: archlinux:latest - image: archlinux:latest
installCmd: pacman -Syu --noconfirm installCmd: pacman -Syu --noconfirm
toolRequirements: which gcc gmp libffi make ncurses perl tar xz toolRequirements: which gcc gmp libffi make ncurses perl tar xz
- image: fedora:27
installCmd: dnf install -y
toolRequirements: which findutils gcc gcc-c++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
- image: fedora:36 - image: fedora:36
installCmd: dnf install -y installCmd: dnf install -y
toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
- image: rockylinux:8
installCmd: dnf install -y
toolRequirements: which findutils gcc gcc-c++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
- image: rockylinux:9
installCmd: dnf install -y --allowerasing
toolRequirements: which findutils gcc gcc-c++ gmp gmp-devel make ncurses xz perl
- image: linuxmintd/mint19.3-amd64 - image: linuxmintd/mint19.3-amd64
installCmd: apt-get update && apt-get install -y installCmd: apt-get update && apt-get install -y
toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
- image: linuxmintd/mint20.2-amd64 - image: linuxmintd/mint20.2-amd64
installCmd: apt-get update && apt-get install -y installCmd: apt-get update && apt-get install -y
toolRequirements: build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 toolRequirements: build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
- image: linuxmintd/mint21.1-amd64
installCmd: apt-get update && apt-get install -y
toolRequirements: build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
container: container:
image: ${{ matrix.image }} image: ${{ matrix.image }}
steps: steps:
@@ -78,182 +86,62 @@ jobs:
run: | run: |
${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }} ${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }}
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9 - uses: actions/checkout@v3
id: check
with:
trigger: '@bindistTest ** ** **'
reaction: rocket
allow_arguments: true
env:
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9 - name: Install ghcup and bindist
id: checkRef run: .github/workflows/install-bindist.sh
with:
trigger: '@bindistTestRef ** ** ** **'
reaction: rocket
allow_arguments: true
env:
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
- if: ${{ steps.checkRef.outputs.triggered == 'true' }} bindist-install-mac-win:
uses: actions/checkout@v3 name: Build non-linux
with:
ref: ${{ fromJson(steps.check.outputs.arguments)[3] }}
- if: ${{ steps.checkRef.outputs.triggered != 'true' }}
uses: actions/checkout@v3
- if: ${{ github.event_name != 'workflow_dispatch' || steps.check.outputs.triggered == 'true' }}
continue-on-error: true
name: Install ghcup and bindist
run: |
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.check.outputs.arguments)[0] }}
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.check.outputs.arguments)[1] }}
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.check.outputs.arguments)[2] }}
.github/workflows/install-bindist.sh
echo SUCCESS=true >> $GITHUB_ENV
- if: ${{ github.event_name != 'workflow_dispatch' && steps.check.outputs.triggered != 'true' && steps.checkRef.outputs.triggered == 'true' }}
continue-on-error: true
name: Install ghcup and bindist
run: |
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.checkRef.outputs.arguments)[0] }}
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.checkRef.outputs.arguments)[1] }}
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.checkRef.outputs.arguments)[2] }}
.github/workflows/install-bindist.sh
echo SUCCESS=true >> $GITHUB_ENV
- if: ${{ github.event_name == 'workflow_dispatch' }}
name: Install ghcup and bindist
run: |
.github/workflows/install-bindist.sh
echo SUCCESS=true >> $GITHUB_ENV
- run: |
if [ "${{ env.SUCCESS }}" = "true" ] ; then
echo "true" > message-linux.txt
else
echo "false" > message-linux.txt
fi
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
./message-linux.txt
bindist-install-non-linux:
name: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: include:
- macos-11 - os: [self-hosted, macOS, ARM64]
- macos-12 - os: macos-11
- windows-latest - os: macos-12
- os: windows-latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9
id: check
with:
trigger: '@bindistTest ** ** **'
reaction: rocket
allow_arguments: true
env:
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9 - uses: actions/checkout@v3
id: checkRef
with:
trigger: '@bindistTestRef ** ** ** **'
reaction: rocket
allow_arguments: true
env:
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
- if: ${{ steps.checkRef.outputs.triggered == 'true' }}
uses: actions/checkout@v3
with:
ref: ${{ fromJson(steps.check.outputs.arguments)[3] }}
- if: ${{ steps.checkRef.outputs.triggered != 'true' }}
uses: actions/checkout@v3
- if: ${{ github.event_name != 'workflow_dispatch' || steps.check.outputs.triggered == 'true' }}
continue-on-error: true
name: Install ghcup and bindist
run: |
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.check.outputs.arguments)[0] }}
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.check.outputs.arguments)[1] }}
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.check.outputs.arguments)[2] }}
.github/workflows/install-bindist.sh
echo SUCCESS=true >> $GITHUB_ENV
- if: ${{ github.event_name != 'workflow_dispatch' && steps.check.outputs.triggered != 'true' && steps.checkRef.outputs.triggered == 'true' }}
continue-on-error: true
name: Install ghcup and bindist
run: |
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.checkRef.outputs.arguments)[0] }}
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.checkRef.outputs.arguments)[1] }}
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.checkRef.outputs.arguments)[2] }}
.github/workflows/install-bindist.sh
echo SUCCESS=true >> $GITHUB_ENV
- if: ${{ github.event_name == 'workflow_dispatch' }} - if: ${{ github.event_name == 'workflow_dispatch' }}
name: Install ghcup and bindist name: Install ghcup and bindist
run: | run: .github/workflows/install-bindist.sh
.github/workflows/install-bindist.sh
echo SUCCESS=true >> $GITHUB_ENV
- run: | bindist-install-arm:
if [ "${{ env.SUCCESS }}" = "true" ] ; then name: Build ARM binary
echo "true" > message.txt runs-on: ${{ matrix.os }}
else strategy:
echo "false" > message.txt fail-fast: false
fi matrix:
include:
- name: Upload artifact - os: [self-hosted, Linux, ARM64]
uses: actions/upload-artifact@v3 ARCH: ARM
with: - os: [self-hosted, Linux, ARM64]
name: artifacts ARCH: ARM64
path: |
./message.txt
comment:
name: comment
needs: ["bindist-install", "bindist-install-non-linux"]
runs-on: ubuntu-latest
steps: steps:
- name: Download artifacts - uses: docker://arm64v8/ubuntu:focal
uses: actions/download-artifact@v3 name: Cleanup (aarch64 linux)
with: with:
name: artifacts args: "find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"
- run: | - name: git config
if [ "$(cat message.txt)" == "true" ] && [ "$(cat message-linux.txt)" == "true" ] ; then
echo "SUCCESS=true" >> $GITHUB_ENV
else
echo "SUCCESS=false" >> $GITHUB_ENV
fi
- id: message
run: | run: |
if [ "${{ env.SUCCESS }}" = "true" ] ; then git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
echo 'MESSAGE=Bindist check success :+1:' >> $GITHUB_OUTPUT shell: bash
else
echo 'MESSAGE=Bindist check failure :-1:' >> $GITHUB_OUTPUT
fi
- if: ${{ github.event_name == 'pull_request' }} - uses: actions/checkout@v3
name: Comment PR
uses: thollander/actions-comment-pull-request@v2 - if: matrix.ARCH == 'ARM'
uses: docker://hasufell/arm32v7-ubuntu-haskell:focal
name: Run build (armv7 linux)
with: with:
message: | args: sh -c '.github/workflows/install-bindist.sh'
${{ steps.message.outputs.MESSAGE }}
- name: Check on failures
if: env.SUCCESS != 'true'
run: exit 1
- if: matrix.ARCH == 'ARM64'
uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
name: Run build (aarch64 linux)
with:
args: sh -c '.github/workflows/install-bindist.sh'

30
.github/workflows/common.sh vendored Normal file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
if [ "${RUNNER_OS}" = "Windows" ] ; then
ext=".exe"
else
ext=''
fi
echo_color() {
local color="$1"
local msg="$2"
echo -e "\033[${color}m${msg}\033[0m"
}
error() { echo_color "${RED}" "$1"; }
warn() { echo_color "${LT_BROWN}" "$1"; }
info() { echo_color "${LT_BLUE}" "$1"; }
fail() { error "error: $1"; exit 1; }
mktempdir() {
case "$(uname -s)" in
"Darwin"|"darwin")
mktemp -d -t hls_ci.XXXXXXX
;;
*)
mktemp -d
;;
esac
}

View File

@@ -2,23 +2,31 @@
set -x set -x
set -eo pipefail set -eo pipefail
. .github/workflows/common.sh
export GHCUP_INSTALL_BASE_PREFIX=$RUNNER_TEMP/foobarbaz export GHCUP_INSTALL_BASE_PREFIX=$RUNNER_TEMP/foobarbaz
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
source $GHCUP_INSTALL_BASE_PREFIX/.ghcup/env || source ~/.bashrc source "$GHCUP_INSTALL_BASE_PREFIX"/.ghcup/env || source "$HOME/.bashrc"
ghcup --version ghcup --version
which ghcup | grep foobarbaz which ghcup | grep foobarbaz
# oh no ghcup_fun() {
if [ "${TOOL}" = "hls" ] ; then ghcup -v --url-source=file:$METADATA_FILE "$@"
ghcup -v --url-source=file:$METADATA_FILE install ghc --set 9.2.4 }
fi
ghcup -v --url-source=file:$METADATA_FILE install $TOOL --set $VERSION case $TOOL in
ghcup)
ghcup_fun upgrade --force
;;
*) ghcup_fun install $TOOL --set $VERSION
;;
esac
mkdir /tmp/install-bindist-ci mkdir -p /tmp/install-bindist-ci
cp "$METADATA_FILE" /tmp/install-bindist-ci/
cd /tmp/install-bindist-ci cd /tmp/install-bindist-ci
cat <<EOF > main.hs cat <<EOF > main.hs
@@ -30,9 +38,65 @@ main = print $ 1 + 1
EOF EOF
case $TOOL in case $TOOL in
ghcup)
ghcup_fun list
;;
hls) hls)
haskell-language-server-wrapper --version ghcup_fun install cabal latest
haskell-language-server-wrapper typecheck main.hs ghcup_fun install ghc --set recommended
cabal update
test_package="bytestring-0.11.1.0"
test_module="Data/ByteString.hs"
create_cradle() {
echo "cradle:" > hie.yaml
echo " cabal:" >> hie.yaml
}
enter_test_package() {
local tmp_dir
tmp_dir=$(mktempdir)
cd "$tmp_dir"
cabal unpack "${test_package}"
cd "${test_package}"
cp "/tmp/install-bindist-ci/${METADATA_FILE}" .
}
# For all HLS GHC versions and the wrapper, run 'typecheck'
# over the $test_module
test_all_hls() {
local bin
local bin_noexe
local bindir
local hls
bindir=$1
for hls in "${bindir}/"haskell-language-server-* ; do
bin=${hls##*/}
bin_noexe=${bin/.exe/}
if ! [[ "${bin_noexe}" =~ "haskell-language-server-wrapper" ]] && ! [[ "${bin_noexe}" =~ "~" ]] && ! [[ "${bin_noexe}" =~ ".shim" ]] ; then
if ghcup_fun install ghc --set "${bin_noexe/haskell-language-server-/}" ; then
"${hls}" typecheck "${test_module}" || fail "failed to typecheck with HLS for GHC ${bin_noexe/haskell-language-server-/}"
else
fail "GHCup failed to install GHC ${bin_noexe/haskell-language-server-/}"
fi
ghcup_fun rm ghc "${bin_noexe/haskell-language-server-/}"
fi
done
"$bindir/haskell-language-server-wrapper${ext}" typecheck "${test_module}" || fail "failed to typecheck with HLS wrapper"
}
enter_test_package
create_cradle
case "$(uname -s)" in
MSYS_*|MINGW*)
test_all_hls "$(dirname "$(which ghcup)")"
;;
*)
test_all_hls "$(ghcup whereis bindir)"
;;
esac
;; ;;
ghc) ghc)
ghc --version ghc --version
@@ -41,6 +105,7 @@ case $TOOL in
[[ $(./main +RTS -s) -eq 2 ]] [[ $(./main +RTS -s) -eq 2 ]]
;; ;;
cabal) cabal)
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"
cabal --version cabal --version
cabal update cabal update
[[ $(cabal --verbose=0 run --enable-profiling ./main.hs -- +RTS -s) -eq 2 ]] [[ $(cabal --verbose=0 run --enable-profiling ./main.hs -- +RTS -s) -eq 2 ]]

View File

@@ -11,7 +11,7 @@ jobs:
name: Test metadata name: Test metadata
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
YAML_VER: 0.0.6 YAML_VER: 0.0.7
strategy: strategy:
matrix: matrix:
ghc: ghc:
@@ -19,7 +19,7 @@ jobs:
cabal: cabal:
- '3.6.2.0' - '3.6.2.0'
os: os:
- ubuntu-latest - ubuntu-22.04
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
@@ -51,18 +51,30 @@ jobs:
run: echo "$HOME/.local/bin" >> $GITHUB_PATH run: echo "$HOME/.local/bin" >> $GITHUB_PATH
shell: bash shell: bash
- name: install yamllint
run: pip install yamllint
- name: Update cabal cache - name: Update cabal cache
run: cabal update run: cabal update
shell: bash shell: bash
- name: Install some deps
run: |
export DEBIAN_FRONTEND=noninteractive
export TZ=Asia/Singapore
sudo apt install -y libarchive-dev
shell: bash
- name: Install ghcup-gen - name: Install ghcup-gen
run: | run: |
cabal install --installdir="$HOME/.local/bin" --overwrite-policy=always --install-method=copy ghcup-gen cabal install --installdir="$HOME/.local/bin" --overwrite-policy=always --install-method=copy ghcup-gen
shell: bash shell: bash
- name: Check - name: Check yaml
run: | run: |
ghcup-gen -- check -f ghcup-${{ env.YAML_VER }}.yaml ghcup-gen -- check -f ghcup-${{ env.YAML_VER }}.yaml
yamllint ghcup-${{ env.YAML_VER }}.yaml
python3 -c "import yaml ; stream = open('ghcup-${{ env.YAML_VER }}.yaml', 'r') ; yaml.safe_load(stream)"
shell: bash shell: bash
- name: Check tarballs - name: Check tarballs

5
.yamllint Normal file
View File

@@ -0,0 +1,5 @@
extends: default
rules:
line-length: disable
indentation: disable

View File

@@ -2,19 +2,18 @@ packages: ./ghcup-gen/ghcup-gen.cabal
package ghcup package ghcup
tests: False tests: False
flags: -tui +no-exe flags: +tui +no-exe
source-repository-package source-repository-package
type: git type: git
location: https://gitlab.haskell.org/haskell/ghcup-hs.git location: https://github.com/haskell/ghcup-hs.git
tag: v0.1.17.8 tag: v0.1.19.2
constraints: http-io-streams -brotli, constraints: http-io-streams -brotli,
any.Cabal ==3.6.2.0,
any.aeson >= 2.0.1.0 any.aeson >= 2.0.1.0
package libarchive package libarchive
flags: -system-libarchive flags: +system-libarchive
package aeson-pretty package aeson-pretty
flags: +lib-only flags: +lib-only
@@ -25,5 +24,5 @@ package cabal-plan
package aeson package aeson
flags: +ordered-keymap flags: +ordered-keymap
allow-newer: base, ghc-prim, template-haskell, language-c package streamly
flags: +use-unliftio

View File

@@ -2132,43 +2132,39 @@
} }
}, },
"GHCup": { "GHCup": {
"0.1.17.5": { "0.1.19.0": {
"viTags": [ "viTags": [
"Recommended", "Recommended",
"Latest" "Latest"
], ],
"viChangeLog": "https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md", "viChangeLog": "https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md",
"viSourceDL": null, "viSourceDL": null,
"viArch": { "viArch": {
"A_64": { "A_64": {
"Linux_UnknownLinux": { "Linux_UnknownLinux": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0",
"dlSubdir": null, "dlHash": "33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12"
"dlHash": "7541bcf0b402f99d05cd1937f9fef69aec45c3153e42606671825be248484fb5"
} }
}, },
"Darwin": { "Darwin": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-apple-darwin-ghcup-0.1.17.5", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0",
"dlSubdir": null, "dlHash": "416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7"
"dlHash": "8b5159775de08a5f268f4be217fbb6f427ff8d8977197af209211b81ca0fe27f"
} }
}, },
"FreeBSD": { "FreeBSD": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-freebsd12-ghcup-0.1.17.5", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0",
"dlSubdir": null, "dlHash": "dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62"
"dlHash": "babb7366abb17bcb5d4fc1500039040f1b957073d618db3f1473b0bae6abc6bb"
} }
} }
}, },
"A_32": { "A_32": {
"Linux_UnknownLinux": { "Linux_UnknownLinux": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.17.5/i386-linux-ghcup-0.1.17.5", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0",
"dlSubdir": null, "dlHash": "0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53"
"dlHash": "5a2b1d2ceb32857866689ee1a1e29c5747333882a4e952d80eccf49482d3daab"
} }
} }
} }

Binary file not shown.

View File

@@ -2674,51 +2674,51 @@
} }
}, },
"GHCup": { "GHCup": {
"0.1.16.2": { "0.1.19.0": {
"viTags": [ "viTags": [
"Recommended", "Recommended",
"Latest" "Latest"
], ],
"viChangeLog": "https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md", "viChangeLog": "https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md",
"viSourceDL": null, "viSourceDL": null,
"viArch": { "viArch": {
"A_64": { "A_64": {
"Linux_UnknownLinux": { "Linux_UnknownLinux": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.16.2/x86_64-linux-ghcup-0.1.16.2", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0",
"dlHash": "d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893" "dlHash": "33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12"
} }
}, },
"Darwin": { "Darwin": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.16.2/x86_64-apple-darwin-ghcup-0.1.16.2", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0",
"dlHash": "a334620ccce7705211b2142882dde544003e6030af4b91a44c890542a90f879f" "dlHash": "416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7"
} }
}, },
"FreeBSD": { "FreeBSD": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.16.2/x86_64-portbld-freebsd-ghcup-0.1.16.2", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0",
"dlHash": "92359592a5694375e53b22628920086bf4bbf0faff5be018a0ed3e745a6426a9" "dlHash": "dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62"
} }
}, },
"Linux_Alpine": { "Linux_Alpine": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.16.2/x86_64-linux-ghcup-0.1.16.2", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0",
"dlHash": "d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893" "dlHash": "33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12"
} }
} }
}, },
"A_32": { "A_32": {
"Linux_UnknownLinux": { "Linux_UnknownLinux": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.16.2/i386-linux-ghcup-0.1.16.2", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0",
"dlHash": "01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38" "dlHash": "0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53"
} }
}, },
"Linux_Alpine": { "Linux_Alpine": {
"unknown_versioning": { "unknown_versioning": {
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.16.2/i386-linux-ghcup-0.1.16.2", "dlUri": "https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0",
"dlHash": "01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38" "dlHash": "0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53"
} }
} }
} }

Binary file not shown.

View File

@@ -1384,32 +1384,32 @@ ghcupDownloads:
dlUri: https://oleg.fi/cabal-install-3.4.0.0-rc4/cabal-install-3.4.0.0-x86_64-freebsd-12.1-release.tar.xz dlUri: https://oleg.fi/cabal-install-3.4.0.0-rc4/cabal-install-3.4.0.0-x86_64-freebsd-12.1-release.tar.xz
dlHash: 9705e16d03497b46be4ad477e6c64d10890af853eafa8a9adf6dba89aa9e05f7 dlHash: 9705e16d03497b46be4ad477e6c64d10890af853eafa8a9adf6dba89aa9e05f7
GHCup: GHCup:
0.1.17.5: 0.1.19.0:
viTags: viTags:
- Recommended - Recommended
- Latest - Latest
viChangeLog: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md viChangeLog: https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md
viSourceDL: viSourceDL:
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-64 unknown_versioning: &ghcup-64
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0
dlHash: 7541bcf0b402f99d05cd1937f9fef69aec45c3153e42606671825be248484fb5 dlHash: 33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-apple-darwin-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0
dlHash: 8b5159775de08a5f268f4be217fbb6f427ff8d8977197af209211b81ca0fe27f dlHash: 416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7
FreeBSD: FreeBSD:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-freebsd12-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0
dlHash: babb7366abb17bcb5d4fc1500039040f1b957073d618db3f1473b0bae6abc6bb dlHash: dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-64 unknown_versioning: *ghcup-64
A_32: A_32:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-32 unknown_versioning: &ghcup-32
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/i386-linux-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0
dlHash: 5a2b1d2ceb32857866689ee1a1e29c5747333882a4e952d80eccf49482d3daab dlHash: 0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-32 unknown_versioning: *ghcup-32

Binary file not shown.

View File

@@ -1451,33 +1451,33 @@ ghcupDownloads:
dlUri: https://oleg.fi/cabal-install-3.4.0.0-rc4/cabal-install-3.4.0.0-x86_64-freebsd-12.1-release.tar.xz dlUri: https://oleg.fi/cabal-install-3.4.0.0-rc4/cabal-install-3.4.0.0-x86_64-freebsd-12.1-release.tar.xz
dlHash: 9705e16d03497b46be4ad477e6c64d10890af853eafa8a9adf6dba89aa9e05f7 dlHash: 9705e16d03497b46be4ad477e6c64d10890af853eafa8a9adf6dba89aa9e05f7
GHCup: GHCup:
0.1.17.5: 0.1.19.0:
viTags: viTags:
- Recommended - Recommended
- Latest - Latest
viChangeLog: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md viChangeLog: https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md
viSourceDL: viSourceDL:
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-64 unknown_versioning: &ghcup-64
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0
dlHash: 7541bcf0b402f99d05cd1937f9fef69aec45c3153e42606671825be248484fb5 dlHash: 33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-apple-darwin-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0
dlHash: 8b5159775de08a5f268f4be217fbb6f427ff8d8977197af209211b81ca0fe27f dlHash: 416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7
FreeBSD: FreeBSD:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/x86_64-freebsd12-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0
dlHash: babb7366abb17bcb5d4fc1500039040f1b957073d618db3f1473b0bae6abc6bb dlHash: dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-64 unknown_versioning: *ghcup-64
A_32: A_32:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-32 unknown_versioning: &ghcup-32
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/i386-linux-ghcup-0.1.17.5 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0
dlHash: 5a2b1d2ceb32857866689ee1a1e29c5747333882a4e952d80eccf49482d3daab dlHash: 0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-32 unknown_versioning: *ghcup-32
HLS: HLS:

Binary file not shown.

Binary file not shown.

View File

@@ -1868,49 +1868,49 @@ ghcupDownloads:
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.4.0.0/cabal-install-3.4.0.0-armv7-linux-bootstrapped.tar.xz dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.4.0.0/cabal-install-3.4.0.0-armv7-linux-bootstrapped.tar.xz
dlHash: 16c0d1eaba24bed14f3e152970179a45d9f9bb5cc839b2c210ad06eb7d4826ed dlHash: 16c0d1eaba24bed14f3e152970179a45d9f9bb5cc839b2c210ad06eb7d4826ed
GHCup: GHCup:
0.1.17.7: 0.1.19.0:
viTags: viTags:
- Recommended - Recommended
- Latest - Latest
viChangeLog: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md viChangeLog: https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md
viSourceDL: viSourceDL:
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-64 unknown_versioning: &ghcup-64
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/x86_64-linux-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0
dlHash: e16eaf59dab84be7aa6415b53a3497f211d05163a50584dc854569b2ef8a7a3a dlHash: 33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/x86_64-apple-darwin-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0
dlHash: 9702f30c9374a122d79f7ef11170b34deb248a0f3cd92d671c0aab747be4add7 dlHash: 416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7
FreeBSD: FreeBSD:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/x86_64-freebsd12-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0
dlHash: d3d0644dc5d9b51ed1c345fc006e936e9284b3181e5a9cccf4cf70a7184398fe dlHash: dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-64 unknown_versioning: *ghcup-64
A_32: A_32:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-32 unknown_versioning: &ghcup-32
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/i386-linux-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0
dlHash: 209f61872a5b401e85e4d542dd8d0c96437c1f1ad94b4fa5a28856f34ab0cab8 dlHash: 0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-32 unknown_versioning: *ghcup-32
A_ARM64: A_ARM64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/aarch64-linux-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/aarch64-linux-ghcup-0.1.19.0
dlHash: 392dc46ef3f98733b154188982866859d174a750e32c5b742e6a1cf60159954e dlHash: a546dcd23a7e56f31bc4d6afad0276f88d3f0b850a3d3c36369721797dc3c3d5
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/aarch64-apple-darwin-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/aarch64-apple-darwin-ghcup-0.1.19.0
dlHash: 102d808b31248f86cbf569162ba1b7955e6747a684b2b4200b0958d6e4c54267 dlHash: 69bd8e37cd07606d928dca9215c066564a264e0def3c81171b76d5747dc6507c
A_ARM: A_ARM:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/armv7-linux-ghcup-0.1.17.7 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/armv7-linux-ghcup-0.1.19.0
dlHash: 8438e22241fab4bfde94066a34600ab003db2f4ecadfd54bfad4ae990e6549a1 dlHash: 58a170c1fb0b4e701ebb40f90a23f6ababe9e61291726aad82e18d4649aed908
HLS: HLS:
1.1.0: 1.1.0:
viTags: viTags:

Binary file not shown.

View File

@@ -2025,53 +2025,53 @@ ghcupDownloads:
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.4.0.0/cabal-install-3.4.0.0-armv7-linux-bootstrapped.tar.xz dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.4.0.0/cabal-install-3.4.0.0-armv7-linux-bootstrapped.tar.xz
dlHash: 16c0d1eaba24bed14f3e152970179a45d9f9bb5cc839b2c210ad06eb7d4826ed dlHash: 16c0d1eaba24bed14f3e152970179a45d9f9bb5cc839b2c210ad06eb7d4826ed
GHCup: GHCup:
0.1.18.0: 0.1.19.0:
viTags: viTags:
- Recommended - Recommended
- Latest - Latest
viChangeLog: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md viChangeLog: https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md
viSourceDL: viSourceDL:
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-64 unknown_versioning: &ghcup-64
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0
dlHash: 94559eb7c4569919446af1597d07675e803c20b150323edb7f9d8601c8bbda50 dlHash: 33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-apple-darwin-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0
dlHash: b34ed98bc0cc6d2169974f8d03173f93c3e3f60607013f1af42c9882c1a0d6f0 dlHash: 416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7
FreeBSD: FreeBSD:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-freebsd12-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0
dlHash: cc8378a53f3028331dc853acfb253e2258d720b0e18b618b294ed67182a7fa03 dlHash: dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62
Windows: Windows:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-mingw64-ghcup-0.1.18.0.exe dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-mingw64-ghcup-0.1.19.0.exe
dlHash: e2166a50437c677dfab3362749f676f92ff786aae1bfd7a2d289efa3544ee654 dlHash: c4e4a764b0844e351eb6939ff236452f33c34808aaca69f973ea82e18d3aa1ac
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-64 unknown_versioning: *ghcup-64
A_32: A_32:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-32 unknown_versioning: &ghcup-32
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/i386-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0
dlHash: 222914720135261dcc644155bc8a5b15d1d4966c769d50686fe4f41547208759 dlHash: 0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-32 unknown_versioning: *ghcup-32
A_ARM64: A_ARM64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/aarch64-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/aarch64-linux-ghcup-0.1.19.0
dlHash: 3e3ee4aa06e426373fb7e29f1770987ca1621e414925f261f325f9acb77e0bcb dlHash: a546dcd23a7e56f31bc4d6afad0276f88d3f0b850a3d3c36369721797dc3c3d5
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/aarch64-apple-darwin-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/aarch64-apple-darwin-ghcup-0.1.19.0
dlHash: 2d3aa19d6f012c1a4ebc5907a05b06cf0d43a1499107020f59847ea2638c8649 dlHash: 69bd8e37cd07606d928dca9215c066564a264e0def3c81171b76d5747dc6507c
A_ARM: A_ARM:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/armv7-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/armv7-linux-ghcup-0.1.19.0
dlHash: 2e94920c772bc24c9fe41004dedf46840f5f036d28d3ed183679d3f34d2c50e0 dlHash: 58a170c1fb0b4e701ebb40f90a23f6ababe9e61291726aad82e18d4649aed908
HLS: HLS:
1.1.0: 1.1.0:
viTags: [] viTags: []

Binary file not shown.

View File

@@ -2569,56 +2569,53 @@ ghcupDownloads:
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.6.2.0/cabal-install-3.6.2.0-armv7-linux-deb10.tar.xz dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.6.2.0/cabal-install-3.6.2.0-armv7-linux-deb10.tar.xz
dlHash: 694ba7c14f8d720c6e790ab0488dbff2d8a07d9c6de97b4deeba31088f825bc2 dlHash: 694ba7c14f8d720c6e790ab0488dbff2d8a07d9c6de97b4deeba31088f825bc2
GHCup: GHCup:
0.1.18.0: 0.1.19.0:
viTags: viTags:
- Recommended - Recommended
- Latest - Latest
viChangeLog: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/CHANGELOG.md viChangeLog: https://github.com/haskell/ghcup-hs/blob/master/CHANGELOG.md
viSourceDL: viSourceDL:
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-64 unknown_versioning: &ghcup-64
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-linux-ghcup-0.1.19.0
dlHash: 94559eb7c4569919446af1597d07675e803c20b150323edb7f9d8601c8bbda50 dlHash: 33ee6a758ee06e3b520be176905e6192e31f5fa2e2acdc525b1bea77ca368a12
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-apple-darwin-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-apple-darwin-ghcup-0.1.19.0
dlHash: b34ed98bc0cc6d2169974f8d03173f93c3e3f60607013f1af42c9882c1a0d6f0 dlHash: 416de8509092fd95f97ee19a5f3def91fbd6e6fa4fa630a5c5e7226f49a83af7
FreeBSD: FreeBSD:
'( >= 12 && < 13 )': unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-freebsd12-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-portbld-freebsd-ghcup-0.1.19.0
dlHash: cc8378a53f3028331dc853acfb253e2258d720b0e18b618b294ed67182a7fa03 dlHash: dadf49f8ac045946ccea7369d0c80cf3a5221b2282d8f9943cc3dc86e8516a62
'( >= 13 )':
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-freebsd13-ghcup-0.1.18.0
dlHash: cc8378a53f3028331dc853acfb253e2258d720b0e18b618b294ed67182a7fa03
Windows: Windows:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/x86_64-mingw64-ghcup-0.1.18.0.exe dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/x86_64-mingw64-ghcup-0.1.19.0.exe
dlHash: e2166a50437c677dfab3362749f676f92ff786aae1bfd7a2d289efa3544ee654 dlHash: c4e4a764b0844e351eb6939ff236452f33c34808aaca69f973ea82e18d3aa1ac
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-64 unknown_versioning: *ghcup-64
A_32: A_32:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: &ghcup-32 unknown_versioning: &ghcup-32
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/i386-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/i386-linux-ghcup-0.1.19.0
dlHash: 222914720135261dcc644155bc8a5b15d1d4966c769d50686fe4f41547208759 dlHash: 0308ebed4431241ef2886a9d374feb20a795d97ef3a24dd38b6bc7dd69e81e53
Linux_Alpine: Linux_Alpine:
unknown_versioning: *ghcup-32 unknown_versioning: *ghcup-32
A_ARM64: A_ARM64:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/aarch64-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/aarch64-linux-ghcup-0.1.19.0
dlHash: 3e3ee4aa06e426373fb7e29f1770987ca1621e414925f261f325f9acb77e0bcb dlHash: a546dcd23a7e56f31bc4d6afad0276f88d3f0b850a3d3c36369721797dc3c3d5
Darwin: Darwin:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/aarch64-apple-darwin-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/aarch64-apple-darwin-ghcup-0.1.19.0
dlHash: 2d3aa19d6f012c1a4ebc5907a05b06cf0d43a1499107020f59847ea2638c8649 dlHash: 69bd8e37cd07606d928dca9215c066564a264e0def3c81171b76d5747dc6507c
A_ARM: A_ARM:
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/0.1.18.0/armv7-linux-ghcup-0.1.18.0 dlUri: https://downloads.haskell.org/~ghcup/0.1.19.0/armv7-linux-ghcup-0.1.19.0
dlHash: 2e94920c772bc24c9fe41004dedf46840f5f036d28d3ed183679d3f34d2c50e0 dlHash: 58a170c1fb0b4e701ebb40f90a23f6ababe9e61291726aad82e18d4649aed908
HLS: HLS:
1.1.0: 1.1.0:
viTags: viTags:

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -40,7 +40,7 @@ import System.Exit
import System.FilePath import System.FilePath
import System.IO import System.IO
import Text.Regex.Posix import Text.Regex.Posix
import GHCup.Utils.String.QQ import GHCup.Prelude.String.QQ
import qualified Data.ByteString.Lazy as BSL import qualified Data.ByteString.Lazy as BSL
import qualified Data.Map.Strict as M import qualified Data.Map.Strict as M
@@ -84,6 +84,7 @@ generateHLSGhc format output = do
, DownloadFailed , DownloadFailed
, UnknownArchive , UnknownArchive
, ArchiveResult , ArchiveResult
, ContentLengthError
] $ do ] $ do
fp <- liftE $ downloadCached dli Nothing fp <- liftE $ downloadCached dli Nothing
let subd = _dlSubdir dli let subd = _dlSubdir dli

View File

@@ -11,7 +11,7 @@ import GHCup.Types
import GHCup.Errors import GHCup.Errors
import GHCup.Platform import GHCup.Platform
import GHCup.Utils.Dirs import GHCup.Utils.Dirs
import GHCup.Utils.Logger import GHCup.Prelude.Logger
import GHCup.Types.JSON ( ) import GHCup.Types.JSON ( )
import Control.Exception ( displayException ) import Control.Exception ( displayException )
@@ -177,7 +177,7 @@ main = do
, fancyColors = not no_color , fancyColors = not no_color
} }
dirs <- liftIO getAllDirs dirs <- liftIO getAllDirs
let leanAppstate = LeanAppState (Settings True 0 False Never Curl True GHCupURL False GPGNone True) dirs defaultKeyBindings loggerConfig let leanAppstate = LeanAppState (Settings True 0 Lax False Never Curl True GHCupURL False GPGNone True Nothing (DM mempty)) dirs defaultKeyBindings loggerConfig
pfreq <- ( pfreq <- (
flip runReaderT leanAppstate . runE @'[NoCompatiblePlatform, NoCompatibleArch, DistroNotFound] $ platformRequest flip runReaderT leanAppstate . runE @'[NoCompatiblePlatform, NoCompatibleArch, DistroNotFound] $ platformRequest
@@ -187,7 +187,7 @@ main = do
flip runReaderT leanAppstate $ logError $ T.pack $ prettyShow e flip runReaderT leanAppstate $ logError $ T.pack $ prettyShow e
liftIO $ exitWith (ExitFailure 2) liftIO $ exitWith (ExitFailure 2)
let appstate = AppState (Settings True 0 False Never Curl True GHCupURL False GPGNone True) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig let appstate = AppState (Settings True 0 Lax False Never Curl True GHCupURL False GPGNone True Nothing (DM mempty)) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig
let withValidateYamlOpts vopts f = case vopts of let withValidateYamlOpts vopts f = case vopts of
ValidateYAMLOpts { vInput = Nothing } -> ValidateYAMLOpts { vInput = Nothing } ->

View File

@@ -15,8 +15,8 @@ import GHCup.Errors
import GHCup.Types import GHCup.Types
import GHCup.Types.Optics import GHCup.Types.Optics
import GHCup.Utils import GHCup.Utils
import GHCup.Utils.Logger import GHCup.Prelude.Logger
import GHCup.Utils.Version.QQ import GHCup.Prelude.Version.QQ
import Codec.Archive import Codec.Archive
import Control.Applicative import Control.Applicative
@@ -210,7 +210,11 @@ validateTarballs (TarballFilter etool versionRegex) = do
ref <- liftIO $ newIORef 0 ref <- liftIO $ newIORef 0
-- download/verify all tarballs -- download/verify all tarballs
let dlis = either (const []) (\tool -> nubOrd $ dls ^.. each %& indices (maybe (const True) (==) tool) %> each %& indices (matchTest versionRegex . T.unpack . prettyVer) % (viSourceDL % _Just `summing` viArch % each % each % each)) etool let dlis = either (const []) (\tool -> nubOrd $ dls ^.. each %& indices (maybe (const True) (==) tool)
%> each %& indices (matchTest versionRegex . T.unpack . prettyVer)
% (viTestDL % _Just `summing` viSourceDL % _Just `summing` viArch % each % each % each)
)
etool
let gdlis = nubOrd $ gt ^.. each let gdlis = nubOrd $ gt ^.. each
let allDls = either (const gdlis) (const dlis) etool let allDls = either (const gdlis) (const dlis) etool
when (null allDls) $ logError "no tarballs selected by filter" *> runReaderT addError ref when (null allDls) $ logError "no tarballs selected by filter" *> runReaderT addError ref
@@ -245,32 +249,32 @@ validateTarballs (TarballFilter etool versionRegex) = do
, DownloadFailed , DownloadFailed
, UnknownArchive , UnknownArchive
, ArchiveResult , ArchiveResult
, ContentLengthError
] ]
$ do $ do
case etool of case etool of
Right (Just GHCup) -> do Right (Just GHCup) -> do
tmpUnpack <- lift mkGhcupTmpDir tmpUnpack <- lift mkGhcupTmpDir
_ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) tmpUnpack Nothing False _ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) Nothing (fromGHCupPath tmpUnpack) Nothing False
pure Nothing pure Nothing
Right _ -> do Right _ -> do
p <- liftE $ downloadCached dli Nothing p <- liftE $ downloadCached dli Nothing
fmap (Just . head . splitDirectories . head) fmap Just $ liftE
. liftE . getArchiveFiles
. getArchiveFiles $ p
$ p
Left ShimGen -> do Left ShimGen -> do
tmpUnpack <- lift mkGhcupTmpDir tmpUnpack <- lift mkGhcupTmpDir
_ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) tmpUnpack Nothing False _ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) Nothing (fromGHCupPath tmpUnpack) Nothing False
pure Nothing pure Nothing
case r of case r of
VRight (Just basePath) -> do VRight (Just entries) -> do
case _dlSubdir dli of case _dlSubdir dli of
Just (RealDir prel) -> do Just (RealDir prel) -> do
logInfo logInfo
$ " verifying subdir: " <> T.pack prel $ " verifying subdir: " <> T.pack prel
when (basePath /= prel) $ do when (normalise prel `notElem` fmap (normalise . takeDirectory) entries) $ do
logError $ logError $
"Subdir doesn't match: expected " <> T.pack prel <> ", got " <> T.pack basePath "Subdir doesn't match: expected " <> T.pack prel
runReaderT addError ref runReaderT addError ref
Just (RegexDir regexString) -> do Just (RegexDir regexString) -> do
logInfo $ logInfo $
@@ -279,9 +283,9 @@ validateTarballs (TarballFilter etool versionRegex) = do
compIgnoreCase compIgnoreCase
execBlank execBlank
regexString regexString
unless (match regex basePath) $ do unless (or $ fmap (match regex. normalise) entries) $ do
logError $ logError $
"Subdir doesn't match: expected regex " <> T.pack regexString <> ", got " <> T.pack basePath "Subdir doesn't match: expected regex " <> T.pack regexString
runReaderT addError ref runReaderT addError ref
Nothing -> pure () Nothing -> pure ()
VRight Nothing -> pure () VRight Nothing -> pure ()

View File

@@ -47,14 +47,14 @@ executable ghcup-gen
build-depends: build-depends:
, aeson-pretty ^>=0.8.9 , aeson-pretty ^>=0.8.9
, base >=4.13 && <5 , base >=4.13 && <5
, bytestring ^>=0.10 , bytestring ^>=0.11
, containers ^>=0.6 , containers ^>=0.6
, deepseq ^>=1.4 , deepseq ^>=1.4
, filepath ^>=1.4.2.1 , filepath ^>=1.4.2.1
, ghcup ^>=0.1.17.3 , ghcup ^>=0.1.19.0
, haskus-utils-variant ^>=3.2 , haskus-utils-variant ^>=3.2
, libarchive ^>=3.0.3.0 , libarchive ^>=3.0.3.0
, megaparsec ^>=9.0 , megaparsec >=8.0.0 && <9.3
, mtl ^>=2.2 , mtl ^>=2.2
, optics ^>=0.4 , optics ^>=0.4
, optparse-applicative >=0.15.1.0 && <0.17 , optparse-applicative >=0.15.1.0 && <0.17
@@ -63,7 +63,7 @@ executable ghcup-gen
, regex-posix ^>=0.96 , regex-posix ^>=0.96
, resourcet ^>=1.2.2 , resourcet ^>=1.2.2
, safe-exceptions ^>=0.1 , safe-exceptions ^>=0.1
, text ^>=1.2.4.0 , text ^>=2.0
, transformers ^>=0.5 , transformers ^>=0.5
, versions >=4.0.1 && <5.1 , versions >=4.0.1 && <5.1
, yaml-streamly ^>=0.12.0 , yaml-streamly ^>=0.12.0

View File

@@ -1,5 +1,8 @@
--- ---
globalTools: {} globalTools:
ShimGen:
dlUri: https://downloads.haskell.org/~ghcup/shimgen/shim-2.exe
dlHash: 7c55e201f71860c5babea886007c8fa44b861abf50d1c07e5677eb0bda387a70
toolRequirements: {} toolRequirements: {}
ghcupDownloads: ghcupDownloads:
Cabal: Cabal:
@@ -52,6 +55,7 @@ ghcupDownloads:
3.8.0.20220526: 3.8.0.20220526:
viTags: viTags:
- Prerelease - Prerelease
- old
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
@@ -90,6 +94,31 @@ ghcupDownloads:
unknown_versioning: unknown_versioning:
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-armv7-linux-deb1.tar.xz dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-armv7-linux-deb1.tar.xz
dlHash: 143589378a4a0e6a948c9130e42832feee189dc89ab7f29088db4b11db6d61a3 dlHash: 143589378a4a0e6a948c9130e42832feee189dc89ab7f29088db4b11db6d61a3
3.9.0.0:
viTags:
- LatestPrerelease
viArch:
A_64:
Linux_UnknownLinux:
unknown_versioning: &cabal-3900-32
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-linux-alpine.tar.xz
dlHash: 0374716dc33f255e1fb9ec38d83fdd3a3dc81ecf38af0a94b8ab0e1ba1a1ac1c
Linux_Alpine:
unknown_versioning: *cabal-3900-32
Darwin:
unknown_versioning:
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-darwin.tar.xz
dlHash: 067eb8fbb3deb87f5affc24b066d7a1d59001ed3a8290551da73d7dbe117fdc6
Windows:
unknown_versioning:
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-windows.zip
dlSubdir:
dlHash: 5f43f74ce0d641e7c4514e6ebcf86fb6d0fb0f4e015a0d6b5c7b83acf67534c1
A_ARM64:
Darwin:
unknown_versioning:
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-aarch64-darwin.tar.xz
dlHash: afef71289ef8464bb7f9c7c8face9856b4fc5e7c80a0dba45d39aa82c101b61c
GHC: GHC:
9.4.0.20220501: 9.4.0.20220501:
viTags: viTags:
@@ -347,6 +376,7 @@ ghcupDownloads:
viTags: viTags:
- Prerelease - Prerelease
- base-4.17.0.0 - base-4.17.0.0
- old
viChangeLog: https://downloads.haskell.org/ghc/9.4.1-rc1/docs/users_guide/index.html viChangeLog: https://downloads.haskell.org/ghc/9.4.1-rc1/docs/users_guide/index.html
viSourceDL: viSourceDL:
dlUri: https://downloads.haskell.org/~ghc/9.4.1-rc1/ghc-9.4.0.20220721-src.tar.xz dlUri: https://downloads.haskell.org/~ghc/9.4.1-rc1/ghc-9.4.0.20220721-src.tar.xz
@@ -428,11 +458,391 @@ ghcupDownloads:
dlUri: https://downloads.haskell.org/~ghc/9.4.1-rc1/ghc-9.4.0.20220721-aarch64-apple-darwin.tar.xz dlUri: https://downloads.haskell.org/~ghc/9.4.1-rc1/ghc-9.4.0.20220721-aarch64-apple-darwin.tar.xz
dlSubdir: ghc-9.4.0.20220721-aarch64-apple-darwin dlSubdir: ghc-9.4.0.20220721-aarch64-apple-darwin
dlHash: cca7bfbb7a8d4884314d8c033d4f9a96a9be5f399db276b796ad8cbb2deba6bd dlHash: cca7bfbb7a8d4884314d8c033d4f9a96a9be5f399db276b796ad8cbb2deba6bd
9.6.0.20230111:
viArch:
A_32:
Linux_Debian:
<10: &ghc-961alpha1-32-deb9
dlHash: 2774873cb9d4dbdd06f5de949d745d8922a1550686cd46c50b346f0e74472964
dlSubdir: ghc-9.6.0.20230111-i386-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-i386-deb9-linux.tar.xz
unknown_versioning: *ghc-961alpha1-32-deb9
Linux_Mint:
unknown_versioning: *ghc-961alpha1-32-deb9
Linux_Ubuntu:
unknown_versioning: *ghc-961alpha1-32-deb9
Linux_UnknownLinux:
unknown_versioning: *ghc-961alpha1-32-deb9
A_64:
Darwin:
unknown_versioning:
dlHash: 4e66ab081582942bd3254714fc59027847b2864e09ac6e5138d11ca5cf74863f
dlSubdir: ghc-9.6.0.20230111-x86_64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-apple-darwin.tar.xz
Linux_Alpine:
unknown_versioning:
dlHash: b946d100951558a4ba86cb1c6939a5cb875bb06b83cf6395276f4975bcdf844d
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-alpine3_12-linux-static-int_native.tar.xz
Linux_CentOS:
( >= 7 && < 8 ): &ghc-961alpha1-64-centos7
dlHash: c148cdb845c59ed5bc206ddeb200ad3ce334426ed63feec01ba33ad100378e4c
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-centos7-linux.tar.xz
unknown_versioning: *ghc-961alpha1-64-centos7
Linux_Debian:
(>= 10 && < 11): &ghc-961alpha1-64-deb10
dlHash: c16f3dc4a9ffbac2a0666cc94da5da161d17e4a7adcd5d9798464cf601f36db9
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-deb10-linux.tar.xz
< 10: &ghc-961alpha1-64-deb9
dlHash: 36ae78209b1ab5215fb791b67bb6e22f8748b19402289d6b59f684f419ea7e11
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-deb9-linux.tar.xz
'>= 11': &ghc-961alpha1-64-deb11
dlHash: 7be3b3ff3a8bcd99ac16112994d00627503cc60eeaeb93f3a22b3f95b929ef79
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-deb11-linux.tar.xz
unknown_versioning: *ghc-961alpha1-64-deb11
Linux_Fedora:
'>= 33': &ghc-961alpha1-64-fedora33
dlHash: 6dcfb6436a0f4deede4c9a1a695904e30ebb0375cabcecd4a780f10ca94f6302
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-fedora33-linux.tar.xz
unknown_versioning: *ghc-961alpha1-64-centos7
Linux_Mint:
< 20: *ghc-961alpha1-64-deb9
'>= 20': *ghc-961alpha1-64-deb10
Linux_RedHat:
unknown_versioning: *ghc-961alpha1-64-centos7
Linux_Ubuntu:
( >= 16 && < 19 ): *ghc-961alpha1-64-deb9
unknown_versioning: *ghc-961alpha1-64-deb10
Linux_UnknownLinux:
unknown_versioning: *ghc-961alpha1-64-fedora33
Windows:
unknown_versioning:
dlHash: 60064e9a4332e1fcb708723cc657de3be2b8701a4f6dd3fd3fb9de3793e6db32
dlSubdir: ghc-9.6.0.20230111-x86_64-unknown-mingw32
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-x86_64-unknown-mingw32.tar.xz
A_ARM64:
Darwin:
unknown_versioning:
dlHash: d94383fa3fa54c97a458e8ead10984ab660b7cad4cf2ebcd987fb8ee87096ffd
dlSubdir: ghc-9.6.0.20230111-aarch64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-aarch64-apple-darwin.tar.xz
Linux_UnknownLinux:
unknown_versioning:
dlHash: 351a9eaa32451fd351bab79a260ad3ec3c64be5686b77773d4fdc40e2255812a
dlSubdir: ghc-9.6.0.20230111-aarch64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-aarch64-deb10-linux.tar.xz
viChangeLog: https://downloads.haskell.org/~ghc/9.6.0.20230111/docs/users_guide/9.6.1-notes.html
viPostRemove: '*ghc-post-remove'
viSourceDL:
dlHash: c9647f22d8858d43c4a654ae1ef4b94660337f5658417d6344dca0d3946c6945
dlSubdir: ghc-9.6.0.20230111
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230111/ghc-9.6.0.20230111-src.tar.xz
viTags:
- Prerelease
- base-4.18.0.0
9.6.0.20230128:
viArch:
A_32:
Linux_Debian:
<10: &ghc-961alpha2-64-deb9
dlHash: e2f3e622f1aecfe0b6a305d0fb997e83453ecbc2949cb2b393549e35f2b062e1
dlSubdir: ghc-9.6.0.20230128-i386-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-i386-deb9-linux.tar.xz
unknown_versioning: *ghc-961alpha2-64-deb9
A_64:
Darwin:
unknown_versioning:
dlHash: 694d70b648853da04b115d7cdd4fb9bd953fb6361638ee83dda1f7fc8fb344f7
dlSubdir: ghc-9.6.0.20230128-x86_64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-apple-darwin.tar.xz
Linux_Alpine:
unknown_versioning:
dlHash: 19d8d59a6d68c3b3174a8e3513d3b9236ec8f505428e7e909af4e7b108716416
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-alpine3_12-linux-static-int_native.tar.xz
Linux_CentOS:
( >= 7 && < 8 ): &ghc-961alpha2-64-centos7
dlHash: 974513010e7d34ccfe01a0b83f31590b0bbc8f1104414ca619e72394b33cc3d0
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-centos7-linux.tar.xz
unknown_versioning: *ghc-961alpha2-64-centos7
Linux_Debian:
(>= 10 && < 11): &ghc-961alpha2-64-deb10
dlHash: ac5d97dcdf3d16a2015421cb2561bf800202385ef492e0a6bab529d7dff00d5c
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-deb10-linux.tar.xz
< 10: &ghc-961alpha2-64-deb9
dlHash: 8bfc3c7d3fd17bfcef6e49adcdf5d51d472e483802c0a7f35dcbc7853402da22
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-deb9-linux.tar.xz
'>= 11': &ghc-961alpha2-64-deb11
dlHash: 3834de0e46bdeb00bcc4a4b77c1bcccac1b3ea9da856ca713ff267d10bb9e90f
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-deb11-linux.tar.xz
unknown_versioning: *ghc-961alpha2-64-deb11
Linux_Fedora:
'>= 33': &ghc-961alpha2-64-fedora33
dlHash: 0bb20e3737a5447623ce8d9d9b5f4b4e71d969cbd0d234c264441dc45bd78bd2
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-fedora33-linux.tar.xz
unknown_versioning: *ghc-961alpha2-64-centos7
Linux_RedHat:
unknown_versioning: *ghc-961alpha2-64-centos7
Linux_Ubuntu:
'< 19': &ghc-961alpha2-64-ubuntu18
dlHash: 27e89a1210ac1ec434f947c635b1431cc19c8f15e0a1e0afa51d9356f87d3cb2
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-ubuntu18_04-linux.tar.xz
unknown_versioning: &ghc-961alpha2-64-ubuntu20
dlHash: 5115409cbec7c040345c7c4d335d48ee2789b05dc4669d95ccc609078f5d812a
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-ubuntu20_04-linux.tar.xz
Linux_Mint:
< 20: *ghc-961alpha2-64-ubuntu18
'>= 20': *ghc-961alpha2-64-ubuntu20
Linux_UnknownLinux:
unknown_versioning:
dlHash: 4c9dba7e69708fa172e7b8bac38e671f58829d73a29e489bbd7f99ce6a136989
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-rocky8-linux.tar.xz
Windows:
unknown_versioning:
dlHash: 68f1311660d47384fa5270c362aa87f2b9823d60963e975b071a00e010a35f9e
dlSubdir: ghc-9.6.0.20230128-x86_64-unknown-mingw32
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-x86_64-unknown-mingw32.tar.xz
A_ARM64:
Darwin:
unknown_versioning:
dlHash: 835c1247fc72b7a604e4cb84e3297672764cf8082fae2cbba94cc8d7384d119d
dlSubdir: ghc-9.6.0.20230128-aarch64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-aarch64-apple-darwin.tar.xz
Linux_UnknownLinux:
unknown_versioning:
dlHash: 6e0353a05d7a7e155a8681ad494d84195eb9a37f4654b0910302fca71f73c91d
dlSubdir: ghc-9.6.0.20230128-aarch64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-aarch64-deb10-linux.tar.xz
viChangeLog: https://downloads.haskell.org/~ghc/9.6.0.20230128/docs/users_guide/9.6.1-notes.html
viSourceDL:
dlHash: 531f58dc0e352987a637095c18252e5d6fef260969eb9cb3d8447888b0922da2
dlSubdir: ghc-9.6.0.20230128
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-src.tar.xz
viTestDL:
dlUri: https://downloads.haskell.org/ghc/9.6.0.20230128/ghc-9.6.0.20230128-testsuite.tar.xz
dlSubdir: ghc-9.6.0.20230128/testsuite
dlHash: ea1b8f07026183c72ced88433789e487dc5f3499f37f5798e19c8940a4844b24
viTags:
- Prerelease
- base-4.18.0.0
9.6.0.20230210:
viArch:
A_32:
Linux_Debian:
<10: &ghc-961alpha3-32-deb9
dlHash: 1e4c19f2f9352eba7392ef7055b476ce6793af33ec61164524c65e5297cbf302
dlSubdir: ghc-9.6.0.20230210-i386-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-i386-deb9-linux.tar.xz
unknown_versioning: *ghc-961alpha3-32-deb9
Linux_Mint:
unknown_versioning: *ghc-961alpha3-32-deb9
Linux_Ubuntu:
unknown_versioning: *ghc-961alpha3-32-deb9
Linux_UnknownLinux:
unknown_versioning: *ghc-961alpha3-32-deb9
A_64:
Darwin:
unknown_versioning:
dlHash: 25c32514e6aba55c510f01bb264d959a56c5fed114d7ef508de665c5eeaf47ed
dlSubdir: ghc-9.6.0.20230210-x86_64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-apple-darwin.tar.xz
Linux_Alpine:
unknown_versioning:
dlHash: 5722aca0e4da55e1e05c20bfcd63d21c59d0800e1850e87b4b9ad0066a918279
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-alpine3_12-linux-static-int_native.tar.xz
Linux_CentOS:
( >= 7 && < 8 ): &ghc-961alpha3-64-centos7
dlHash: 0f68876231e7bab3f261238533461aed0e231fa93b1483eef08a91dc510eddc1
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-centos7-linux.tar.xz
unknown_versioning: *ghc-961alpha3-64-centos7
Linux_Debian:
(>= 10 && < 11): &ghc-961alpha3-64-deb10
dlHash: fa0c2b8e31ea182f5111feeec3c3fcff2074857b5a068d8902519fdcc96b26e3
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-deb10-linux.tar.xz
< 10: &ghc-961alpha3-64-deb9
dlHash: 9a43cad78680d6a47e338ae5bc13deada164d7203996f7791e6957945c5aa5f3
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-deb9-linux.tar.xz
'>= 11': &ghc-961alpha3-64-deb11
dlHash: d552b709426dd8e1afa499789bd9ac775c1f062005656b4c41d28bb338d6692e
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-deb11-linux.tar.xz
unknown_versioning: *ghc-961alpha3-64-deb11
Linux_Fedora:
'>= 33': &ghc-961alpha3-64-fedora33
dlHash: ade217760de958e6ed8693b16245bd244a2ccf54c262b37222d784b839d8a699
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-fedora33-linux.tar.xz
unknown_versioning: *ghc-961alpha3-64-centos7
Linux_Mint:
< 20: &ghc-961alpha3-64-ubuntu18_04
dlHash: 2b9fc6fe9adcc16472040653d76707cdec2b3d3bc587d970998a2bd0d897e074
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-ubuntu18_04-linux.tar.xz
'>= 20': &ghc-961alpha3-64-ubuntu20_04
dlHash: c560cc7f64d1dd5d74660b31d1949a12b3fb451b1e7684e50c2b6013b78d7e00
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-ubuntu20_04-linux.tar.xz
Linux_RedHat:
unknown_versioning: *ghc-961alpha3-64-centos7
Linux_Ubuntu:
'< 19': *ghc-961alpha3-64-ubuntu18_04
unknown_versioning: *ghc-961alpha3-64-ubuntu20_04
Linux_UnknownLinux:
unknown_versioning:
dlHash: 4d5b4139ad285475af84cf09e61737925f2ce1bba61aafcf2af2a49791472449
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-rocky-linux.tar.xz
Windows:
unknown_versioning:
dlHash: a40ab69c7dde09fa0e1afa3e45a3a7d307637a116a4a1ab0a34deda330dcf627
dlSubdir: ghc-9.6.0.20230210-x86_64-unknown-mingw32
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-x86_64-unknown-mingw32.tar.xz
A_ARM64:
Darwin:
unknown_versioning:
dlHash: d6d44b25e2112ef0f86c936af97513c1cf398a5bdd6f112361abf5da3e9b990a
dlSubdir: ghc-9.6.0.20230210-aarch64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-aarch64-apple-darwin.tar.xz
Linux_UnknownLinux:
unknown_versioning:
dlHash: 00d5d68e4795629f6279796bba4ae8281361c6ca78b574a0563703218ba27c8b
dlSubdir: ghc-9.6.0.20230210-aarch64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-aarch64-deb10-linux.tar.xz
viChangeLog: https://downloads.haskell.org/~ghc/9.6.0.20230210/docs/users_guide/9.6.1-notes.html
viSourceDL:
dlHash: def4a7485162266e91ef4600dfcca84248bed6414717dd7eebacdad96a204f47
dlSubdir: ghc-9.6.0.20230210
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-src.tar.xz
viTestDL:
dlHash: 06e1c78cd6f199e091ae6fcf5249eaad8c1fc93a85aa3002448cbccc608a2f8e
dlSubdir: ghc-9.6.0.20230210
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-testsuite.tar.xz
viTags:
- Prerelease
- base-4.18.0.0
9.6.0.20230302:
viArch:
A_32:
Linux_Debian:
<10: &ghc-961rc1-32-debian10
dlHash: a4a0df9b980da59aaf4d121bddad20e750b17d45f90e8c5cdaa3fd94479087ea
dlSubdir: ghc-9.6.0.20230302-i386-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-i386-deb9-linux.tar.xz
unknown_versioning: *ghc-961rc1-32-debian10
Linux_Mint:
unknown_versioning: *ghc-961rc1-32-debian10
Linux_Ubuntu:
unknown_versioning: *ghc-961rc1-32-debian10
Linux_UnknownLinux:
unknown_versioning: *ghc-961rc1-32-debian10
A_64:
Darwin:
unknown_versioning:
dlHash: 8a291d92b470d412ba531b485b8a7692780334ae7690a3257f666d04ca374733
dlSubdir: ghc-9.6.0.20230302-x86_64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-apple-darwin.tar.xz
Linux_Alpine:
unknown_versioning:
dlHash: abb24cbd934333d660221ec872c3f11acbd295607c3b6183266fce9fe3158fb0
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-alpine3_12-linux-static-int_native.tar.xz
Linux_CentOS:
( >= 7 && < 8 ): &ghc-961rc1-64-centos7
dlHash: 76b0921881427e49fc0fe9460ca67b6df4236e33b1a64cca88b06f2f0510ffd1
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-centos7-linux.tar.xz
unknown_versioning: *ghc-961rc1-64-centos7
Linux_Debian:
(>= 10 && < 11):
dlHash: fd7834d8d2615be2620cf657ff3d37fd6d699aaa96175e3e984e50c84414ffa1
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-deb10-linux.tar.xz
< 10:
dlHash: 4aa4ba419265b790277acf8c6169e694d8b419077ed281e65d3461a2a2eafd00
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-deb9-linux.tar.xz
'>= 11': &ghc-961rc1-64-debian11
dlHash: 5137596a6956b779f2e1a9e05cde9dd00b9d68944d2f818f6a95d489dc62d248
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-deb11-linux.tar.xz
unknown_versioning: *ghc-961rc1-64-debian11
Linux_Fedora:
'>= 33':
dlHash: dd4b1eff940fb2e3b2203b1a6e3e32182fcff9f32c5dfaa9675d72665fac82b4
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-fedora33-linux.tar.xz
unknown_versioning: *ghc-961rc1-64-centos7
Linux_Mint:
< 20: &ghc-961rc1-64-ubuntu1804
dlHash: 5ea801852c74ecc41dda80f574eaa00f059adac502e6e8c611abc5f6606c7237
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-ubuntu18_04-linux.tar.xz
'>= 20': &ghc-961rc1-64-ubuntu2004
dlHash: 7004f93625c649eed1b44ede3530ccbab3baaaca5cd2f597cfd31051a2615510
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-ubuntu20_04-linux.tar.xz
Linux_RedHat:
unknown_versioning: *ghc-961rc1-64-centos7
Linux_Ubuntu:
( >= 16 && < 19 ): *ghc-961rc1-64-ubuntu1804
unknown_versioning: *ghc-961rc1-64-ubuntu2004
Linux_UnknownLinux:
unknown_versioning:
dlHash: 326397dfa23eee2698dd2491dd57ea5fc3de398cb979d7ed88058eb92d54c730
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-rocky8-linux.tar.xz
Windows:
unknown_versioning:
dlHash: 8b669a2ce7f36732aeedcaa9189f8aa9e57c61a0ecc59b3a96d7d4652e23e810
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-mingw32
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-unknown-mingw32.tar.xz
A_ARM64:
Darwin:
unknown_versioning:
dlHash: ad1c63895bff6fd6e4c206271c481e388f417f086d22172c57b0514e104c2bbc
dlSubdir: ghc-9.6.0.20230302-aarch64-apple-darwin
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-aarch64-apple-darwin.tar.xz
Linux_UnknownLinux:
unknown_versioning:
dlHash: 45ad27a9d03cb364b9d55da1e96e3b5da8f1f6ad3b472f94df6ec9c9c8621099
dlSubdir: ghc-9.6.0.20230302-aarch64-unknown-linux
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-aarch64-deb10-linux.tar.xz
viChangeLog: https://downloads.haskell.org/~ghc/9.6.0.20230302/docs/users_guide/9.6.1-notes.html
viSourceDL:
dlHash: 5658ff1357a82ffecf52c602b1aade4c63d1184bcbcd8b633dcc6c61a4a636f3
dlSubdir: ghc-9.6.0.20230302
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-src.tar.xz
viTags:
- base-4.18.0.0
- LatestPrerelease
viTestDL:
dlHash: 50950baf5bee33eb59c0d55913f283fd55d0c739a5bfed4badc42aa094e15f03
dlSubdir: ghc-9.6.0.20230302
dlUri: https://downloads.haskell.org/ghc/9.6.0.20230302/ghc-9.6.0.20230302-testsuite.tar.xz
Stack: Stack:
2.9.2.1: 2.9.2.1:
viTags: viTags:
- Prerelease - Prerelease
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.9/ChangeLog.md#v2921-release-candidate - old
viArch: viArch:
A_64: A_64:
Linux_UnknownLinux: Linux_UnknownLinux:
@@ -462,3 +872,42 @@ ghcupDownloads:
dlHash: 6e9f646ecd04892cf7edda11ff989abd885e29d05ad9f88d19e22afeb6e14275 dlHash: 6e9f646ecd04892cf7edda11ff989abd885e29d05ad9f88d19e22afeb6e14275
dlSubdir: dlSubdir:
RegexDir: "stack-.*" RegexDir: "stack-.*"
2.11.0.1:
viTags:
- LatestPrerelease
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.11/ChangeLog.md#v21101-release-candidate
viArch:
A_64:
Linux_UnknownLinux:
unknown_versioning: &stack-21101-64
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-linux-x86_64-static.tar.gz
dlHash: 051bbb3333f2e235bbd9d1473d9a54ce73023a7899a0b03f954a1e2ced069df8
dlSubdir:
RegexDir: "stack-.*"
Darwin:
unknown_versioning:
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-osx-x86_64.tar.gz
dlHash: dfb7ae4f0efbd1e680701262f0c1e63cdaefdb2e21725669e690ef27c80fd185
dlSubdir:
RegexDir: "stack-.*"
Windows:
unknown_versioning:
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-windows-x86_64.tar.gz
dlHash: b22d747635aeab29aa2c194f34e05ddf2a770bc4790af62fc3c3175977ea4006
dlSubdir:
RegexDir: "stack-.*"
Linux_Alpine:
unknown_versioning: *stack-21101-64
A_ARM64:
Linux_UnknownLinux:
unknown_versioning:
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-linux-aarch64.tar.gz
dlHash: ca8c0032c572e54df1dda4ca8841ed55fea6735b445066888aac852612855688
dlSubdir:
RegexDir: "stack-.*"
Darwin:
unknown_versioning:
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/stack/2.11.0.1/stack-2.11.0.1-osx-aarch64.tar.gz
dlHash: 9c8f5bf26f768c5b0f7d44bd4617c2fd19ff278455d9fc5adc3384f57fdf4674
dlSubdir:
RegexDir: "stack-.*"

Binary file not shown.

4564
ghcup-vanilla-0.0.7.yaml Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -608,5 +608,257 @@
"9.4.2" "9.4.2"
] ]
} }
},
"1.9.0.0": {
"A_64": {
"Darwin": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_CentOS": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_Debian": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_Fedora": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_Mint": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_Ubuntu": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_UnknownLinux": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Windows": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
]
},
"A_ARM64": {
"Darwin": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
],
"Linux_UnknownLinux": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.4.3",
"9.4.4"
]
}
},
"1.9.1.0": {
"A_64": {
"Darwin": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"FreeBSD": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6"
],
"Linux_CentOS": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_Debian": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_Fedora": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_Mint": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_RedHat": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_Ubuntu": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_UnknownLinux": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Windows": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
]
},
"A_ARM64": {
"Darwin": [
"8.10.7",
"9.2.5",
"9.2.6",
"9.4.4"
],
"Linux_UnknownLinux": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.6",
"9.4.4"
]
}
},
"1.10.0.0": {
"A_64": {
"Darwin": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"FreeBSD": [
"8.10.7",
"9.0.2",
"9.2.5",
"9.2.7"
],
"Linux_CentOS": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_Debian": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_Fedora": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_Mint": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_RedHat": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_Ubuntu": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_UnknownLinux": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Windows": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
]
},
"A_ARM64": {
"Darwin": [
"8.10.7",
"9.2.7",
"9.4.4",
"9.6.1"
],
"Linux_UnknownLinux": [
"8.10.7",
"9.0.2",
"9.2.7",
"9.4.4",
"9.6.1"
]
}
} }
} }

Binary file not shown.