Skip to content

fix: point install docs at raw GitHub URLs - #245

Merged
justjavac merged 1 commit into
mainfrom
fix/243-install-urls
Aug 4, 2026
Merged

fix: point install docs at raw GitHub URLs#245
justjavac merged 1 commit into
mainfrom
fix/243-install-urls

Conversation

@justjavac

Copy link
Copy Markdown
Owner

问题

#243https://dvm.deno.dev 由 Deno Deploy Classic 托管,Classic 于 2026-07-20 停服,安装命令 curl https://dvm.deno.dev | sh / irm https://dvm.deno.dev | iex 返回 404 DEPLOYMENT_NOT_FOUND,新用户无法安装。

修复

README(中英)与 main.ts 回退文本中的安装地址改为直接从 raw.githubusercontent.com 获取 install.sh / install.ps1(随 main 分支更新,无外部托管依赖)。顺带统一了中文 README 中过时的 deno.land/x/dvm 快照地址。

测试

新增 tests/install_docs.rs

  • 两份 README 必须包含 raw GitHub 安装地址;
  • 两份 README 不得再引用已停服的 dvm.deno.dev 或过时快照 deno.land/x/dvm
  • install.sh / install.ps1 必须存在于仓库根目录(raw URL 的解析目标)。

已手动验证两个 raw URL 均返回 200。

Closes #243

https://dvm.deno.dev was served by Deno Deploy Classic, which was
sunset on 2026-07-20, so both install commands broke with 404
DEPLOYMENT_NOT_FOUND. deno.land/x/dvm only serves stale tagged
snapshots. Fetch install.sh / install.ps1 straight from
raw.githubusercontent.com instead, which always tracks main.

Adds tests/install_docs.rs to pin the documented URLs and keep dead
hosts out of the READMEs.

Closes #243
@justjavac
justjavac merged commit ba854e8 into main Aug 4, 2026
16 checks passed
@justjavac
justjavac deleted the fix/243-install-urls branch August 4, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deno Deploy Classic was sunset and no longer serves deployments

1 participant