Allow override of build tool framework version#2283
Conversation
There was a problem hiding this comment.
This file is provided by arcade. It shouldn't be modified here. Instead, the change should be applied to https://github.com/dotnet/arcade/blob/main/eng/common/tools.sh which will cause it to flow to consuming repos.
There was a problem hiding this comment.
Yes, I'm aware of that. The reason for this change is to modify the file in the repo, to have the correct version until they pick up new Arcade. This repo is usually behind on Arcade updates.
@mmitche do you think this change should be applied to Arcade as well? It does seem that it would allow us to cover any new repo in the future that gets behind on Arcade updates.
There was a problem hiding this comment.
It has to be applied to Arcade. Otherwise, it'll get overwritten on the next Arcade update.
There's an Arcade flow that @ViktorHofer appears to be working on #2228.
There was a problem hiding this comment.
I would apply to arcade first, then to this repo.
There was a problem hiding this comment.
Sounds good. We were not concerned with overwriting this by new Arcade, as the goal was to get this repo to behave properly in source-build, while on old Arcade. Overwriting with new Arcade would update it to be the same as all other repos, which do not need this type of customization. That said, there is a value in having the ability to override build tool framework version in all repos, so I'll make the change in Arcade as well.
|
@jonsequitur @adamsitnik this is a backport of dotnet/installer#17664. Can you take a look and approve/merge it? |
|
@NikolaMilosavljevic - Is this necessary now that the arcade version was upgraded to 8.0 in #2228? |
Oh, that's great - Arcade PR was just merged. The concern is for 9.0 and if this repo stays on 8.0 while most of the others move to 9.0 (including source-build). 9.0 Arcade implements this same override. I'm going to resolve the merge conflict and leave this open. We still want this merged - @jonsequitur @adamsitnik all checks are passing, this has no impact to the repo, and only guards from potential future build breaks in source-build. |
|
@jonsequitur @adamsitnik this is ready to be merged. I do not have merge permissions. |
|
cc @mmitche |
Contributes to: dotnet/source-build#3171
This is required for full product source-build. We've been making this change dynamically at every build. Our goal in 9.0 is to not make any source changes during source-build.