From 978c6d2704073da72d199744a515c3be0959c27b Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 21 Apr 2024 21:37:27 -0400 Subject: [PATCH 1/2] Update guide.md: use the latest prelease channel version in the example Plus a tiny bit of copy editing. --- docs/guide.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/guide.md b/docs/guide.md index 2e7745e..100c1a3 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -151,7 +151,7 @@ of metadata files to understand their purpose. These can be combined. For example, if you want access to both prerelease and cross bindists, you'd do: ```sh -ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml +ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-cross-0.0.8.yaml ``` @@ -180,14 +180,13 @@ url-source: Also see [config.yaml](https://github.com/haskell/ghcup-hs/blob/master/data/config.yaml) for more options. -You can also use an alternative metadata via one-shot cli option: +You can also use an alternative metadata via the one-shot CLI option: ```sh ghcup --url-source=https://some-url/ghcup-0.0.8.yaml tui ``` One main caveat of using URLs is that you might need to check whether there are new versions -of the file (e.g. `ghcup-0.0.7.yaml` vs `ghcup-0.0.8.yaml`). Although old metadata files are supported for some time, they are not so indefinitely. ### Mirrors @@ -207,7 +206,7 @@ Note that later versions of GHCup allow more sophisticated mirror support, see [ 1. [https://mirror.sjtu.edu.cn/docs/ghcup](https://mirror.sjtu.edu.cn/docs/ghcup) 2. [https://mirrors.ustc.edu.cn/help/ghcup.html](https://mirrors.ustc.edu.cn/help/ghcup.html) -### Git based metadata config +### Git-based metadata config If you don't like the way ghcup updates its metadata with caching and fetching via curl, you can also do as follows: From ca10f8ce628cbac8e3473c9753f69756d221f968 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 21 Apr 2024 21:40:52 -0400 Subject: [PATCH 2/2] !fixup --- docs/guide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guide.md b/docs/guide.md index 100c1a3..dca940f 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -187,6 +187,7 @@ ghcup --url-source=https://some-url/ghcup-0.0.8.yaml tui ``` One main caveat of using URLs is that you might need to check whether there are new versions +of the file (e.g. `ghcup-0.0.7.yaml` vs `ghcup-0.0.8.yaml`). Although old metadata files are supported for some time, they are not so indefinitely. ### Mirrors