-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[build] 'make reset' target will continue recursive operations even if some fail #4675
Conversation
Retest vs please |
when would the command fail on the mgmt-framework submodule? |
retest vs please |
@lguohan: It fails to delete files in the
|
Retest vsimage please |
retest vsimage please |
why in this case, we should skip these errors and let it continue? shouldn't we ask broadcom to fix the reset issue on their repo? |
@lguohan: Yes, Broadcom should fix the root cause, but this patch allows the command to continue and reset the remaining submodules. The error messages still get printed to stdout, so it will be noticed, it's not suppressed. This patch just prevents the need to manually clean up multiple submodules if any one fails to clean up. |
retest vsimage please |
when you merge, can you make sure you edited the commit message to include what you have in the pr. |
… fail (#4675) This change allows the recursive `git clean` and `git reset` commands to continue even if they encounter an error in one of the submodules. Previously, if an error was encountered, the operation would terminate with a message similar to the following: Stopping at 'src/sonic-mgmt-framework'; script returned non-zero status.
This change allows the recursive
git clean
andgit reset
commands to continue even if they encounter an error in one of the submodules. Previously, if an error was encountered, the operation would terminate with a message similar to the following:Stopping at 'src/sonic-mgmt-framework'; script returned non-zero status.