-
Notifications
You must be signed in to change notification settings - Fork 353
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
Use Microsoft copyright #2635
Conversation
There was a problem hiding this 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"); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to change this (https://github.com/dotnet/arcade/blob/master/Directory.Build.props#L6) as well or exclude it?
There was a problem hiding this comment.
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.
Remove copyright made redundant by dotnet/arcade#2635.
Remove copyright made redundant by dotnet/arcade#2635.
Remove copyright made redundant by dotnet/arcade#2635.
Remove copyright made redundant by dotnet/arcade#2635.
* Remove copyright made redundant by dotnet/arcade#2635.
No description provided.