Commit c6f6cc6
docs(web/guides): replace nonexistent install.sh URL with working .deb/.rpm install (#2604)
* docs(web/guides): replace nonexistent install.sh URL with working .deb/.rpm install
The Linux tabs on the start-here installing guide and the upgrade flow pointed
at `https://get.wheels.dev/install.sh` — a URL that was planned for the Phase 2
universal installer but doesn't exist yet. Users on Linux hit a 404 and a
confusing `bash: command not found` chain.
Rewrite all three install-related guides to use the .deb/.rpm packages that
release.yml already produces (verified on snapshot v4.0.0-snapshot.1825). The
new snippets resolve the latest version dynamically via the GitHub API, so
they keep working as releases roll over.
- start-here/installing.mdx: Linux install + upgrade tabs; troubleshooting
no longer references the never-existed `~/.wheels/env` file.
- command-line-tools/installation.mdx: split the "macOS and Linux (Homebrew)"
section — Linux now has its own `.deb`/`.rpm` section with the package layout
and an Aside flagging native apt/yum repos as a v4.0.x follow-up.
- start-here/release-channels.mdx: replace literal `<version>` placeholders
with the API-driven version resolution; extend the "Switching channels"
section beyond Homebrew (Linux uses Conflicts:/Replaces: metadata, Scoop
refuses dual install).
Phase 2 (native apt.wheels.dev / yum.wheels.dev repositories) is planned as a
follow-up — see tools/distribution-drafts/linux-packages/README.md for the
full plan.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Amiri <peter@alurium.com>
* docs(web/guides): fix bot-flagged issues on Linux install/upgrade/switch docs
Wheels-bot's Reviewer A + Reviewer B caught five issues with the previous
revision of #2604. All five address the same root tension: the docs read
as if the BE channel mirrors the stable channel filename-for-filename and
API-call-for-API-call, but the underlying release pipeline (release.yml
hardcoding CHANNEL=stable, GitHub /releases/latest excluding pre-releases)
makes the asymmetry user-visible.
1. installing.mdx Aside (bot finding 1) — the "substitute repo name in the
URLs above" prose pointed at /releases/latest, which returns nothing
against the pre-release-only snapshots repo. WHEELS_VERSION would be
empty and the download URL would 404 silently. Replaced with two
self-contained snippets (Debian/Ubuntu + Fedora/RHEL) using /releases
+ head -1, matching the pattern already used in release-channels.mdx.
2. release-channels.mdx Linux switch block (bot finding 2) — the previous
block was comments-only with no executable command, and referenced
"wheels-be" as a filename component that doesn't exist (release.yml
hardcodes CHANNEL=stable, so both stable and snapshot publish a single
package literally named `wheels`). Replaced with concrete stable →
bleeding-edge and bleeding-edge → stable command blocks. Noted the
--allow-downgrades requirement for BE → stable on apt (4.0.0 sorts
below 4.0.1~snapshot.500 per dpkg).
3. release-channels.mdx comment on the version substitution (bot finding
3) — the inline comment said "GitHub Releases rewrites ~ to ." but the
shell substitution is /-/. The reader had to chain three concepts
themselves (tag uses hyphen → internal package version uses tilde →
GitHub mangles tilde to dot at upload). Expanded the comment to spell
the chain out explicitly.
4. installing.mdx step 1 (bot finding 4) — the manual `sudo apt install
openjdk-21-jre-headless` step contradicted both the intro paragraph
("depends on OpenJDK 21") and installation.mdx ("apt/dnf pulls it in
alongside wheels"). Dropped step 1 entirely; reworded the intro to
spell out the auto-pull behavior explicitly. Step 2 (install) and
step 3 (verify) renumber to 1 and 2.
5. installation.mdx BE prose (Reviewer B's missed-issue finding) — same
root cause as #1, in the deeper reference doc. Same fix: replace the
"substitute the repo name" prose with two self-contained BE snippets
using /releases + head -1.
Also added a brief BE pointer to the Linux upgrade tab, mirroring the
"# or, for the bleeding-edge channel:" line in the Windows upgrade tab.
Verified the BE snippet end-to-end:
SNAP_TAG=$(curl ... /repos/wheels-dev/wheels-snapshots/releases | ... | head -1)
→ 4.0.0-snapshot.1826
→ URL: .../v4.0.0-snapshot.1826/wheels_4.0.0.snapshot.1826_amd64.deb
→ HTTP 302 (redirect to release-assets.githubusercontent.com)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Amiri <peter@alurium.com>
* docs(web/guides): fill remaining gaps on Linux switch and Scoop reverse paths
Round-2 bot findings:
1. release-channels.mdx Switching channels — the Linux blocks named dnf in
their comments but only showed apt commands, leaving Fedora/RHEL users
without a usable command. Split each direction into a Debian/Ubuntu
block and a Fedora/RHEL block. For the BE → stable direction, dnf gets
`dnf downgrade <url>` (the rpm-native way to handle an older-version
transition); apt keeps its --allow-downgrades trick.
2. release-channels.mdx Switching channels — Scoop only had stable → BE;
added the symmetric bleeding-edge → stable block to match the macOS
pair.
3. Trust-model documentation — Phase 1 ships .deb/.rpm without detached
GPG signatures, so download integrity depends solely on GitHub's HTTPS
transport. Added a `<Aside type="caution">` on both installing.mdx (the
onboarding guide) and installation.mdx (the deeper reference) noting
this explicitly and pointing forward to the Phase 2 signed repos at
apt.wheels.dev / yum.wheels.dev.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Amiri <peter@alurium.com>
* docs(web/guides): fill diagonal gap in Installing each channel Linux tab
Round-3 bot finding: the "Installing each channel" Linux tab in
release-channels.mdx showed only two of four distro × channel combinations
— Debian/Ubuntu (stable) with apt, and Fedora/RHEL (bleeding-edge) with
dnf. The diagonal pairing left a Fedora user looking for the stable rpm
install or a Debian user looking for the bleeding-edge .deb install with
no command they could copy out of this section.
Added the two missing snippets to make the full 2×2 (apt/dnf ×
stable/bleeding-edge) explicit, mirroring the structure already
established in the round-2 "Switching channels" section.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Amiri <peter@alurium.com>
---------
Signed-off-by: Peter Amiri <peter@alurium.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e7445bc commit c6f6cc6
3 files changed
Lines changed: 184 additions & 26 deletions
File tree
- web/sites/guides/src/content/docs/v4-0-0-snapshot
- command-line-tools
- start-here
Lines changed: 57 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
52 | 100 | | |
53 | 101 | | |
54 | 102 | | |
| |||
102 | 150 | | |
103 | 151 | | |
104 | 152 | | |
105 | | - | |
| 153 | + | |
106 | 154 | | |
107 | 155 | | |
108 | 156 | | |
| |||
126 | 174 | | |
127 | 175 | | |
128 | 176 | | |
129 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
130 | 180 | | |
131 | | - | |
| 181 | + | |
132 | 182 | | |
133 | 183 | | |
134 | 184 | | |
| |||
Lines changed: 53 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
160 | 166 | | |
161 | 167 | | |
162 | | - | |
| 168 | + | |
163 | 169 | | |
164 | | - | |
165 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
166 | 175 | | |
167 | 176 | | |
168 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
169 | 182 | | |
170 | | - | |
| 183 | + | |
| 184 | + | |
171 | 185 | | |
172 | | - | |
173 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
174 | 192 | | |
175 | 193 | | |
176 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
177 | 205 | | |
178 | 206 | | |
179 | 207 | | |
| |||
218 | 246 | | |
219 | 247 | | |
220 | 248 | | |
221 | | - | |
| 249 | + | |
222 | 250 | | |
223 | | - | |
224 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
225 | 256 | | |
226 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
227 | 268 | | |
228 | 269 | | |
229 | 270 | | |
| |||
232 | 273 | | |
233 | 274 | | |
234 | 275 | | |
235 | | - | |
| 276 | + | |
236 | 277 | | |
237 | 278 | | |
238 | 279 | | |
| |||
0 commit comments