-
Notifications
You must be signed in to change notification settings - Fork 274
#159 Refactor NonReversibleValidationException package #160
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
Conversation
@mikelalcon Any pointers would be greatly appreciated. Thanks! |
bcc84b1
to
52c6152
Compare
I have just rebased on the updates after this PR opened 1358d8a :) |
52c6152
to
ecd7e07
Compare
Hi! Just want to check, |
ecd7e07
to
f43ed1e
Compare
@mikelalcon Any pointers would be greatly appreciated. Thanks! |
Hi, apologies for the slow turnaround. Essentially this requires some manual attention from our side because it breaks some of our custom extensions. We will get to it ASAP. |
Categorize it into exception package and solve related build dependencies.
f43ed1e
to
9de1cfc
Compare
I just made a experiment whether internal checks failed is because that, CheckStyle "CustomImportOrder" is violated, for example: // WRONG: violated "CustomImportOrder"
- import com.google.copybara.NonReversibleValidationException;
+ import com.google.copybara.exception.NonReversibleValidationException;
import com.google.copybara.TransformWork;
import com.google.copybara.Transformation;
import com.google.copybara.WorkflowOptions;
import com.google.copybara.exception.ValidationException; // CORRECT: should be in this sorting order
- import com.google.copybara.NonReversibleValidationException;
import com.google.copybara.TransformWork;
import com.google.copybara.Transformation;
import com.google.copybara.WorkflowOptions;
+ import com.google.copybara.exception.NonReversibleValidationException;
import com.google.copybara.exception.ValidationException; But it seems that it's not the root cause and still failed. |
No, it is not something you can fix, apologies for the delay. |
Description
Categorize
NonReversibleValidationException.java
into exception package and solve related build dependencies.To avoid bazel cycle in dependency graph error as a result, I found the root cause is the java doc so I modify it a little bit tricky.
Motivation and Context
All exception classes should be categorized into the exception package. By doing so, the source code would have better modularity.
This PR solves #159
How has this been tested?
Have passed Bazel build completely successfully and not affected functionalities.
Types of changes
Refactor
Checklist: