-
Notifications
You must be signed in to change notification settings - Fork 273
Examples of custom transformations? #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can use dynamic transformations like:
Regarding AST, sadly we don't have support for AST manipulation. We would like to add it in the future. |
Hi @mikelalcon , this seems to run extremely slowly, to the point where we've never seen copybara terminate - is this expected? Before, we had a transformation of just The step would finish instantly:
Now, we're using something like what you suggested:
The step now has not finished running (has been running for a few hours):
CPU is definitely working, just not sure what's going on. Is there a way to speed this up? The whole config is just:
|
From reading the docs, we have a setup that performs various simple copies, moves, etc.
Are there examples of more complex transformations?
Such as:
.copybara/
gets its files copied out into the parent dir, so you can have.copybara/
scattered throughout the codebase and colocated with the overlaid files.The text was updated successfully, but these errors were encountered: