QA: Missing Foundry submodules — repo does not build after clone #1

Closed
opened 2026-03-25 06:04:42 +00:00 by Brouie · 35 comments
Brouie commented 2026-03-25 06:04:42 +00:00 (Migrated from gitlab.com)

After cloning the repo, forge test in contracts/ fails because .gitmodules is empty and lib/ has no dependencies. Had to manually install: openzeppelin-contracts, forge-std, prb-math. Should be tracked as git submodules or documented in a setup script.

After cloning the repo, `forge test` in `contracts/` fails because `.gitmodules` is empty and `lib/` has no dependencies. Had to manually install: openzeppelin-contracts, forge-std, prb-math. Should be tracked as git submodules or documented in a setup script.
PlasticDigits commented 2026-03-25 08:48:12 +00:00 (Migrated from gitlab.com)

mentioned in commit e2da8d5ee8

mentioned in commit e2da8d5ee8c938e356840d050e54d07a7fccb902
PlasticDigits commented 2026-03-25 08:48:16 +00:00 (Migrated from gitlab.com)

@Brouie Foundry dependencies are now tracked as git submodules under contracts/lib/ (see .gitmodules), with contracts/foundry.lock for the pinned tags. After clone, run git submodule update --init --recursive or git clone --recurse-submodules <url> — then forge test from contracts/ works without manual forge install.

CI now checks out submodules recursively instead of running forge install --no-git each time.

Pushed on main as commit e2da8d5. Could you please verify on a fresh clone when you have a moment? Leaving the issue open until you confirm.

@Brouie Foundry dependencies are now tracked as git submodules under `contracts/lib/` (see `.gitmodules`), with `contracts/foundry.lock` for the pinned tags. After clone, run `git submodule update --init --recursive` or `git clone --recurse-submodules <url>` — then `forge test` from `contracts/` works without manual `forge install`. CI now checks out submodules recursively instead of running `forge install --no-git` each time. Pushed on `main` as commit e2da8d5. Could you please verify on a fresh clone when you have a moment? Leaving the issue open until you confirm.
Brouie commented 2026-03-26 04:19:46 +00:00 (Migrated from gitlab.com)

Verified. Fresh clone pulls all 3 submodules (forge-std, openzeppelin-contracts, prb-math) automatically. forge test passes 108/108 without manual installs. Closing.

Verified. Fresh clone pulls all 3 submodules (forge-std, openzeppelin-contracts, prb-math) automatically. forge test passes 108/108 without manual installs. Closing.
Brouie (Migrated from gitlab.com) closed this issue 2026-03-26 04:19:48 +00:00
PlasticDigits commented 2026-04-23 07:36:46 +00:00 (Migrated from gitlab.com)

mentioned in issue #55

mentioned in issue #55
Brouie commented 2026-04-27 05:07:22 +00:00 (Migrated from gitlab.com)

mentioned in issue #78

mentioned in issue #78
PlasticDigits commented 2026-04-27 05:09:42 +00:00 (Migrated from gitlab.com)

mentioned in issue #79

mentioned in issue #79
PlasticDigits commented 2026-04-29 09:45:43 +00:00 (Migrated from gitlab.com)

mentioned in issue #92

mentioned in issue #92
Brouie commented 2026-05-01 03:29:46 +00:00 (Migrated from gitlab.com)

mentioned in issue #102

mentioned in issue #102
Brouie commented 2026-05-01 12:27:59 +00:00 (Migrated from gitlab.com)

mentioned in issue #100

mentioned in issue #100
Brouie commented 2026-05-04 00:48:45 +00:00 (Migrated from gitlab.com)

mentioned in issue #114

mentioned in issue #114
Brouie commented 2026-05-04 06:14:50 +00:00 (Migrated from gitlab.com)

mentioned in issue #116

mentioned in issue #116
Brouie commented 2026-05-04 06:17:26 +00:00 (Migrated from gitlab.com)

mentioned in issue #119

mentioned in issue #119
Brouie commented 2026-05-04 07:24:24 +00:00 (Migrated from gitlab.com)

mentioned in issue #128

mentioned in issue #128
Brouie commented 2026-05-04 07:56:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #129

mentioned in issue #129
Brouie commented 2026-05-05 02:49:23 +00:00 (Migrated from gitlab.com)

mentioned in issue #149

mentioned in issue #149
Brouie commented 2026-05-05 04:39:46 +00:00 (Migrated from gitlab.com)

mentioned in issue #113

mentioned in issue #113
Brouie commented 2026-05-06 01:07:09 +00:00 (Migrated from gitlab.com)

mentioned in issue #155

mentioned in issue #155
Brouie commented 2026-05-08 00:47:04 +00:00 (Migrated from gitlab.com)

mentioned in issue #164

mentioned in issue #164
Brouie commented 2026-05-08 01:41:56 +00:00 (Migrated from gitlab.com)

mentioned in issue #184

mentioned in issue #184
Brouie commented 2026-05-14 02:53:39 +00:00 (Migrated from gitlab.com)

mentioned in issue #207

mentioned in issue #207
Brouie commented 2026-05-18 02:38:10 +00:00 (Migrated from gitlab.com)

mentioned in issue #212

mentioned in issue #212
Brouie commented 2026-05-18 02:38:27 +00:00 (Migrated from gitlab.com)

mentioned in issue #213

mentioned in issue #213
PlasticDigits commented 2026-05-19 06:26:06 +00:00 (Migrated from gitlab.com)

mentioned in issue #216

mentioned in issue #216
PlasticDigits commented 2026-05-20 04:41:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #220

mentioned in issue #220
Brouie commented 2026-05-20 05:06:35 +00:00 (Migrated from gitlab.com)

mentioned in issue #224

mentioned in issue #224
Brouie commented 2026-05-20 05:06:49 +00:00 (Migrated from gitlab.com)

mentioned in issue #221

mentioned in issue #221
PlasticDigits commented 2026-05-21 04:40:55 +00:00 (Migrated from gitlab.com)

mentioned in issue #228

mentioned in issue #228
PlasticDigits commented 2026-05-29 08:06:26 +00:00 (Migrated from gitlab.com)

mentioned in issue #264

mentioned in issue #264
ghost1 commented 2026-06-02 08:31:21 +00:00 (Migrated from gitlab.com)

mentioned in issue #277

mentioned in issue #277
PlasticDigits commented 2026-06-03 13:35:23 +00:00 (Migrated from gitlab.com)

mentioned in merge request !413

mentioned in merge request !413
PlasticDigits commented 2026-06-13 09:50:55 +00:00 (Migrated from gitlab.com)

mentioned in merge request !463

mentioned in merge request !463
PlasticDigits commented 2026-06-14 22:32:01 +00:00 (Migrated from gitlab.com)

mentioned in issue #329

mentioned in issue #329
PlasticDigits commented 2026-06-14 22:32:10 +00:00 (Migrated from gitlab.com)

mentioned in issue #325

mentioned in issue #325
PlasticDigits commented 2026-06-25 20:07:11 +00:00 (Migrated from gitlab.com)

mentioned in issue #343

mentioned in issue #343
PlasticDigits commented 2026-06-25 20:07:47 +00:00 (Migrated from gitlab.com)

mentioned in issue #342

mentioned in issue #342
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/yieldomega#1
No description provided.