Skip to content

Update RepoToolset to 1.0.0-beta2-62804-01#2113

Closed
tmat wants to merge 2 commits into
dotnet:release/2.1.3xxfrom
tmat:RT1.0.0-beta2-62804-01
Closed

Update RepoToolset to 1.0.0-beta2-62804-01#2113
tmat wants to merge 2 commits into
dotnet:release/2.1.3xxfrom
tmat:RT1.0.0-beta2-62804-01

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Apr 5, 2018

Enables source build for dotnet/sdk repo with no patches.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 5, 2018

@nguerrera @dsplaisted PTAL
@dagood

@tmat tmat force-pushed the RT1.0.0-beta2-62804-01 branch 2 times, most recently from 26ae576 to 90afb93 Compare April 5, 2018 02:26
@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 5, 2018

test Ubuntu16.04 Debug please

@nguerrera
Copy link
Copy Markdown
Contributor

LGTM

@livarcocc I think this qualifies as infrastructure and therefore not subject to ask mode. I'm nevertheless a bit concerned about the churn while 2.1.300 P2 is stabilizing. I guess I don't understand why this has to happen in release/2.1.3xx and not master.

@nguerrera
Copy link
Copy Markdown
Contributor

I don't understand why this has to happen in release/2.1.3xx and not master.

Either that or ask for delay until P2 is out the door.

@nguerrera nguerrera requested a review from livarcocc April 5, 2018 23:39
@nguerrera
Copy link
Copy Markdown
Contributor

I approve of the actual file changes, but I'll let @livarcocc handle whether this can go in to this branch now.

@livarcocc
Copy link
Copy Markdown
Contributor

I agree with @nguerrera, it would be better to wait for the prodcon build to be done before merging this change.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 5, 2018

@dseefeld @mmitche To comment on when this needs to be merged.

@dagood
Copy link
Copy Markdown
Member

dagood commented Apr 6, 2018

+@dleeapho too

For practical purposes, we can apply this PR as a set of patches in source-build for preview2. We were hoping to be able to build on the prodcon-built commits without patches wherever possible, though. I don't know how that goal interacts with escrow.

@dleeapho
Copy link
Copy Markdown

dleeapho commented Apr 6, 2018

This change is part of the critical source-build effort that is part of 2.1.300 P2 stabilization. It is infrastructural and though @dagood is correct we could patch it, doing so significantly cuts back on the sustainability of source-build. @leecow to comment on escrow vis-a-vis infra changes.

@mmitche
Copy link
Copy Markdown
Member

mmitche commented Apr 6, 2018

I'll defer to @leecow, but I'm okay with this change, as we are already past sdk in the build and can freeze if necessary.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 6, 2018

test Ubuntu16.04 Debug please

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 6, 2018

test Ubuntu16.04 Release please

Comment thread build/Versions.props
</PropertyGroup>

<PropertyGroup>
<RestoreSources>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to condition these for offline build?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmat tmat force-pushed the RT1.0.0-beta2-62804-01 branch from 3185f11 to dd10bc7 Compare April 6, 2018 20:02
@livarcocc
Copy link
Copy Markdown
Contributor

@mmitche Is this a good time to merge this?

@livarcocc livarcocc added this to the 2.1.3xx milestone Apr 17, 2018
Copy link
Copy Markdown
Member

@dagood dagood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this PR in now?

Comment thread global.json
@@ -0,0 +1,11 @@
{
"sdk": {
"version": "2.1.300-preview3-008414"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid a patch, this should be 2.1.300-preview2-008533 to match the preview2 SDK we use in source-build.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't release/2.1.3xx-src used for source build currently?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the branch used, not sure how that relates to the SDK version though. If you're saying that we could rebase release/2.1.3xx-src on top of this change to make this modification, it's true that wouldn't be a literal patch, but dev branches aren't any better for maintainability than patches.

The SDK we have to use to source-build RC is the one we delivered as 2.1-preview2, which is 2.1.300-preview2-008533 (matching the version we shipped from prodcon).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, soon we'll have a global.json updater that would replace a patch, so it's probably fine to patch/branch for this change temporarily. LGTM as is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm saying that we should merge release/2.1.3xx-src into release/2.1.3xx if it is possible to do so now. Then delete release/2.1.3xx-src.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that basically what this PR is doing? How does that relate to the SDK version?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it is, but there might have been more changes in the -src branch since this PR was created. I think it would be better to create a new PR that merges the branch.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, that sounds fine to me. Will you have time to do that soon?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I can do it today.

@livarcocc
Copy link
Copy Markdown
Contributor

Up to @mmitche to say if he feels comfortable with this being merged now.

Comment thread Directory.Build.props

<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileDirectory)..\Directory.Build.props</MSBuildAllProjects>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is adding a path to a Directory.Build.props in the parent folder. It should probably be:

<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileDirectory)Directory.Build.props</MSBuildAllProjects>

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 25, 2018

Superseded by #2178

@tmat tmat closed this Apr 25, 2018
@tmat tmat deleted the RT1.0.0-beta2-62804-01 branch November 20, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants