Skip to content

docs(install): follow redirects in documented curl one-liners - #970

Merged
c-vigo merged 1 commit into
devfrom
feature/781-curl-follow-redirects
Jul 10, 2026
Merged

c-vigo merged 1 commit into
devfrom
feature/781-curl-follow-redirects

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Stage 1 pre-rename hardening for #781: add -L to every documented
curl … | bash install/upgrade one-liner so the fetch follows HTTP redirects.
This keeps the bootstrap working across the upcoming devcontainer → devkit
repository rename (GitHub redirects the old repo URL, but curl only follows it
with -L).

Changes (curl -sSf → curl -sSfL)

  • docs/templates/README.md.j2 (→ regenerated README.md)
  • install.sh help/usage text
  • docs/MIGRATION.md
  • assets/smoke-test/README.md
  • assets/workspace/.devcontainer/scripts/version-check.sh (in-container upgrade hint)

Explicitly out of scope (deferred)

  • Repository URLs (github.com/vig-os/devcontainer, raw.githubusercontent.com/…) — flipping
    them to devkit now would 404 until the Stage 3 repo rename; GitHub redirects the old URLs, so
    they stay valid meanwhile. They canonicalize at Stage 3.
  • Image refs (ghcr.io/vig-os/devcontainer) — ride PR 2 (image-ref cutover).

The curl -fsSL https://get.docker.com calls already follow redirects and are untouched.

Testing

just precommit (full suite incl. generate-docs, sync-manifest) — green. README regenerated from the template.

Refs: #781

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
@c-vigo
c-vigo merged commit c367df6 into dev Jul 10, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/781-curl-follow-redirects branch July 10, 2026 11:40
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.

1 participant