-
Notifications
You must be signed in to change notification settings - Fork 534
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
Fix #2768: Removed voiceover_java_proto_lite from the list of exports in the model library #2999
Conversation
PTAL @prayutsu @fsharpasharp |
Could you try removing the visibility field for voiceover_java_proto_lite? In general, for the BUILD linting you can try running https://github.com/oppia/oppia-android/blob/develop/scripts/buildifier_lint_check.sh locally. It might require some changes to output the specific issues. Let me check that. |
Actually, the problem with Bazel linter is it does not point out to the lines where the linter is failing, @anandwana001 Can you help us here? |
We don't need to know the lines where it's failing, if we run the buildifier on the file to format the file for us. Run https://github.com/oppia/oppia-android/blob/develop/scripts/buildifier_download.sh Then use
|
The command we use to lint check is
|
@fsharpasharp I am not sure if we can use the downloaded binary on local machine. As for me, I get some issues on mac. Let me know if it is working for you?
|
I'm on Linux and it works for me. Just a sanity check, have you done
What issues are you getting? Edit: buildifier_download.sh puts the buildifier binary in the current directory, but buildifier_lint_check.sh looks for the binary in
|
Error I am getting:
If you see in
So, it will download the binary in |
I see, I did update the buildifier_file_path in my local |
It looks like it's working when the binary is in the root.
|
Filed an issue with an alternative solution. #3000 |
That looks like a robust solution. Thanks for looking into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
PTAL @BenHenning @vinitamurthi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Karanjot-singh! LGTM.
@anandwana001 passing this back to you since it appears you've requested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the bazel linting.
PTAL @vinitamurthi |
Merging this as the change is trivial and other reviewers has approved it. |
Explanation
Fixes #2768: Removed voiceover_java_proto_lite from the list of exports in the model library
Checklist