Skip to content

Comments

fix(cli): default blueprint templates to main#1297

Merged
drewstone merged 2 commits intomainfrom
fix/template-default-branch-main
Feb 18, 2026
Merged

fix(cli): default blueprint templates to main#1297
drewstone merged 2 commits intomainfrom
fix/template-default-branch-main

Conversation

@drewstone
Copy link
Contributor

This updates the default blueprint template branch used by cargo tangle blueprint create.

Background

  • cli/src/command/create/mod.rs was defaulting to branch = "v2".
  • tangle-network/blueprint-template does not have a v2 branch, so blueprint creation can fail.

Changes

  • Default template branch to main for all template repos.
  • Make docs/setup-service-lifecycle-test.sh robust to templates that specify either branch = "main" or branch = "v2" (it rewrites to local path in both cases).

Verification

  • cargo test -p cargo-tangle --tests

@drewstone
Copy link
Contributor Author

CI rustfmt uses (). I ran and pushed the result (commit ).

@drewstone
Copy link
Contributor Author

CI rustfmt uses nightly-2025-10-20 (see .github/workflows/ci.yml). I ran cargo +nightly-2025-10-20 fmt --all and pushed the result (commit 97359425).

@drewstone drewstone merged commit 5dc9362 into main Feb 18, 2026
76 of 78 checks passed
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