Skip to content

[x2cpg] Possible replacement implementation for findSupportedBuildFiles.#5959

Open
ml86 wants to merge 1 commit into
masterfrom
markus/depResolveImprove
Open

[x2cpg] Possible replacement implementation for findSupportedBuildFiles.#5959
ml86 wants to merge 1 commit into
masterfrom
markus/depResolveImprove

Conversation

@ml86
Copy link
Copy Markdown
Contributor

@ml86 ml86 commented May 4, 2026

This implementation does not do its own recursion and does not just take
the first ".gradle" file in each subdirectory.
Question is: Was that done on purpose? I highly doubt it but will wait
until futher clarification.

@johannescoetzee Please come back to me on this one to discuss.

This implementation does not do its own recursion and does not just take
the first ".gradle" file in each subdirectory.
Question is: Was that done on purpose? I highly doubt it but will wait
until futher clarification.
@ml86 ml86 requested a review from johannescoetzee May 4, 2026 12:01
@ml86 ml86 changed the title Possible replacement implementation for findSupportedBuildFiles. [x2cpg] Possible replacement implementation for findSupportedBuildFiles. May 4, 2026
@max-leuthaeuser
Copy link
Copy Markdown
Contributor

I guess we should make use of https://github.com/joernio/joern/blob/master/joern-cli/frontends/x2cpg/src/main/scala/io/joern/x2cpg/SourceFiles.scala here.
There are many things that can go wrong when naively traversing directories.

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.

2 participants