Skip to content

Set copyright and package license#4191

Merged
tmat merged 3 commits intomasterfrom
dev/tomat/copyrights
Feb 21, 2019
Merged

Set copyright and package license#4191
tmat merged 3 commits intomasterfrom
dev/tomat/copyrights

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Feb 21, 2019

Prepares repo for change dotnet/arcade#2003 by setting Copyright and PackageLicenseExpression properties. These values will be required to be set by each repository once dotnet/arcade#2003 is merged.

In order to not break the current builds this change sets the properties conditionally. This condition can be removed once all repos switch to Arcade that has dotnet/arcade#2003.

@markwilkie

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Feb 21, 2019

@rainersigwald @livarcocc PTAL


<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''">
<Copyright>$(CopyrightNetFoundation)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
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.

Does this override PackageLicenseUrl if it's present? Or do we need to condition that on the inverse of this condition?

https://github.com/Microsoft/msbuild/blob/f42e4b11fb675b8164a5c666cfc2d42c5755bffd/src/Directory.Build.props#L59

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 need the condition on PackageLicenseUrl. Will add.

@tmat tmat merged commit 99e1504 into master Feb 21, 2019
@tmat tmat deleted the dev/tomat/copyrights branch February 21, 2019 21:08
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.

2 participants