Skip to content

Use Microsoft copyright#2635

Merged
tmat merged 1 commit intodotnet:masterfrom
tmat:LicenseMSFT
Apr 29, 2019
Merged

Use Microsoft copyright#2635
tmat merged 1 commit intodotnet:masterfrom
tmat:LicenseMSFT

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Apr 27, 2019

No description provided.

Copy link
Copy Markdown
Contributor

@JohnTortugo JohnTortugo left a comment

Choose a reason for hiding this comment

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

Looks like this change might break somethings. Should we perhaps send an e-mail before?

private static bool? IsMicrosoftLibrary(string copyright)
=> copyright.Contains("Microsoft") ? true : copyright.Contains(".NET Foundation") ? null : (bool?)false;
private static bool IsMicrosoftLibrary(string copyright)
=> copyright.Contains("Microsoft");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can't we do a full comparison with the copyright here?

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.

We can, but I think checking for Microsoft is sufficient.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Given that NuGet requries letter-by-letter compliance it might be worthwhile actually doing that so we catch violations earlier.

Override any other value the project may set.
-->
<PropertyGroup>
<Copyright>$(CopyrightMicrosoft)</Copyright>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

This will override anything the repository sets. We can then stop setting it.

@tmat tmat merged commit eadedb2 into dotnet:master Apr 29, 2019
@tmat tmat deleted the LicenseMSFT branch April 29, 2019 16:14
brettfo added a commit to dotnet/fsharp that referenced this pull request May 6, 2019
Remove copyright made redundant by dotnet/arcade#2635.
KevinRansom pushed a commit to dotnet/fsharp that referenced this pull request May 7, 2019
Remove copyright made redundant by dotnet/arcade#2635.
baronfel pushed a commit to baronfel/FSharp.Compiler.Service that referenced this pull request May 26, 2019
Remove copyright made redundant by dotnet/arcade#2635.
baronfel pushed a commit to baronfel/FSharp.Compiler.Service that referenced this pull request May 26, 2019
Remove copyright made redundant by dotnet/arcade#2635.
StephenBonikowsky added a commit to StephenBonikowsky/wcf that referenced this pull request Jun 3, 2019
* Remove copyright made redundant by dotnet/arcade#2635.
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.

3 participants