diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1976775febf36ca72a2254ecf23db405fd7bb57e..c0332ba49330c2295d9a4359bc1987161456de4c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,17 +9,17 @@ This script makes use of two files: -1. [.download-urls](https://raw.githubusercontent.com/haskell/ghcup/master/.download-urls), +1. [.download-urls](https://gitlab.haskell.org/haskell/ghcup/raw/master/.download-urls), which is meta information on what binary tarball to download for the given version, architecture and distribution. If you know your distribution XY works with a tarball, add a `<distroname>=<distrover>` key to that line. `<distroname>` will be the fallback and after that `unknown`. Lines are unique per tarball url. -2. [.available-versions](https://raw.githubusercontent.com/haskell/ghcup/master/.available-versions), +2. [.available-versions](https://gitlab.haskell.org/haskell/ghcup/raw/master/.available-versions), which just lists available upstream versions and tags. ## TODO -- [ ] FreeBSD support ([#4](https://github.com/haskell/ghcup/issues/4)) -- [x] Make fetching tarballs more robust ([#5](https://github.com/haskell/ghcup/issues/5)) +- [ ] FreeBSD support ([#4](https://gitlab.haskell.org/haskell/ghcup/issues/4)) +- [x] Make fetching tarballs more robust ([#5](https://gitlab.haskell.org/haskell/ghcup/issues/5)) - [x] More code documentation -- [x] Allow to compile from source ([#2](https://github.com/haskell/ghcup/issues/2)) -- [x] Allow to install cabal-install as well ([#3](https://github.com/haskell/ghcup/issues/3)) +- [x] Allow to compile from source ([#2](https://gitlab.haskell.org/haskell/ghcup/issues/2)) +- [x] Allow to install cabal-install as well ([#3](https://gitlab.haskell.org/haskell/ghcup/issues/3)) diff --git a/README.md b/README.md index 8835dc4de1db5fa54092d25563e3c2d874de2691..3059a304e6f0489f2d7a358715819691f46e9b0d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ -[](https://github.com/haskell/ghcup/releases) -[](https://travis-ci.org/haskell/ghcup) -[](COPYING) - `ghcup` makes it easy to install specific versions of `ghc` on GNU/Linux as well as macOS (aka Darwin), and can also bootstrap a fresh Haskell developer environment from scratch. It follows the unix UNIX philosophy of [do one thing and do it well](https://en.wikipedia.org/wiki/Unix_philosophy#Do_One_Thing_and_Do_It_Well). @@ -29,7 +25,7 @@ Choose one of the following installation methods. ```sh # complete bootstrap -curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh +curl https://gitlab.haskell.org/haskell/ghcup/raw/master/bootstrap-haskell -sSf | sh # prepare your environment . "$HOME/.ghcup/env" @@ -48,7 +44,7 @@ Just place the `ghcup` shell script into your `PATH` anywhere. E.g.: ```sh -( mkdir -p ~/.ghcup/bin && curl https://raw.githubusercontent.com/haskell/ghcup/master/ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup) && echo "Success" +( mkdir -p ~/.ghcup/bin && curl https://gitlab.haskell.org/haskell/ghcup/raw/master/ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup) && echo "Success" ``` Then adjust your `PATH` in `~/.bashrc` (or similar, depending on your shell) like so, for example: @@ -57,7 +53,7 @@ Then adjust your `PATH` in `~/.bashrc` (or similar, depending on your shell) lik export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH" ``` -Security aware users may want to use the files from the [release page](https://github.com/haskell/ghcup/releases) +Security aware users may want to use the files from the [release page](https://gitlab.haskell.org/haskell/ghcup/tags/) and verify the gpg signatures. ## Usage @@ -136,7 +132,7 @@ try to compile from source via `ghcup compile <version>`. This was a [bug](https://ghc.haskell.org/trac/ghc/ticket/15688) in the build system of some GHC versions that lead to unconditionally enabled libnuma support. To mitigate this you might have to install the libnuma -package of your distribution. See [here](https://github.com/haskell/ghcup/issues/58) for a discussion. +package of your distribution. See [here](https://gitlab.haskell.org/haskell/ghcup/issues/58) for a discussion. ### Compilation diff --git a/bootstrap-haskell b/bootstrap-haskell index abf9aeda9c4d96b2809d8c2372fa79a79624814c..736e978a03d7ae452210a1fa09262d74d219252a 100755 --- a/bootstrap-haskell +++ b/bootstrap-haskell @@ -47,7 +47,7 @@ if command -V "ghcup" >/dev/null 2>&1 ; then edo ghcup upgrade fi else - edo curl --silent https://raw.githubusercontent.com/haskell/ghcup/master/ghcup > "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/bin/ghcup + edo curl --silent https://gitlab.haskell.org/haskell/ghcup/raw/master/ghcup > "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/bin/ghcup edo chmod +x "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/bin/ghcup cat <<-EOF > "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/env || die "Failed to create env file" diff --git a/ghcup b/ghcup index 2ad25f9846c93a3d35d2feb946625117191ca300..02fd07dc95db880f90d2d60527e85109c39070d7 100755 --- a/ghcup +++ b/ghcup @@ -124,7 +124,7 @@ SOURCE="$0" # @VARIABLE: BASE_DOWNLOAD_URL # DESCRIPTION: # The base url for downloading stuff like meta files, requirements files etc. -BASE_DOWNLOAD_URL="https://raw.githubusercontent.com/haskell/ghcup/master/" +BASE_DOWNLOAD_URL="https://gitlab.haskell.org/haskell/ghcup/raw/master/" # @VARIABLE: SCRIPT_UPDATE_URL # @DESCRIPTION: @@ -160,7 +160,7 @@ META_VERSION_FORMAT="1" # @VARIABLE: BUG_URL # DESCRIPTION: # The url to report bugs to. -BUG_URL="https://github.com/haskell/ghcup/issues" +BUG_URL="https://gitlab.haskell.org/haskell/ghcup/issues" # @VARIABLE: CACHING # @DESCRIPTION: diff --git a/www/index.html b/www/index.html index 6e92f497cca406a0f2747906145e67b9f9bdfbb4..71cadc581087c134325db3a6840c92e696a52bff 100644 --- a/www/index.html +++ b/www/index.html @@ -27,19 +27,19 @@ <div id="platform-instructions-linux" class="instructions" style="display: none;"> <p>Run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.<br/>You appear to be running Linux. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.<br/>You appear to be running Linux. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-mac" class="instructions" style="display: none;"> <p>Run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.<br/>You appear to be running macOS. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.<br/>You appear to be running macOS. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-freebsd" class="instructions" style="display: none;"> <p>Run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.<br/>You appear to be running FreeBSD. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.<br/>You appear to be running FreeBSD. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-win32" class="instructions"> @@ -64,7 +64,7 @@ <p> ghcup runs on Linux, macOS and FreeBSD. If you are on one of these platforms and are seeing this then please - <a href="https://github.com/haskell/ghcup/issues">report an issue</a>, + <a href="https://gitlab.haskell.org/haskell/ghcup/issues">report an issue</a>, along with the following values: </p> @@ -79,7 +79,7 @@ <div> <p>If you are running Linux, macOS or FreeBSD,<br/>run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.</p> </div> <hr/> @@ -98,7 +98,7 @@ <p>To install Haskell, if you are running Linux, macOS or FreeBSD,<br/>run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.</p> </div> <hr/> @@ -122,7 +122,7 @@ <br/> <a href="https://www.haskell.org/downloads/">other installation options</a> · - <a href="https://github.com/haskell/ghcup">about ghcup</a> + <a href="https://gitlab.haskell.org/haskell/ghcup">about ghcup</a> · <a href="https://github.com/rust-lang/rustup.rs/tree/master/www">web design from rustup</a> </p> @@ -143,7 +143,7 @@ <p>To install Haskell, if you are running Linux, macOS or FreeBSD,<br/>run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.</p> </div> <hr/> @@ -167,7 +167,7 @@ <br/> <a href="https://www.haskell.org/downloads/">other installation options</a> · - <a href="https://github.com/haskell/ghcup">about ghcup</a> + <a href="https://gitlab.haskell.org/haskell/ghcup">about ghcup</a> · <a href="https://github.com/rust-lang/rustup.rs/tree/master/www">web design from rustup</a> </p>