Compare commits
68 Commits
ghcup-gen
...
ubuntu20.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
cd37f937b0
|
|||
|
fbf06cc9ee
|
|||
|
5f4cd00631
|
|||
|
ff2b373807
|
|||
|
ac808aebbd
|
|||
|
bb8c6b8d34
|
|||
|
88696a0cc5
|
|||
|
c9384767ac
|
|||
|
359ed3103a
|
|||
|
ba42ed295f
|
|||
|
7ab9f62645
|
|||
|
9d2ebcb74d
|
|||
|
4c23f6a49e
|
|||
|
3683db0155
|
|||
|
cc4bf53a23
|
|||
|
40bf6cd44b
|
|||
|
3ad280534b
|
|||
|
40be6ebe7a
|
|||
|
7eac30f2d9
|
|||
|
afcb5ff508
|
|||
|
b8907c7c14
|
|||
|
df8ab38e1f
|
|||
|
6fae2f7bc2
|
|||
|
0371870d77
|
|||
|
03f047e369
|
|||
|
2bedba1205
|
|||
|
3c9c41f9a7
|
|||
|
b1d0995221
|
|||
|
c12e652817
|
|||
|
80b61ee4b7
|
|||
|
a5c26cedb3
|
|||
|
ee446fb9f9
|
|||
|
81fe5fc42e
|
|||
|
1dea46b148
|
|||
|
d68f918a6d
|
|||
|
|
8e59562a96 | ||
|
|
9f06e257e0 | ||
|
0470341203
|
|||
|
0ccf71d8b9
|
|||
|
|
a7ceeca0f0 | ||
|
|
e22bba40c3 | ||
|
c43df2e806
|
|||
|
349f72488c
|
|||
|
cbc7043918
|
|||
|
610714d15f
|
|||
|
fd8e23873a
|
|||
|
37e87912c3
|
|||
|
b24fff8359
|
|||
|
e199e9bc99
|
|||
|
453552f9b1
|
|||
|
9f0a816876
|
|||
|
de121bca52
|
|||
|
401b308307
|
|||
|
|
acfaee0bd5 | ||
|
|
e0a863cd53 | ||
|
176d619b1f
|
|||
|
ffd62a4c32
|
|||
|
11600fbb34
|
|||
|
15c76331f8
|
|||
|
8fd5f30f19
|
|||
|
3a7b8e138c
|
|||
|
9fb3a29d64
|
|||
|
e966566fc3
|
|||
|
0730c8727d
|
|||
|
837be46b54
|
|||
|
b0afc6ce76
|
|||
|
97a0c97074
|
|||
|
8e457d1870
|
@@ -7,6 +7,7 @@
|
|||||||
3. copy-paste it
|
3. copy-paste it
|
||||||
4. adjust the version, tags, changelog, source url
|
4. adjust the version, tags, changelog, source url
|
||||||
5. adjust the various bindist urls (make sure to also change the yaml anchors)
|
5. adjust the various bindist urls (make sure to also change the yaml anchors)
|
||||||
6. run `cabal run ghcup-gen -- check -f ghcup-<yaml-ver>.yaml`
|
6. run `cabal run ghcup-gen -- check -f ghcup-<yaml-ver>.yaml`
|
||||||
7. run `cabal run ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'`
|
7. run `cabal run ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'`
|
||||||
|
8. run `cabal run ghcup-gen -- generate-hls-ghcs -f ghcup-<yaml-ver>.yaml --format json -o hls-metadata-0.0.1.json`
|
||||||
|
9. run `cabal run ghcup-gen -- generate-table -f ghcup-<yaml-ver>.yaml --stdout` and adjust [docs/install](https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/docs/install.md) tables
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ package ghcup
|
|||||||
source-repository-package
|
source-repository-package
|
||||||
type: git
|
type: git
|
||||||
location: https://gitlab.haskell.org/haskell/ghcup-hs.git
|
location: https://gitlab.haskell.org/haskell/ghcup-hs.git
|
||||||
tag: v0.1.17.3
|
tag: v0.1.17.6
|
||||||
|
|
||||||
constraints: http-io-streams -brotli,
|
constraints: http-io-streams -brotli,
|
||||||
any.Cabal ==3.6.2.0,
|
any.Cabal ==3.6.2.0,
|
||||||
|
|||||||
@@ -2132,7 +2132,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GHCup": {
|
"GHCup": {
|
||||||
"0.1.16.2": {
|
"0.1.17.5": {
|
||||||
"viTags": [
|
"viTags": [
|
||||||
"Recommended",
|
"Recommended",
|
||||||
"Latest"
|
"Latest"
|
||||||
@@ -2143,32 +2143,32 @@
|
|||||||
"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.17.5/x86_64-linux-ghcup-0.1.17.5",
|
||||||
"dlSubdir": null,
|
"dlSubdir": null,
|
||||||
"dlHash": "d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893"
|
"dlHash": "7541bcf0b402f99d05cd1937f9fef69aec45c3153e42606671825be248484fb5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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.17.5/x86_64-apple-darwin-ghcup-0.1.17.5",
|
||||||
"dlSubdir": null,
|
"dlSubdir": null,
|
||||||
"dlHash": "a334620ccce7705211b2142882dde544003e6030af4b91a44c890542a90f879f"
|
"dlHash": "8b5159775de08a5f268f4be217fbb6f427ff8d8977197af209211b81ca0fe27f"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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.17.5/x86_64-freebsd12-ghcup-0.1.17.5",
|
||||||
"dlSubdir": null,
|
"dlSubdir": null,
|
||||||
"dlHash": "92359592a5694375e53b22628920086bf4bbf0faff5be018a0ed3e745a6426a9"
|
"dlHash": "babb7366abb17bcb5d4fc1500039040f1b957073d618db3f1473b0bae6abc6bb"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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.17.5/i386-linux-ghcup-0.1.17.5",
|
||||||
"dlSubdir": null,
|
"dlSubdir": null,
|
||||||
"dlHash": "01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38"
|
"dlHash": "5a2b1d2ceb32857866689ee1a1e29c5747333882a4e952d80eccf49482d3daab"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1384,7 +1384,7 @@ 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.16.2:
|
0.1.17.5:
|
||||||
viTags:
|
viTags:
|
||||||
- Recommended
|
- Recommended
|
||||||
- Latest
|
- Latest
|
||||||
@@ -1394,22 +1394,22 @@ ghcupDownloads:
|
|||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &ghcup-64
|
unknown_versioning: &ghcup-64
|
||||||
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.17.5/x86_64-linux-ghcup-0.1.17.5
|
||||||
dlHash: d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893
|
dlHash: 7541bcf0b402f99d05cd1937f9fef69aec45c3153e42606671825be248484fb5
|
||||||
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.17.5/x86_64-apple-darwin-ghcup-0.1.17.5
|
||||||
dlHash: a334620ccce7705211b2142882dde544003e6030af4b91a44c890542a90f879f
|
dlHash: 8b5159775de08a5f268f4be217fbb6f427ff8d8977197af209211b81ca0fe27f
|
||||||
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.17.5/x86_64-freebsd12-ghcup-0.1.17.5
|
||||||
dlHash: 92359592a5694375e53b22628920086bf4bbf0faff5be018a0ed3e745a6426a9
|
dlHash: babb7366abb17bcb5d4fc1500039040f1b957073d618db3f1473b0bae6abc6bb
|
||||||
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.16.2/i386-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/i386-linux-ghcup-0.1.17.5
|
||||||
dlHash: 01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38
|
dlHash: 5a2b1d2ceb32857866689ee1a1e29c5747333882a4e952d80eccf49482d3daab
|
||||||
Linux_Alpine:
|
Linux_Alpine:
|
||||||
unknown_versioning: *ghcup-32
|
unknown_versioning: *ghcup-32
|
||||||
|
|||||||
Binary file not shown.
@@ -1451,7 +1451,7 @@ 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.16.2:
|
0.1.17.5:
|
||||||
viTags:
|
viTags:
|
||||||
- Recommended
|
- Recommended
|
||||||
- Latest
|
- Latest
|
||||||
@@ -1461,23 +1461,23 @@ ghcupDownloads:
|
|||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &ghcup-64
|
unknown_versioning: &ghcup-64
|
||||||
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.17.5/x86_64-linux-ghcup-0.1.17.5
|
||||||
dlHash: d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893
|
dlHash: 7541bcf0b402f99d05cd1937f9fef69aec45c3153e42606671825be248484fb5
|
||||||
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.17.5/x86_64-apple-darwin-ghcup-0.1.17.5
|
||||||
dlHash: a334620ccce7705211b2142882dde544003e6030af4b91a44c890542a90f879f
|
dlHash: 8b5159775de08a5f268f4be217fbb6f427ff8d8977197af209211b81ca0fe27f
|
||||||
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.17.5/x86_64-freebsd12-ghcup-0.1.17.5
|
||||||
dlHash: 92359592a5694375e53b22628920086bf4bbf0faff5be018a0ed3e745a6426a9
|
dlHash: babb7366abb17bcb5d4fc1500039040f1b957073d618db3f1473b0bae6abc6bb
|
||||||
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.16.2/i386-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.5/i386-linux-ghcup-0.1.17.5
|
||||||
dlHash: 01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38
|
dlHash: 5a2b1d2ceb32857866689ee1a1e29c5747333882a4e952d80eccf49482d3daab
|
||||||
Linux_Alpine:
|
Linux_Alpine:
|
||||||
unknown_versioning: *ghcup-32
|
unknown_versioning: *ghcup-32
|
||||||
HLS:
|
HLS:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1868,7 +1868,7 @@ 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.16.2:
|
0.1.17.7:
|
||||||
viTags:
|
viTags:
|
||||||
- Recommended
|
- Recommended
|
||||||
- Latest
|
- Latest
|
||||||
@@ -1878,39 +1878,39 @@ ghcupDownloads:
|
|||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &ghcup-64
|
unknown_versioning: &ghcup-64
|
||||||
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.17.7/x86_64-linux-ghcup-0.1.17.7
|
||||||
dlHash: d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893
|
dlHash: e16eaf59dab84be7aa6415b53a3497f211d05163a50584dc854569b2ef8a7a3a
|
||||||
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.17.7/x86_64-apple-darwin-ghcup-0.1.17.7
|
||||||
dlHash: a334620ccce7705211b2142882dde544003e6030af4b91a44c890542a90f879f
|
dlHash: 9702f30c9374a122d79f7ef11170b34deb248a0f3cd92d671c0aab747be4add7
|
||||||
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.17.7/x86_64-freebsd12-ghcup-0.1.17.7
|
||||||
dlHash: 92359592a5694375e53b22628920086bf4bbf0faff5be018a0ed3e745a6426a9
|
dlHash: d3d0644dc5d9b51ed1c345fc006e936e9284b3181e5a9cccf4cf70a7184398fe
|
||||||
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.16.2/i386-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/i386-linux-ghcup-0.1.17.7
|
||||||
dlHash: 01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38
|
dlHash: 209f61872a5b401e85e4d542dd8d0c96437c1f1ad94b4fa5a28856f34ab0cab8
|
||||||
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.16.2/aarch64-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/aarch64-linux-ghcup-0.1.17.7
|
||||||
dlHash: 0bdbfc724e0ddabb266156eea83c2c4e19c6ed79dd06db0c29b7d69df8d9fa8c
|
dlHash: 392dc46ef3f98733b154188982866859d174a750e32c5b742e6a1cf60159954e
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/0.1.16.2/aarch64-apple-darwin-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/aarch64-apple-darwin-ghcup-0.1.17.7
|
||||||
dlHash: 8854e991a2ba1350abda59dab96ce50ae7729d1ce99399d67929ef31e90f1da5
|
dlHash: 102d808b31248f86cbf569162ba1b7955e6747a684b2b4200b0958d6e4c54267
|
||||||
A_ARM:
|
A_ARM:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/0.1.16.2/armv7-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/armv7-linux-ghcup-0.1.17.7
|
||||||
dlHash: 983ebb5b584bfa600704216a63f94b40d36a02573834e90ef1042c8472d9ad57
|
dlHash: 8438e22241fab4bfde94066a34600ab003db2f4ecadfd54bfad4ae990e6549a1
|
||||||
HLS:
|
HLS:
|
||||||
1.1.0:
|
1.1.0:
|
||||||
viTags:
|
viTags:
|
||||||
|
|||||||
Binary file not shown.
@@ -2025,7 +2025,7 @@ 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.16.2:
|
0.1.17.7:
|
||||||
viTags:
|
viTags:
|
||||||
- Recommended
|
- Recommended
|
||||||
- Latest
|
- Latest
|
||||||
@@ -2035,43 +2035,43 @@ ghcupDownloads:
|
|||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &ghcup-64
|
unknown_versioning: &ghcup-64
|
||||||
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.17.7/x86_64-linux-ghcup-0.1.17.7
|
||||||
dlHash: d5e43b95ce1d42263376e414f7eb7c5dd440271c7c6cd9bad446fdeff3823893
|
dlHash: e16eaf59dab84be7aa6415b53a3497f211d05163a50584dc854569b2ef8a7a3a
|
||||||
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.17.7/x86_64-apple-darwin-ghcup-0.1.17.7
|
||||||
dlHash: a334620ccce7705211b2142882dde544003e6030af4b91a44c890542a90f879f
|
dlHash: 9702f30c9374a122d79f7ef11170b34deb248a0f3cd92d671c0aab747be4add7
|
||||||
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.17.7/x86_64-freebsd12-ghcup-0.1.17.7
|
||||||
dlHash: 92359592a5694375e53b22628920086bf4bbf0faff5be018a0ed3e745a6426a9
|
dlHash: d3d0644dc5d9b51ed1c345fc006e936e9284b3181e5a9cccf4cf70a7184398fe
|
||||||
Windows:
|
Windows:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/0.1.16.2/x86_64-mingw64-ghcup-0.1.16.2.exe
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/x86_64-mingw64-ghcup-0.1.17.7.exe
|
||||||
dlHash: ec78872a84213968c490675127b9aad2285980b747c68207801ae824b98c7948
|
dlHash: 3f372469e2cb21546bd2a4925747aabb175a8a55639ed8bf4610c5390bfa7b6b
|
||||||
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.16.2/i386-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/i386-linux-ghcup-0.1.17.7
|
||||||
dlHash: 01968ca6decac7b6e8ba6e2c817870d3fa47289a6507e0c1ab563f7b6eec0e38
|
dlHash: 209f61872a5b401e85e4d542dd8d0c96437c1f1ad94b4fa5a28856f34ab0cab8
|
||||||
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.16.2/aarch64-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/aarch64-linux-ghcup-0.1.17.7
|
||||||
dlHash: 0bdbfc724e0ddabb266156eea83c2c4e19c6ed79dd06db0c29b7d69df8d9fa8c
|
dlHash: 392dc46ef3f98733b154188982866859d174a750e32c5b742e6a1cf60159954e
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/0.1.16.2/aarch64-apple-darwin-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/aarch64-apple-darwin-ghcup-0.1.17.7
|
||||||
dlHash: 8854e991a2ba1350abda59dab96ce50ae7729d1ce99399d67929ef31e90f1da5
|
dlHash: 102d808b31248f86cbf569162ba1b7955e6747a684b2b4200b0958d6e4c54267
|
||||||
A_ARM:
|
A_ARM:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/0.1.16.2/armv7-linux-ghcup-0.1.16.2
|
dlUri: https://downloads.haskell.org/~ghcup/0.1.17.7/armv7-linux-ghcup-0.1.17.7
|
||||||
dlHash: 983ebb5b584bfa600704216a63f94b40d36a02573834e90ef1042c8472d9ad57
|
dlHash: 8438e22241fab4bfde94066a34600ab003db2f4ecadfd54bfad4ae990e6549a1
|
||||||
HLS:
|
HLS:
|
||||||
1.1.0:
|
1.1.0:
|
||||||
viTags: []
|
viTags: []
|
||||||
|
|||||||
Binary file not shown.
726
ghcup-0.0.6.yaml
726
ghcup-0.0.6.yaml
File diff suppressed because it is too large
Load Diff
Binary file not shown.
3150
ghcup-0.0.7.yaml
Normal file
3150
ghcup-0.0.7.yaml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ghcup-0.0.7.yaml.sig
Normal file
BIN
ghcup-0.0.7.yaml.sig
Normal file
Binary file not shown.
177
ghcup-gen/Generate.hs
Normal file
177
ghcup-gen/Generate.hs
Normal file
@@ -0,0 +1,177 @@
|
|||||||
|
{-# LANGUAGE CPP #-}
|
||||||
|
{-# LANGUAGE DataKinds #-}
|
||||||
|
{-# LANGUAGE FlexibleContexts #-}
|
||||||
|
{-# LANGUAGE QuasiQuotes #-}
|
||||||
|
{-# LANGUAGE TemplateHaskell #-}
|
||||||
|
{-# LANGUAGE TypeApplications #-}
|
||||||
|
{-# LANGUAGE ViewPatterns #-}
|
||||||
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
|
|
||||||
|
module Generate where
|
||||||
|
|
||||||
|
import GHCup
|
||||||
|
import GHCup.Download
|
||||||
|
import GHCup.Errors
|
||||||
|
import GHCup.Types
|
||||||
|
import GHCup.Types.Optics
|
||||||
|
import GHCup.Utils
|
||||||
|
|
||||||
|
|
||||||
|
import Codec.Archive
|
||||||
|
import Control.DeepSeq
|
||||||
|
import Control.Exception ( evaluate )
|
||||||
|
import Control.Exception.Safe hiding ( handle )
|
||||||
|
import Control.Monad
|
||||||
|
import Control.Monad.IO.Class
|
||||||
|
import Control.Monad.Reader.Class
|
||||||
|
import Control.Monad.Trans.Resource ( runResourceT
|
||||||
|
, MonadUnliftIO
|
||||||
|
)
|
||||||
|
import qualified Data.Aeson.Encode.Pretty as Aeson
|
||||||
|
import Data.ByteString ( ByteString )
|
||||||
|
import Data.Either
|
||||||
|
import Data.Maybe
|
||||||
|
import Data.List
|
||||||
|
import Data.Map.Strict ( Map )
|
||||||
|
import Data.Versions
|
||||||
|
import Haskus.Utils.Variant.Excepts
|
||||||
|
import System.Exit
|
||||||
|
import System.FilePath
|
||||||
|
import System.IO
|
||||||
|
import Text.Regex.Posix
|
||||||
|
import GHCup.Utils.String.QQ
|
||||||
|
|
||||||
|
import qualified Data.ByteString.Lazy as BSL
|
||||||
|
import qualified Data.Map.Strict as M
|
||||||
|
import qualified Data.Text as T
|
||||||
|
import qualified Data.Yaml.Pretty as YAML
|
||||||
|
import qualified Text.Megaparsec as MP
|
||||||
|
|
||||||
|
data Format = FormatJSON
|
||||||
|
| FormatYAML
|
||||||
|
|
||||||
|
data Output
|
||||||
|
= FileOutput FilePath -- optsparse-applicative doesn't handle ByteString correctly anyway
|
||||||
|
| StdOut
|
||||||
|
|
||||||
|
type HlsGhcVersions = Map Version (Map Architecture (Map Platform Version))
|
||||||
|
|
||||||
|
generateHLSGhc :: ( MonadFail m
|
||||||
|
, MonadMask m
|
||||||
|
, Monad m
|
||||||
|
, MonadReader env m
|
||||||
|
, HasSettings env
|
||||||
|
, HasDirs env
|
||||||
|
, HasLog env
|
||||||
|
, MonadThrow m
|
||||||
|
, MonadIO m
|
||||||
|
, MonadUnliftIO m
|
||||||
|
, HasGHCupInfo env
|
||||||
|
)
|
||||||
|
=> Format
|
||||||
|
-> Output
|
||||||
|
-> m ExitCode
|
||||||
|
generateHLSGhc format output = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls } <- getGHCupInfo
|
||||||
|
let hlses = dls M.! HLS
|
||||||
|
r <- forM hlses $ \(_viArch -> archs) ->
|
||||||
|
forM archs $ \plats ->
|
||||||
|
forM plats $ \(head . M.toList -> (_, dli)) -> do
|
||||||
|
VRight r <- runResourceT . runE
|
||||||
|
@'[DigestError
|
||||||
|
, GPGError
|
||||||
|
, DownloadFailed
|
||||||
|
, UnknownArchive
|
||||||
|
, ArchiveResult
|
||||||
|
] $ do
|
||||||
|
fp <- liftE $ downloadCached dli Nothing
|
||||||
|
let subd = _dlSubdir dli
|
||||||
|
filesL <- liftE $ getArchiveFiles fp
|
||||||
|
files <- liftIO $ evaluate $ force filesL
|
||||||
|
case subd of
|
||||||
|
Just (RealDir d)
|
||||||
|
| d </> "GNUmakefile" `elem` files
|
||||||
|
-> do let regex = makeRegexOpts compExtended execBlank ([s|^haskell-language-server-([0-9]+\.)*([0-9]+)(\.in)$|] :: ByteString)
|
||||||
|
pure (rights $ MP.parse version' ""
|
||||||
|
. T.pack
|
||||||
|
. fromJust
|
||||||
|
. stripPrefix "haskell-language-server-"
|
||||||
|
. stripIn
|
||||||
|
<$> filter (match regex) (fromJust . stripPrefix (d <> "/") <$> files)
|
||||||
|
)
|
||||||
|
_ -> do let regex = makeRegexOpts compExtended execBlank ([s|^haskell-language-server-([0-9]+\.)*([0-9]+)(\.exe)?$|] :: ByteString)
|
||||||
|
pure (rights $ MP.parse version' ""
|
||||||
|
. T.pack
|
||||||
|
. fromJust
|
||||||
|
. stripPrefix "haskell-language-server-"
|
||||||
|
. stripExe
|
||||||
|
<$> filter (match regex) files
|
||||||
|
)
|
||||||
|
pure (sort r)
|
||||||
|
let w = case format of
|
||||||
|
FormatYAML -> BSL.fromStrict $ YAML.encodePretty YAML.defConfig r
|
||||||
|
FormatJSON -> Aeson.encodePretty r
|
||||||
|
case output of
|
||||||
|
StdOut -> liftIO $ BSL.putStr w
|
||||||
|
FileOutput f -> liftIO $ BSL.writeFile f w
|
||||||
|
pure ExitSuccess
|
||||||
|
where
|
||||||
|
stripExe :: String -> String
|
||||||
|
stripExe f = case reverse f of
|
||||||
|
('e':'x':'e':'.':r) -> reverse r
|
||||||
|
_ -> f
|
||||||
|
stripIn :: String -> String
|
||||||
|
stripIn f = case reverse f of
|
||||||
|
('n':'i':'.':r) -> reverse r
|
||||||
|
_ -> f
|
||||||
|
|
||||||
|
generateTable :: ( MonadFail m
|
||||||
|
, MonadMask m
|
||||||
|
, Monad m
|
||||||
|
, MonadReader env m
|
||||||
|
, HasSettings env
|
||||||
|
, HasDirs env
|
||||||
|
, HasLog env
|
||||||
|
, MonadThrow m
|
||||||
|
, MonadIO m
|
||||||
|
, HasPlatformReq env
|
||||||
|
, HasGHCupInfo env
|
||||||
|
, MonadUnliftIO m
|
||||||
|
)
|
||||||
|
=> Output
|
||||||
|
-> m ExitCode
|
||||||
|
generateTable output = do
|
||||||
|
handle <- case output of
|
||||||
|
StdOut -> pure stdout
|
||||||
|
FileOutput fp -> liftIO $ openFile fp WriteMode
|
||||||
|
|
||||||
|
forM_ [GHC,Cabal,HLS,Stack] $ \tool -> do
|
||||||
|
case tool of
|
||||||
|
GHC -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://www.haskell.org/ghc/'>GHC</a> versions</summary>"
|
||||||
|
Cabal -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://cabal.readthedocs.io/en/stable/'>cabal-install</a> versions</summary>"
|
||||||
|
HLS -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://haskell-language-server.readthedocs.io/en/stable/'>HLS</a> versions</summary>"
|
||||||
|
Stack -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://docs.haskellstack.org/en/stable/README/'>Stack</a> versions</summary>"
|
||||||
|
liftIO $ hPutStrLn handle $ "<table>"
|
||||||
|
liftIO $ hPutStrLn handle $ "<thead><tr><th>" <> show tool <> " Version</th><th>Tags</th></tr></thead>"
|
||||||
|
liftIO $ hPutStrLn handle $ "<tbody>"
|
||||||
|
vers <- reverse <$> listVersions (Just tool) Nothing
|
||||||
|
forM_ (filter (\ListResult{..} -> not lStray) vers) $ \ListResult{..} -> do
|
||||||
|
liftIO $ hPutStrLn handle $
|
||||||
|
"<tr><td>"
|
||||||
|
<> T.unpack (prettyVer lVer)
|
||||||
|
<> "</td><td>"
|
||||||
|
<> intercalate ", " (filter (/= "") . fmap printTag $ sort lTag)
|
||||||
|
<> "</td></tr>"
|
||||||
|
pure ()
|
||||||
|
liftIO $ hPutStrLn handle $ "</tbody>"
|
||||||
|
liftIO $ hPutStrLn handle $ "</table>"
|
||||||
|
liftIO $ hPutStrLn handle $ "</details>"
|
||||||
|
liftIO $ hPutStrLn handle $ ""
|
||||||
|
pure ExitSuccess
|
||||||
|
where
|
||||||
|
printTag Recommended = "<span style=\"color:green\">recommended</span>"
|
||||||
|
printTag Latest = "<span style=\"color:blue\">latest</span>"
|
||||||
|
printTag Prerelease = "<span style=\"color:red\">prerelease</span>"
|
||||||
|
printTag (Base pvp'') = "base-" ++ T.unpack (prettyPVP pvp'')
|
||||||
|
printTag (UnknownTag t ) = t
|
||||||
|
printTag Old = ""
|
||||||
@@ -29,6 +29,7 @@ import System.Environment
|
|||||||
import System.Exit
|
import System.Exit
|
||||||
import System.IO ( stderr )
|
import System.IO ( stderr )
|
||||||
import Text.Regex.Posix
|
import Text.Regex.Posix
|
||||||
|
import Generate
|
||||||
import Validate
|
import Validate
|
||||||
import Text.PrettyPrint.HughesPJClass ( prettyShow )
|
import Text.PrettyPrint.HughesPJClass ( prettyShow )
|
||||||
|
|
||||||
@@ -42,10 +43,46 @@ data Options = Options
|
|||||||
{ optCommand :: Command
|
{ optCommand :: Command
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
formatParser :: Parser Format
|
||||||
|
formatParser =
|
||||||
|
option
|
||||||
|
(eitherReader formatP)
|
||||||
|
(long "format" <> metavar "FORMAT" <> help
|
||||||
|
"Which format to use (JSON | YAML). Yaml is default."
|
||||||
|
<> value FormatJSON
|
||||||
|
)
|
||||||
|
where
|
||||||
|
formatP :: String -> Either String Format
|
||||||
|
formatP s' | t == T.pack "json" = Right FormatJSON
|
||||||
|
| t == T.pack "yaml" = Right FormatYAML
|
||||||
|
| t == T.pack "yml" = Right FormatYAML
|
||||||
|
| otherwise = Left ("Unknown format value: " <> s')
|
||||||
|
where t = T.toLower (T.pack s')
|
||||||
|
|
||||||
|
|
||||||
data Command = ValidateYAML ValidateYAMLOpts
|
data Command = ValidateYAML ValidateYAMLOpts
|
||||||
| ValidateTarballs ValidateYAMLOpts TarballFilter
|
| ValidateTarballs ValidateYAMLOpts TarballFilter
|
||||||
|
| GenerateHlsGhc ValidateYAMLOpts Format Output
|
||||||
|
| GenerateToolTable ValidateYAMLOpts Output
|
||||||
|
|
||||||
|
|
||||||
|
fileOutput :: Parser Output
|
||||||
|
fileOutput =
|
||||||
|
FileOutput
|
||||||
|
<$> strOption
|
||||||
|
(long "output-file" <> short 'o' <> metavar "FILENAME" <> help
|
||||||
|
"Output file to write to"
|
||||||
|
)
|
||||||
|
|
||||||
|
stdOutput :: Parser Output
|
||||||
|
stdOutput = flag'
|
||||||
|
StdOut
|
||||||
|
(short 'o' <> long "stdout" <> help "Output to stdout (default)")
|
||||||
|
|
||||||
|
outputP :: Parser Output
|
||||||
|
outputP = fileOutput <|> stdOutput
|
||||||
|
|
||||||
data Input
|
data Input
|
||||||
= FileInput FilePath -- optsparse-applicative doesn't handle ByteString correctly anyway
|
= FileInput FilePath -- optsparse-applicative doesn't handle ByteString correctly anyway
|
||||||
| StdInput
|
| StdInput
|
||||||
@@ -108,6 +145,18 @@ com = subparser
|
|||||||
((ValidateTarballs <$> validateYAMLOpts <*> tarballFilterP) <**> helper)
|
((ValidateTarballs <$> validateYAMLOpts <*> tarballFilterP) <**> helper)
|
||||||
(progDesc "Validate all tarballs (download and checksum)")
|
(progDesc "Validate all tarballs (download and checksum)")
|
||||||
)
|
)
|
||||||
|
<> command
|
||||||
|
"generate-hls-ghcs"
|
||||||
|
(info
|
||||||
|
((GenerateHlsGhc <$> validateYAMLOpts <*> formatParser <*> outputP) <**> helper)
|
||||||
|
(progDesc "Generate a list of HLS-GHC support")
|
||||||
|
)
|
||||||
|
<> command
|
||||||
|
"generate-table"
|
||||||
|
(info
|
||||||
|
((GenerateToolTable <$> validateYAMLOpts <*> outputP) <**> helper)
|
||||||
|
(progDesc "Generate a markdown table of available tool versions")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -121,7 +170,7 @@ main = do
|
|||||||
, fancyColors = not no_color
|
, fancyColors = not no_color
|
||||||
}
|
}
|
||||||
dirs <- liftIO getAllDirs
|
dirs <- liftIO getAllDirs
|
||||||
let leanAppstate = LeanAppState (Settings True False Never Curl True GHCupURL False GPGNone False) dirs defaultKeyBindings loggerConfig
|
let leanAppstate = LeanAppState (Settings True 0 False Never Curl True GHCupURL False GPGNone True) dirs defaultKeyBindings loggerConfig
|
||||||
|
|
||||||
pfreq <- (
|
pfreq <- (
|
||||||
flip runReaderT leanAppstate . runE @'[NoCompatiblePlatform, NoCompatibleArch, DistroNotFound] $ platformRequest
|
flip runReaderT leanAppstate . runE @'[NoCompatiblePlatform, NoCompatibleArch, DistroNotFound] $ platformRequest
|
||||||
@@ -131,25 +180,28 @@ 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 False Never Curl True GHCupURL False GPGNone False) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig
|
let appstate = AppState (Settings True 0 False Never Curl True GHCupURL False GPGNone True) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig
|
||||||
|
|
||||||
|
let withValidateYamlOpts vopts f = case vopts of
|
||||||
|
ValidateYAMLOpts { vInput = Nothing } ->
|
||||||
|
B.getContents >>= valAndExit f
|
||||||
|
ValidateYAMLOpts { vInput = Just StdInput } ->
|
||||||
|
B.getContents >>= valAndExit f
|
||||||
|
ValidateYAMLOpts { vInput = Just (FileInput file) } ->
|
||||||
|
B.readFile file >>= valAndExit f
|
||||||
|
valAndExit f contents = do
|
||||||
|
ginfo <- case Y.decodeEither' contents of
|
||||||
|
Right r -> pure r
|
||||||
|
Left e -> die (color Red $ displayException e)
|
||||||
|
r <- flip runReaderT appstate { ghcupInfo = ginfo } f
|
||||||
|
exitWith r
|
||||||
|
|
||||||
_ <- customExecParser (prefs showHelpOnError) (info (opts <**> helper) idm)
|
_ <- customExecParser (prefs showHelpOnError) (info (opts <**> helper) idm)
|
||||||
>>= \Options {..} -> case optCommand of
|
>>= \Options {..} -> case optCommand of
|
||||||
ValidateYAML vopts -> withValidateYamlOpts vopts (\dl m -> flip runReaderT appstate $ validate dl m)
|
ValidateYAML vopts -> withValidateYamlOpts vopts validate
|
||||||
ValidateTarballs vopts tarballFilter -> withValidateYamlOpts vopts (\dl m -> flip runReaderT appstate $ validateTarballs tarballFilter dl m)
|
ValidateTarballs vopts tarballFilter -> withValidateYamlOpts vopts (validateTarballs tarballFilter)
|
||||||
|
GenerateHlsGhc vopts format output -> withValidateYamlOpts vopts (generateHLSGhc format output)
|
||||||
|
GenerateToolTable vopts output -> withValidateYamlOpts vopts (generateTable output)
|
||||||
pure ()
|
pure ()
|
||||||
|
|
||||||
where
|
where
|
||||||
withValidateYamlOpts vopts f = case vopts of
|
|
||||||
ValidateYAMLOpts { vInput = Nothing } ->
|
|
||||||
B.getContents >>= valAndExit f
|
|
||||||
ValidateYAMLOpts { vInput = Just StdInput } ->
|
|
||||||
B.getContents >>= valAndExit f
|
|
||||||
ValidateYAMLOpts { vInput = Just (FileInput file) } ->
|
|
||||||
B.readFile file >>= valAndExit f
|
|
||||||
valAndExit f contents = do
|
|
||||||
(GHCupInfo _ av gt) <- case Y.decodeEither' contents of
|
|
||||||
Right r -> pure r
|
|
||||||
Left e -> die (color Red $ displayException e)
|
|
||||||
f av gt
|
|
||||||
>>= exitWith
|
|
||||||
|
|||||||
@@ -58,11 +58,18 @@ addError = do
|
|||||||
liftIO $ modifyIORef ref (+ 1)
|
liftIO $ modifyIORef ref (+ 1)
|
||||||
|
|
||||||
|
|
||||||
validate :: (Monad m, MonadReader env m, HasLog env, MonadThrow m, MonadIO m, MonadUnliftIO m)
|
validate :: ( Monad m
|
||||||
=> GHCupDownloads
|
, MonadReader env m
|
||||||
-> M.Map GlobalTool DownloadInfo
|
, HasLog env
|
||||||
-> m ExitCode
|
, MonadThrow m
|
||||||
validate dls _ = do
|
, MonadIO m
|
||||||
|
, MonadUnliftIO m
|
||||||
|
, HasGHCupInfo env
|
||||||
|
)
|
||||||
|
=> m ExitCode
|
||||||
|
validate = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls } <- getGHCupInfo
|
||||||
|
|
||||||
ref <- liftIO $ newIORef 0
|
ref <- liftIO $ newIORef 0
|
||||||
|
|
||||||
-- verify binary downloads --
|
-- verify binary downloads --
|
||||||
@@ -117,6 +124,7 @@ validate dls _ = do
|
|||||||
_ -> lift $ logWarn $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)
|
_ -> lift $ logWarn $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)
|
||||||
|
|
||||||
checkUniqueTags tool = do
|
checkUniqueTags tool = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let allTags = _viTags =<< M.elems (availableToolVersions dls tool)
|
let allTags = _viTags =<< M.elems (availableToolVersions dls tool)
|
||||||
let nonUnique =
|
let nonUnique =
|
||||||
fmap fst
|
fmap fst
|
||||||
@@ -145,6 +153,7 @@ validate dls _ = do
|
|||||||
isUniqueTag (UnknownTag _) = False
|
isUniqueTag (UnknownTag _) = False
|
||||||
|
|
||||||
checkGHCVerIsValid = do
|
checkGHCVerIsValid = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let ghcVers = toListOf (ix GHC % to M.keys % folded) dls
|
let ghcVers = toListOf (ix GHC % to M.keys % folded) dls
|
||||||
forM_ ghcVers $ \v ->
|
forM_ ghcVers $ \v ->
|
||||||
case [ x | (x,"") <- readP_to_S V.parseVersion (T.unpack . prettyVer $ v) ] of
|
case [ x | (x,"") <- readP_to_S V.parseVersion (T.unpack . prettyVer $ v) ] of
|
||||||
@@ -155,6 +164,7 @@ validate dls _ = do
|
|||||||
|
|
||||||
-- a tool must have at least one of each mandatory tags
|
-- a tool must have at least one of each mandatory tags
|
||||||
checkMandatoryTags tool = do
|
checkMandatoryTags tool = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let allTags = _viTags =<< M.elems (availableToolVersions dls tool)
|
let allTags = _viTags =<< M.elems (availableToolVersions dls tool)
|
||||||
forM_ [Latest, Recommended] $ \t -> case t `elem` allTags of
|
forM_ [Latest, Recommended] $ \t -> case t `elem` allTags of
|
||||||
False -> do
|
False -> do
|
||||||
@@ -164,6 +174,7 @@ validate dls _ = do
|
|||||||
|
|
||||||
-- all GHC versions must have a base tag
|
-- all GHC versions must have a base tag
|
||||||
checkGHCHasBaseVersion = do
|
checkGHCHasBaseVersion = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let allTags = M.toList $ availableToolVersions dls GHC
|
let allTags = M.toList $ availableToolVersions dls GHC
|
||||||
forM allTags $ \(ver, _viTags -> tags) -> case any isBase tags of
|
forM allTags $ \(ver, _viTags -> tags) -> case any isBase tags of
|
||||||
False -> do
|
False -> do
|
||||||
@@ -190,12 +201,12 @@ validateTarballs :: ( Monad m
|
|||||||
, MonadMask m
|
, MonadMask m
|
||||||
, Alternative m
|
, Alternative m
|
||||||
, MonadFail m
|
, MonadFail m
|
||||||
|
, HasGHCupInfo env
|
||||||
)
|
)
|
||||||
=> TarballFilter
|
=> TarballFilter
|
||||||
-> GHCupDownloads
|
|
||||||
-> M.Map GlobalTool DownloadInfo
|
|
||||||
-> m ExitCode
|
-> m ExitCode
|
||||||
validateTarballs (TarballFilter etool versionRegex) dls gt = do
|
validateTarballs (TarballFilter etool versionRegex) = do
|
||||||
|
GHCupInfo { _ghcupDownloads = dls, _globalTools = gt } <- getGHCupInfo
|
||||||
ref <- liftIO $ newIORef 0
|
ref <- liftIO $ newIORef 0
|
||||||
|
|
||||||
-- download/verify all tarballs
|
-- download/verify all tarballs
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ source-repository head
|
|||||||
executable ghcup-gen
|
executable ghcup-gen
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
other-modules: Validate
|
other-modules: Validate
|
||||||
|
Generate
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
default-extensions:
|
default-extensions:
|
||||||
DeriveGeneric
|
DeriveGeneric
|
||||||
@@ -44,13 +45,16 @@ executable ghcup-gen
|
|||||||
-fwarn-incomplete-record-updates -threaded
|
-fwarn-incomplete-record-updates -threaded
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
|
, aeson-pretty ^>=0.8.9
|
||||||
, base >=4.13 && <5
|
, base >=4.13 && <5
|
||||||
, bytestring ^>=0.10
|
, bytestring ^>=0.10
|
||||||
, containers ^>=0.6
|
, containers ^>=0.6
|
||||||
|
, deepseq ^>=1.4
|
||||||
, filepath ^>=1.4.2.1
|
, filepath ^>=1.4.2.1
|
||||||
, ghcup ^>=0.1.17.3
|
, ghcup ^>=0.1.17.3
|
||||||
, haskus-utils-variant >=3.0 && <3.2
|
, haskus-utils-variant ^>=3.2
|
||||||
, libarchive ^>=3.0.3.0
|
, libarchive ^>=3.0.3.0
|
||||||
|
, megaparsec ^>=9.0
|
||||||
, 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
|
||||||
|
|||||||
51
ghcup-prereleases-0.0.7.yaml
Normal file
51
ghcup-prereleases-0.0.7.yaml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
globalTools: {}
|
||||||
|
toolRequirements: {}
|
||||||
|
ghcupDownloads:
|
||||||
|
Cabal:
|
||||||
|
3.7.0.0:
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &cabal-3720-32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-linux-alpine.tar.xz
|
||||||
|
dlHash: c9e28e1578dfb851918e523040cb0f913df747fe95e24d089bcf7cd821c21885
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *cabal-3720-32
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-darwin.tar.xz
|
||||||
|
dlHash: 9b30b1231b280cdd95c60ac2d94d4bec6ccf07febd294d4f8e9e2d001fe1c55c
|
||||||
|
FreeBSD:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-freebsd12.tar.xz
|
||||||
|
dlHash: ac482eb709af36ee0f11aebd3dc38fbc5fa5f767ea854c028257fabf39154005
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-windows.zip
|
||||||
|
dlSubdir:
|
||||||
|
dlHash: 98efc1acd61c7cf262d9eb618548f463698016f9d67fbb7ad7501097206f29cf
|
||||||
|
A_32:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &cabal-3720-32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-i386-linux-alpine.tar.xz
|
||||||
|
dlHash: bf189ad094b02e42ef23b53384ecef7b1c27fea8323f9e09c00abab353f19d55
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *cabal-3720-32
|
||||||
|
A_ARM64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-aarch64-linux-deb10.tar.xz
|
||||||
|
dlHash: 58306000d96674927ca2d811d3d4ee027d26e9b67f67de4e3de547de2042c3fc
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-aarch64-darwin.tar.xz
|
||||||
|
dlHash: 324b8bf3a6f010b5c7083f1460e1e65881fecf5efd99ce21e4e7c73a020ab0bf
|
||||||
|
A_ARM:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-armv7-linux-deb1.tar.xz
|
||||||
|
dlHash: 51dc486776a0047bc7b0122f468625e5d64189fac1948a6ba4e8ce85f47703ac
|
||||||
|
|
||||||
BIN
ghcup-prereleases-0.0.7.yaml.sig
Normal file
BIN
ghcup-prereleases-0.0.7.yaml.sig
Normal file
Binary file not shown.
520
hls-metadata-0.0.1.json
Normal file
520
hls-metadata-0.0.1.json
Normal file
@@ -0,0 +1,520 @@
|
|||||||
|
{
|
||||||
|
"1.1.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.2",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.2",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.2",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.2.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.2",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.2",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.2",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.3.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.4.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.2",
|
||||||
|
"8.10.3",
|
||||||
|
"8.10.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.4",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM": {
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.5.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM": {
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.5.1": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.3",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.5",
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM": {
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.6.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.2"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM": {
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.6.1.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.2"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"8.10.7",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.6",
|
||||||
|
"8.10.7",
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"9.0.1",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM": {
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.7.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.6.5",
|
||||||
|
"8.8.4",
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.1",
|
||||||
|
"9.2.2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
hls-metadata-0.0.1.json.sig
Normal file
BIN
hls-metadata-0.0.1.json.sig
Normal file
Binary file not shown.
Reference in New Issue
Block a user