Repository navigation
docs(install): follow redirects in documented curl one-liners - #970
Merged
Merged
Conversation
Pre-rename hardening for the devcontainer -> devkit repository rename: add -L to every documented `curl ... | bash` install/upgrade one-liner so the fetch follows HTTP redirects. Covers the README template, install.sh help text, MIGRATION.md, the smoke-test template, and the in-container upgrade hint printed by version-check.sh. Repository and image URLs are intentionally unchanged in this slice (they flip with the repo rename / image-ref cutover). Refs: #781
16 of 19 tasks
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.
Summary
Stage 1 pre-rename hardening for #781: add
-Lto every documentedcurl … | bashinstall/upgrade one-liner so the fetch follows HTTP redirects.This keeps the bootstrap working across the upcoming
devcontainer→devkitrepository rename (GitHub redirects the old repo URL, but
curlonly follows itwith
-L).Changes (
curl -sSf→curl -sSfL)docs/templates/README.md.j2(→ regeneratedREADME.md)install.shhelp/usage textdocs/MIGRATION.mdassets/smoke-test/README.mdassets/workspace/.devcontainer/scripts/version-check.sh(in-container upgrade hint)Explicitly out of scope (deferred)
github.com/vig-os/devcontainer,raw.githubusercontent.com/…) — flippingthem to
devkitnow would 404 until the Stage 3 repo rename; GitHub redirects the old URLs, sothey stay valid meanwhile. They canonicalize at Stage 3.
ghcr.io/vig-os/devcontainer) — ride PR 2 (image-ref cutover).The
curl -fsSL https://get.docker.comcalls already follow redirects and are untouched.Testing
just precommit(full suite incl.generate-docs,sync-manifest) — green. README regenerated from the template.Refs: #781