Skip to content

fix(workspace): point scaffolded flake stub at github:vig-os/devkit (#1009) - #1010

Merged
c-vigo merged 2 commits into
devfrom
bugfix/1009-flake-stub-devkit-url
Jul 13, 2026
Merged

c-vigo merged 2 commits into
devfrom
bugfix/1009-flake-stub-devkit-url

Conversation

@c-vigo

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

Copy link
Copy Markdown
Contributor

Summary

Fixes #1009. The scaffolded assets/workspace/flake.nix stub — a preserved
(never-overwritten) file — still set vigos.url = "github:vig-os/devcontainer",
which now only resolves via GitHub's post-rename redirect (#781 renamed the repo
devcontainer → devkit). New consumers should reference the canonical
vig-os/devkit directly.

Surfaced by a commit-action migration dry-run against the #988 epic branch.

Changes

  • assets/workspace/flake.nix — active vigos.url input and its pin-example
    comment now reference github:vig-os/devkit.
  • docs/MIGRATION.md — corrects the vigos.url example in "What changed" and
    adds a note under "Upcoming rename" telling existing direnv/both consumers to
    update their preserved stub by hand (the old URL keeps working via redirect).
  • tests/test_downstream_flake.py — docstring reference to the input URL updated.
  • CHANGELOG.md (+ synced .devcontainer/ mirror) — Fixed entry.

Acceptance criteria

  • Stub (and its pin-example comment) reference github:vig-os/devkit
  • MIGRATION.md notes the URL rename for existing direnv consumers

Testing

TDD: added a RED guard to tests/bats/init-workspace.bats asserting the stub uses
github:vig-os/devkit (active input + pin example) and no longer references
github:vig-os/devcontainer.

  • bats tests/bats/init-workspace.bats -f flake — 15/15 pass
  • prek run --all-files — all green

Refs: #1009

c-vigo added 2 commits July 13, 2026 12:13
The preserved flake.nix stub (active input and pin-example comment) still
referenced github:vig-os/devcontainer, which only resolves via GitHub's
post-rename redirect (#781). Point new consumers at the canonical
github:vig-os/devkit and document the by-hand update for existing
direnv/both consumers, whose stub is never overwritten on upgrade.

Refs: #1009
@c-vigo
c-vigo enabled auto-merge July 13, 2026 10:20
@c-vigo
c-vigo merged commit 2b811b5 into dev Jul 13, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/1009-flake-stub-devkit-url branch July 13, 2026 10:24
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