Skip to content

lang: fix c-sharp-pro fyi.list to reference its own submodule - #618

Draft
malaverdiere wants to merge 1 commit into
mainfrom
marc-andre/fix-c-sharp-pro-fyi-list
Draft

lang: fix c-sharp-pro fyi.list to reference its own submodule#618
malaverdiere wants to merge 1 commit into
mainfrom
marc-andre/fix-c-sharp-pro-fyi-list

Conversation

@malaverdiere

Copy link
Copy Markdown
Contributor

Summary

  • lang/c-sharp-pro/fyi.list was a byte-for-byte copy of lang/c-sharp/fyi.list, listing tree-sitter-c-sharp paths instead of the separately-pinned tree-sitter-c-sharp-pro submodule.
  • lang/semgrep-grammars/src/semgrep-c-sharp-pro/prep actually reads from tree-sitter-c-sharp-pro during generation, so anything scoped by fyi.list (attribution file copying in lang/release, and submodule drift detection) was silently checking the wrong submodule for this language.

Test plan

  • Verified the corrected paths (tree-sitter-c-sharp-pro/LICENSE, tree-sitter-c-sharp-pro/grammar.js, semgrep-c-sharp-pro/grammar.js) exist on disk.
  • CI passes.

c-sharp-pro/fyi.list was a byte-for-byte copy of c-sharp/fyi.list,
listing tree-sitter-c-sharp instead of the separately-pinned
tree-sitter-c-sharp-pro submodule that c-sharp-pro's generation
actually reads from (lang/semgrep-grammars/src/semgrep-c-sharp-pro/prep).
This meant fyi.list-scoped checks (attribution copying, submodule drift
detection) silently ignored the submodule this language really depends on.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@malaverdiere
malaverdiere requested a review from a team as a code owner July 2, 2026 18:14
@malaverdiere
malaverdiere requested a review from emjin July 2, 2026 18:14
@malaverdiere malaverdiere self-assigned this Jul 2, 2026
@malaverdiere
malaverdiere marked this pull request as draft July 2, 2026 23:07
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