fix: point install docs at raw GitHub URLs - #245
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
#243 —
https://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:dvm.deno.dev或过时快照deno.land/x/dvm;install.sh/install.ps1必须存在于仓库根目录(raw URL 的解析目标)。已手动验证两个 raw URL 均返回 200。
Closes #243