Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Add placeholder entry to global.json#37675

Merged
ViktorHofer merged 3 commits intodotnet:masterfrom
ViktorHofer:placeholderglobaljson
May 16, 2019
Merged

Add placeholder entry to global.json#37675
ViktorHofer merged 3 commits intodotnet:masterfrom
ViktorHofer:placeholderglobaljson

Conversation

@ViktorHofer
Copy link
Copy Markdown
Member

@ViktorHofer ViktorHofer commented May 15, 2019

Fixes https://github.com/dotnet/corefx/issues/36846

JSON comments are not supported as we have consumers that don't support that.

This should eliminate the plaguing merge conflicts in global.json

Comment thread global.json
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19264.13",
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19264.13",
"FIX-85B6-MERGE-9C38-CONFLICT": "1.0.0",
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.

😆

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I am curious, does 85B6 9C38 mean anything? I thought maybe you were trying to link to the issue number somehow: 36846

Copy link
Copy Markdown
Member Author

@ViktorHofer ViktorHofer May 16, 2019

Choose a reason for hiding this comment

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

no, it's a random guid to avoid restoring a real package with the name "fix-merge-conflict"

Copy link
Copy Markdown
Member

@safern safern left a comment

Choose a reason for hiding this comment

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

Unfortunate that we needed to go this route, but is better than solving merge conflicts on every auto-update PR.

Copy link
Copy Markdown
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

I've seen worse :)

@ahsonkhan
Copy link
Copy Markdown

Lol, it's only fitting that such a PR would have merge conflicts :)
image

@ViktorHofer ViktorHofer merged commit 02b3832 into dotnet:master May 16, 2019
@ViktorHofer ViktorHofer deleted the placeholderglobaljson branch May 16, 2019 20:30
@karelz karelz added this to the 3.0 milestone May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider eliminating global.json merge conflicts

6 participants