Skip to content

refactor: source forc-crypto from forc monorepo#205

Merged
JoshuaBatty merged 2 commits into
masterfrom
josh/forc-crypto
Dec 8, 2025
Merged

refactor: source forc-crypto from forc monorepo#205
JoshuaBatty merged 2 commits into
masterfrom
josh/forc-crypto

Conversation

@JoshuaBatty

@JoshuaBatty JoshuaBatty commented Dec 8, 2025

Copy link
Copy Markdown
Member

Summary

Changes

refresh-manifests.sh:

  • Versions < 0.71.0: fetch from sway repo with v{version} tags
  • Versions >= 0.71.0: fetch from forc monorepo with forc-crypto-{version} tags

patches.nix:

  • Add patch setting buildAndTestSubdir = "forc-crypto" when built from forc monorepo

packages.md:

  • Update forc-crypto documentation to reference forc repo

Context

@cursor

cursor Bot commented Dec 8, 2025

Copy link
Copy Markdown

PR Summary

Route forc-crypto to the forc monorepo from v0.71.0+, keep pre-0.71.0 from sway, add manifests, subdir patch, docs and lock updates.

  • Build/Packaging:
    • script/refresh-manifests.sh: Add version-based repo routing for forc-crypto (legacy_repo=sway before 0.71.0, forc afterwards); adjust tag prefixes for published/nightly refresh.
    • patches.nix: Add buildAndTestSubdir = "forc-crypto" when sourcing from https://github.com/fuellabs/forc.
    • manifests/: Add forc-crypto-0.71.0.nix and forc-crypto-0.0.0-nightly-2025-12-08.nix (pointing to forc).
    • flake.lock: Bump nixpkgs and rust-overlay pins.
  • Docs:
    • book/src/packages.md: Update forc-crypto and forc-wallet links to forc-repo; add [forc-repo] reference.

Written by Cursor Bugbot for commit ea1c64f. This will update automatically on new commits. Configure here.

forc-crypto migrated from FuelLabs/sway to FuelLabs/forc monorepo
at v0.71.0. Add version-based repository routing using the same
legacy_repo/legacy_before pattern established for forc-wallet:

- Versions < 0.71.0: sway repo with v{version} tags
- Versions >= 0.71.0: forc monorepo with forc-crypto-{version} tags
@JoshuaBatty JoshuaBatty self-assigned this Dec 8, 2025
@JoshuaBatty JoshuaBatty requested a review from a team December 8, 2025 08:49
@JoshuaBatty JoshuaBatty enabled auto-merge (squash) December 8, 2025 08:58
@JoshuaBatty JoshuaBatty merged commit 45dbb17 into master Dec 8, 2025
6 checks passed
@JoshuaBatty JoshuaBatty deleted the josh/forc-crypto branch December 8, 2025 09:26
JoshuaBatty added a commit that referenced this pull request Jan 13, 2026
Migrate forc-node from sway repo to forc monorepo, following the same
pattern as forc-crypto (PR #205):
- Versions < 0.71.0 source from sway with v{version} tags
- Versions >= 0.71.0 source from forc with forc-node-{version} tags

Adds clang/rocksdb dependencies required for fuel-core bindings.
JoshuaBatty added a commit that referenced this pull request Jan 15, 2026
## Summary

Migrates `forc-node` package support from the `sway` repository to the
`forc` monorepo, effective from version 0.71.0 onwards.

This follows the same pattern established in #205 for `forc-crypto`.

## Changes

- **refresh-manifests.sh**: Added `pkg_forc_node` with legacy repo
routing (sway < 0.71.0, forc >= 0.71.0)
- **patches.nix**: 
  - Added `forc-node` to `forc-plugins` list for openssl dependencies
  - Added `buildAndTestSubdir` patch for forc monorepo builds
  - Added clang/rocksdb dependencies required for fuel-core bindings
- **packages.md**: Added forc-node to documentation

## Related PRs

- forc: [FuelLabs/forc#130](FuelLabs/forc#130) -
Migrate forc-node from sway repo
- fuelup:
[FuelLabs/fuelup#819](FuelLabs/fuelup#819) -
Migrate forc-node from sway to forc monorepo
- sway-nightly-binaries:
[FuelLabs/sway-nightly-binaries#81](FuelLabs/sway-nightly-binaries#81)
- Migrate forc-node nightly builds

## RFC

[FuelLabs/sway-rfcs#49](FuelLabs/sway-rfcs#49) -
Tooling Monorepo RFC

---------

Co-authored-by: GitHub Action <action@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants