Run over only a subset of project files to speedup the rewrite (only what changed in git branch) #3516
Unanswered
fprochazka
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, running OR on a big codebase is a major pain, as it currently takes around a minute to finish on my project. I know there is a commercial offering, that might solve this at least partially, but we're not yet that heavily invested into the project to consider it.
I would ideally want to only run OR on files that changed in a branch (diffed against main). I can solve easily the "getting list of files to rewrite" subproblem, but I don't know how to force OR to run only on this subset. I understand its probably gonna need to parse most of if not the entire project, to be able to run the recipes in the few files, but even that should be a major speedup I hope.
I was thinking I could even somehow generate the config dynamically and pass it to OR, but for the maven plugin there is only
<exclusions>
.I guess I'm willing to try to explore the possibility of forking the maven plugin and hacking this into it somehow (and then sending a PR), but that's not a small feat.
Any other ideas or options I've overlooked? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions