Skip to content

chore(sdk): drop stale gitattributes and gitmodules - #1251

Merged
Mengsheng Wu (mengshengwu) merged 1 commit into
mainfrom
chore/drop-stale-sdk-gitmeta
Jul 29, 2026
Merged

chore(sdk): drop stale gitattributes and gitmodules#1251
Mengsheng Wu (mengshengwu) merged 1 commit into
mainfrom
chore/drop-stale-sdk-gitmeta

Conversation

@mengshengwu

@mengshengwu Mengsheng Wu (mengshengwu) commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Three git-metadata files in the tree are dead configuration and get removed:

  • sdk/.gitmodules — declares submodules at sdk/third-party/jni and sdk/third-party/llama.cpp. sdk/third-party/ does not exist; the active submodules (third-party/llama.cpp, third-party/geniex-qairt) are registered in the repo-root .gitmodules. Carried over by the GenieX-bridge squash-import.
  • sdk/.gitattributes — declares LFS filters for plugins/qnn/libs/**, libs/**, and *.dll/*.lib/*.so. None of those paths exist under sdk/, and no .dll/.lib/.so are tracked in sdk/. Same origin.
  • .gitattributes (repo root) — single line . filter=lfs diff=lfs merge=lfs -text. The pattern . matches nothing (git check-attr filter -- <any-source> reports unspecified), so it has no effect.

Confirmed still-active git-metadata files are untouched: repo-root .gitmodules, sdk/patches/.gitattributes, tests/cli/.gitattributes.

Test plan

  • git check-attr filter -- sdk/CMakeLists.txt sdk/src/device.cpp reports unspecified — nothing was silently pulled from the deleted attribute files.
  • git submodule status lists exactly third-party/llama.cpp and third-party/geniex-qairt.
  • git lfs ls-files still lists the three tests/cli/assets/ LFS entries — the tests/cli/.gitattributes pattern is unaffected.

sdk/.gitmodules and sdk/.gitattributes came in via the GenieX-bridge
squash-import and target paths that don't exist (sdk/third-party/,
sdk/plugins/qnn/libs/, sdk/libs/). The root .gitattributes has a
single-line 'filter=lfs' pattern of '.', which matches nothing.

Signed-off-by: Mengsheng Wu <mengshengwu@outlook.com>
@mengshengwu
Mengsheng Wu (mengshengwu) marked this pull request as ready for review July 29, 2026 05:44
@mengshengwu
Mengsheng Wu (mengshengwu) merged commit 2a69133 into main Jul 29, 2026
40 of 41 checks passed
@mengshengwu
Mengsheng Wu (mengshengwu) deleted the chore/drop-stale-sdk-gitmeta branch July 29, 2026 08:30
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