-
Notifications
You must be signed in to change notification settings - Fork 133
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
Stop making src modifications to every repo's eng/common/tools.sh #3171
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@MichaelSimons @mmitche - source-build is modifying The following 2 environment variables are available during Bash script execution, and can be used to push the VMR change upstream, which would add some source-build conditioned code:
The alternative would be to dig deeper and understand if we could either: 1) drop source-build change altogether, or 2) modify Arcade's code to return |
Does the history indicate why source-build changed to update this to return $exit_code? |
It seems that this source-build workaround can simply be removed - #2307 (comment) |
This would need to be validated. The exit code was not preserved and therefore would not fail the build. SB runs with the CI flag set. |
Besides workaround for #2307, we also update There are two repos that require this today: |
In .NET 9.0, I am hopeful that the VMR will force every repo to be on the same arcade version. Ideally there would only be one copy of the eng/common directory in the VMR. Shorter term, could we allow control via an ENV? |
We could utilize env.vars to condition this code. I presume the proposal is to make the necessary, conditioned, changes in |
When building the VMR, there are several checked in files that are being modified. This yields a poor UX as these must be undone before you can build cleanly again. These edits will also become a nuisance in .NET 9 when the VMR can be used to checkin changes.
One type of file being modified is each repo's repo's eng/common/tools.sh. This file is updated to workaround #2307
The text was updated successfully, but these errors were encountered: