build: remove accidental imgui gitlink #3511

Merged
krishalivaibhav merged 1 commit from upstream-pr/3511 into main 2026-10-11 12:42:34 +00:00
krishalivaibhav commented 2026-10-11 12:04:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by krishalivaibhav on 2026-10-11T12:04:49Z.


What

Remove the unused 3rdparty/imgui gitlink accidentally included in the trophy-test commit ddf6b8c98 (#3470). It has no .gitmodules mapping, so GitHub Actions checkout aborts while enumerating submodules. Nothing on current main uses ImGui; #674 already includes its own gitlink, mapping and build integration.

Tested

macOS, fresh local clone: git submodule foreach --recursive true and git submodule status both fail with exit 128 on base 1e8fff68 and pass on this change. git diff --check passes.

Hosted checks currently fail while checking out the base branch, before evaluating this PR. They need to be rerun after the fix lands.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4818914654 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3511). Originally posted by [krishalivaibhav](https://github.com/krishalivaibhav) on 2026-10-11T12:04:49Z. --- ### What Remove the unused `3rdparty/imgui` gitlink accidentally included in the trophy-test commit `ddf6b8c98` (#3470). It has no `.gitmodules` mapping, so GitHub Actions checkout aborts while enumerating submodules. Nothing on current `main` uses ImGui; #674 already includes its own gitlink, mapping and build integration. ### Tested macOS, fresh local clone: `git submodule foreach --recursive true` and `git submodule status` both fail with exit 128 on base `1e8fff68` and pass on this change. `git diff --check` passes. Hosted checks currently fail while checking out the base branch, before evaluating this PR. They need to be rerun after the fix lands. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
santhoshkumar-dev commented 2026-10-11 12:10:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by santhoshkumar-dev on 2026-10-11T12:10:08Z.


A smaller alternative may be to remove the stray gitlink rather than register it:

  • It came in with #3470 (ddf6b8c9, a libSceNpTrophy2 fix) as an unrelated 3rdparty/imgui line. It is the same commit, 6d910d54, that #674 pins, so it looks like it leaked from a local checkout of that branch.
  • Nothing on main uses imgui: no CMake target, include or source outside 3rdparty/ references it.
  • #674 already carries both the gitlink and its own .gitmodules entry (ocornut/imgui at 6d910d54), so it does not depend on this.

git rm --cached 3rdparty/imgui on main fixes the checkout without adding a submodule that CI and every --recursive clone would fetch before anything uses it. Either way the fix has to be merged with the current checks red, since they fail while checking out main, before they reach this PR's change.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6108873070 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3511#issuecomment-6108873070). Originally posted by [santhoshkumar-dev](https://github.com/santhoshkumar-dev) on 2026-10-11T12:10:08Z. --- A smaller alternative may be to remove the stray gitlink rather than register it: - It came in with #3470 (`ddf6b8c9`, a libSceNpTrophy2 fix) as an unrelated `3rdparty/imgui` line. It is the same commit, `6d910d54`, that #674 pins, so it looks like it leaked from a local checkout of that branch. - Nothing on `main` uses imgui: no CMake target, include or source outside `3rdparty/` references it. - #674 already carries both the gitlink and its own `.gitmodules` entry (`ocornut/imgui` at `6d910d54`), so it does not depend on this. `git rm --cached 3rdparty/imgui` on `main` fixes the checkout without adding a submodule that CI and every `--recursive` clone would fetch before anything uses it. Either way the fix has to be merged with the current checks red, since they fail while checking out `main`, before they reach this PR's change. AI-assisted: yes (Claude Code)
LeandroLP23 commented 2026-10-11 12:12:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-11T12:12:54Z.


Nothing on main references imgui (no CMake target, no include); the gitlink came in with ddf6b8c98 (#3470), a trophy test commit, so it looks accidental. Removing it (git rm --cached 3rdparty/imgui) would fix the checkout without adding an unused submodule to every clone. Either way, open PRs (e.g. #3512) need a rerun once it lands.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6108894838 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3511#issuecomment-6108894838). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-11T12:12:54Z. --- Nothing on `main` references imgui (no CMake target, no include); the gitlink came in with `ddf6b8c98` (#3470), a trophy test commit, so it looks accidental. Removing it (`git rm --cached 3rdparty/imgui`) would fix the checkout without adding an unused submodule to every clone. Either way, open PRs (e.g. #3512) need a rerun once it lands.
adriadam10 commented 2026-10-11 12:42:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T12:42:32Z.


Thanks. The red checks are the base-branch checkout failing on this same gitlink (No url found for submodule path '3rdparty/imgui'), so CI can't go green until this lands; nothing in the tree uses 3rdparty/imgui (no CMake or source reference). Merging; the gitlink came in by accident with ddf6b8c98 (ours).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6109136568 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3511#issuecomment-6109136568). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T12:42:32Z. --- Thanks. The red checks are the base-branch checkout failing on this same gitlink (`No url found for submodule path '3rdparty/imgui'`), so CI can't go green until this lands; nothing in the tree uses `3rdparty/imgui` (no CMake or source reference). Merging; the gitlink came in by accident with ddf6b8c98 (ours).
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
boykopovar/AnyPS5!3511
No description provided.