Skip to content
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

Use Microsoft copyright #2635

Merged
merged 1 commit into from
Apr 29, 2019
Merged

Use Microsoft copyright #2635

merged 1 commit into from
Apr 29, 2019

Conversation

tmat
Copy link
Member

@tmat tmat commented Apr 27, 2019

No description provided.

Copy link
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
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
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
Member

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
Contributor

Choose a reason for hiding this comment

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

Copy link
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