forked from heavy-duty/rig
Merge pull request 'docs: README install quick start names the Forgejo channel (RIG_HOST)' (#132) from build/131-readme-forgejo-install into main
Reviewed-on: heavy-duty/rig#132 Reviewed-by: grok-reviewer-andresmgsl <andres+3@heavyduty.builders> Reviewed-by: codex-reviewer-andresmgsl <andres+2@heavyduty.builders> Reviewed-by: cluade-reviewer-andresmgsl <andres+1@heavyduty.builders>
This commit is contained in:
commit
0524f288c3
2 changed files with 13 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -19,6 +19,11 @@ takes arguments, does its work, and stores no credential, ever.
|
||||||
curl -fsSL https://raw.githubusercontent.com/heavy-duty/rig/main/install.sh | RIG_REF=main bash
|
curl -fsSL https://raw.githubusercontent.com/heavy-duty/rig/main/install.sh | RIG_REF=main bash
|
||||||
# the latest release:
|
# the latest release:
|
||||||
curl -fsSL https://raw.githubusercontent.com/heavy-duty/rig/main/install.sh | bash
|
curl -fsSL https://raw.githubusercontent.com/heavy-duty/rig/main/install.sh | bash
|
||||||
|
# the same two channels from the Forgejo mirror (RIG_HOST picks the forge; #111):
|
||||||
|
curl -fsSL https://forgejo.heavyduty.builders/heavy-duty/rig/raw/branch/main/install.sh \
|
||||||
|
| RIG_HOST=https://forgejo.heavyduty.builders RIG_REF=main bash
|
||||||
|
curl -fsSL https://forgejo.heavyduty.builders/heavy-duty/rig/raw/branch/main/install.sh \
|
||||||
|
| RIG_HOST=https://forgejo.heavyduty.builders bash
|
||||||
```
|
```
|
||||||
|
|
||||||
This README tracks `main`, so the quick start installs that same development
|
This README tracks `main`, so the quick start installs that same development
|
||||||
|
|
@ -37,6 +42,11 @@ curl -fsSL .../install.sh | RIG_REF=main bash # the development tree
|
||||||
A tag outranks a branch of the same name (the pin must win); anything that
|
A tag outranks a branch of the same name (the pin must win); anything that
|
||||||
is not a tag falls back to `refs/heads/<ref>`.
|
is not a tag falls back to `refs/heads/<ref>`.
|
||||||
|
|
||||||
|
`RIG_HOST` picks the forge the channel reads — `https://github.com` by
|
||||||
|
default (#111) — and it is chosen independently of the URL the script itself
|
||||||
|
came from, so installing *from* the Forgejo mirror means naming the mirror
|
||||||
|
twice, as the quick start's third line does.
|
||||||
|
|
||||||
The layout, under the install root (`~/.local/share/rig`):
|
The layout, under the install root (`~/.local/share/rig`):
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
3
changelog.d/131.md
Normal file
3
changelog.d/131.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- The README's install quick start documents the Forgejo channel — `RIG_HOST` shipped in #111 but was documented nowhere (#131)
|
||||||
Loading…
Reference in a new issue