Merged
Conversation
Member
Author
dougbu
reviewed
Feb 9, 2019
6a65471 to
82414a0
Compare
Member
|
@tmat - is it known which repos this will "break"? |
Member
Author
|
@markwilkie All repos. They will need to specify |
Member
|
ok - given the impact, I'll need to be sure and communicate this well before it's merged. |
Eilon
reviewed
Feb 12, 2019
Member
Author
Indeed. We need the DL for communicating breaking changes. This would be a good opportunity to set it up (I don't mind waiting a bit longer with merging this PR). |
Member
Author
|
@markwilkie I figured out how to make this change in a non-breaking way. |
This was referenced Feb 21, 2019
This was referenced Feb 21, 2019
danmoseley
reviewed
Feb 22, 2019
8c5df69 to
60a047a
Compare
Member
|
Now that P3 is behind us, is this ready to go in @tmat ? |
Member
Author
|
Yes. I'll merge. |
Add predefined licenses and copyrights Replace PackageLicenseUrl with PackageLicenseExpression(Internal)
rainersigwald
added a commit
to dotnet/msbuild
that referenced
this pull request
Mar 20, 2019
dotnet-maestro bot
added a commit
to dotnet/msbuild
that referenced
this pull request
Mar 20, 2019
* Update dependencies from https://github.com/dotnet/arcade build 20190317.10 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19167.10 * License change demanded by Arcade See dotnet/arcade#2003. * [Arcade] Update .NET SDK, NuGet version This is required by new enforcement of LicenseExpression, which isn't supported by versions of NuGet before 4.9, included with MSBuilds before 15.9. * Convert Localization package to license expression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change must be merged after Preview 3, since it depends on changes to repos consuming Acade that were made to their master branches.
Updates the dotnet cli used for build to 2.1.503, which brings in new NuGet license features.
Removes the need for suppressing NU5125.
Since they are no longer passing
PackageLicenseUrlthis is a breaking change for projects that depend on Arcade targets when generating packages from .nuspec files.NuGet supports
PackageLicenseExpressionorPackageLicenseFile(see docs). The former is essentially a well-known identifier for a license, such asMITorApache-2.0for our repos. The later means including the license file in the package. The expression is preferable, since one doesn't need to check that the license file is exactly what it's supposed to be.How do we make sure that the license file in the repo root matches the license specified by
PackageLicenseExpressionin Directory.Build.props file? This PR implements a simple content check for the licenses we need - it includes the expected license text files in Arcade SDK and then we compare the content and it must match modulo line breaks, whitespace. We require the license file in the root to be namedlicense(.txt|.md|), ignoring case.Each repository must specify either
PackageLicenseExpressionorPackageLicenseExpressionInternal. The former when an OSS license is used the later when closed source license is used.The PR updates helpers for building packages from .nuspec. Instead of passing each msbuild property thru as a nuspec property and then listing all the metadata elements manually in the nuspec like so Arcade now defines a single property
CommonMetadataElementsthat includes all the common nuspec metadata and can be used in the nuspec simply like so:Fixes #1955.
Fixes #1373.
Fixes #16.