diff options
author | Mike Cifelli <26522946+macifell@users.noreply.github.com> | 2024-01-29 20:11:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 03:11:11 +0200 |
commit | 8ef53c871bcb5c007b3640a347c7868585c9e4de (patch) | |
tree | 01db457ee6095bdee16c9dadfb099340f36bebf3 /docs/content/installation/from-source.en-us.md | |
parent | 37ede3197a74ba43c95029101ca37b3f9e7cc325 (diff) | |
download | gitea-8ef53c871bcb5c007b3640a347c7868585c9e4de.tar.gz gitea-8ef53c871bcb5c007b3640a347c7868585c9e4de.zip |
Update golang links to use https (#28980)
Many of the golang links point to the old site and don't use https. This
pull request updates these outdated links to https://go.dev .
https://github.com/go-gitea/gitea/issues/28979
Diffstat (limited to 'docs/content/installation/from-source.en-us.md')
-rw-r--r-- | docs/content/installation/from-source.en-us.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/installation/from-source.en-us.md b/docs/content/installation/from-source.en-us.md index f6a95e8d0c..601e074745 100644 --- a/docs/content/installation/from-source.en-us.md +++ b/docs/content/installation/from-source.en-us.md @@ -17,7 +17,7 @@ menu: # Installation from source -You should [install go](https://golang.org/doc/install) and set up your go +You should [install go](https://go.dev/doc/install) and set up your go environment correctly. In particular, it is recommended to set the `$GOPATH` environment variable and to add the go bin directory or directories `${GOPATH//://bin:}/bin` to the `$PATH`. See the Go wiki entry for @@ -82,7 +82,7 @@ git checkout v@version@ # or git checkout pr-xyz To build from source, the following programs must be present on the system: -- `go` @minGoVersion@ or higher, see [here](https://golang.org/dl/) +- `go` @minGoVersion@ or higher, see [here](https://go.dev/dl/) - `node` @minNodeVersion@ or higher with `npm`, see [here](https://nodejs.org/en/download/) - `make`, see [here](development/hacking-on-gitea.md#installing-make) @@ -119,7 +119,7 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build The `build` target is split into two sub-targets: -- `make backend` which requires [Go @minGoVersion@](https://golang.org/dl/) or greater. +- `make backend` which requires [Go @minGoVersion@](https://go.dev/dl/) or greater. - `make frontend` which requires [Node.js @minNodeVersion@](https://nodejs.org/en/download/) or greater. If pre-built frontend files are present it is possible to only build the backend: @@ -165,7 +165,7 @@ Running `gitea help` will allow you to review what the computed settings will be ## Cross Build -The `go` compiler toolchain supports cross-compiling to different architecture targets that are supported by the toolchain. See [`GOOS` and `GOARCH` environment variable](https://golang.org/doc/install/source#environment) for the list of supported targets. Cross compilation is helpful if you want to build Gitea for less-powerful systems (such as Raspberry Pi). +The `go` compiler toolchain supports cross-compiling to different architecture targets that are supported by the toolchain. See [`GOOS` and `GOARCH` environment variable](https://go.dev/doc/install/source#environment) for the list of supported targets. Cross compilation is helpful if you want to build Gitea for less-powerful systems (such as Raspberry Pi). To cross build Gitea with build tags (`TAGS`), you also need a C cross compiler which targets the same architecture as selected by the `GOOS` and `GOARCH` variables. For example, to cross build for Linux ARM64 (`GOOS=linux` and `GOARCH=arm64`), you need the `aarch64-unknown-linux-gnu-gcc` cross compiler. This is required because Gitea build tags uses `cgo`'s foreign-function interface (FFI). |