Commit Graph

984 Commits

Author SHA1 Message Date
Nate McMaster a85d99ab8e
Add the 2.1.3 archive baselines and a target to ensure this test is run on PR builds 2018-08-10 09:08:55 -07:00
Nate McMaster e4161d8971 Prepare 2.1.4 patch
* Update submodules for EF Core, Scaffolding, and Templating
* Change version number for metapackages to 2.1.4
2018-08-07 21:24:01 +00:00
Nate McMaster 7119fc7e1d
Upgrade xunit test runner to 2.4.0 RTM and xunit.analyzers to 0.10.0 (#1275)
Also, cleaned up two unused properties from the deps.props file.
2018-07-25 11:08:35 -07:00
dotnet-maestro-bot 18e0871fe2 Update to NETCore.App 2.1.3-servicing-26722-02 2018-07-23 19:40:41 -07:00
dotnet-maestro-bot 7d12e6bb13 Updating external dependencies (#1268)
New versions:
    MicrosoftNETCoreDotNetAppHostPackageVersion
    MicrosoftNETCoreAppPackageVersion
2018-07-19 17:31:53 -07:00
dotnet-maestro-bot 8260ed6c46 Update to NETCore.App 2.1.3-servicing-26718-02 2018-07-18 19:47:18 -07:00
Nate McMaster 019210ff0a
Fix for when InstallSharedRuntimeFromPreviousBuild is true and AspNetCoreFxFeed is set 2018-07-18 11:20:23 -07:00
Nate McMaster e69a47f230
Implement patch policies per repo and set default to ProductChangesOnly
Our policy since 1.0.0 has been to always cascade version updates in the packages we own. e.g. if Logging has a product change in 2.1.x, then Kestrel, EF Core, Mvc, etc also re-ship with the updated Logging dependency. This has been done for a variety of reasons:

* NuGet does not show updates for transitive dependencies, only direct ones
* NuGet does resolves the lowest compatible transitive dependencies
* ASP.NET Core ships to both .NET Framework (where transitive dependency version matters) and .NET Core (where it matters less if you use the shared framework)

While transitive dependencies is still an important scenario, this practice of always patching has led to bigger issues.

* High probability users will unintentionally upgrade out of the shared framework: #3307
* Conflicts with metapackages that attempt to use exact version constraints: aspnet/Universe#1180
* A quality perception issue: the high volume of new versions in servicing updates with only metadata changes has created the impression that new versions of packages may not be very important. It's also made it appear like there are more issues product than there really are.
* High volume of packages changing with only metadata changes. Of the last 301 packages published in a servicing update, only 11 contained actual changes to the implementation assemblies. (3.5%)

This change implements a system to verify a new, non-cascading versioning policy for servicing updates. This required changes to repos to pin version variables to that matter per-repo,
and to remove some of the restrictions and checks.

Incidentally, this should make defining new patches easier because it automatically determines which packages are or are not patching in the release.
2018-07-12 21:33:50 -07:00
dotnet-maestro-bot 4f81f75777 Updating external dependencies (#1249) 2018-07-10 12:45:52 -07:00
Nate McMaster b410a585f7
Merge 2.1.2 into release/2.1 2018-07-10 10:27:26 -07:00
Nate McMaster 931f0754af
Do not restore in parallel - workaround for race condition in /t:Restore 2018-07-06 15:34:05 -07:00
Nate McMaster bf03fee4be
Refactor LZMA generation to support Docker and Antares usage
List explicitly as .csproj files the scenarios for which the offline package cache is important

Produces new artifacts designed for various scenarios, such as:
 * Docker (where xml doc files are not needed)
 * Azure web apps (where 1.x SDKs must still be supported, but xml docs are not needed)
2018-07-06 13:15:23 -07:00
Nate McMaster d7721fdff4
Merge branch 'release/2.0' into release/2.1 2018-07-05 20:12:24 -07:00
Nate McMaster cd449cef2b
Update xunit.runner.visualstudio to 2.4.0-rc.1.build4038 2018-07-05 14:56:52 -07:00
Nate McMaster 62ea0264e4
Ensure trx logging is reported correctly when building in TeamCity 2018-07-05 10:14:35 -07:00
Nate McMaster a7811c5656
Ensure .NET Core runtimes are install in alpine builds to tests can run 2018-07-03 12:26:20 -07:00
Nate McMaster d2d9a47686
Invoke dotnet vstest directly instead of using the VSTest target
Attempt to workaround Microsoft/vstest#1503 which causes test failure output to be swallowed
2018-07-03 10:08:25 -07:00
Nate McMaster 55e0fd5677
Fix the version override check for ProdCon builds 2018-07-02 17:02:30 -07:00
Nate McMaster 1895502c48
Update the LZMA to include NETStandard.Library 2.0.3 2018-07-02 16:45:20 -07:00
Nate McMaster d456fdba63
Don't publish the runtime-site-extension in servicing builds 2018-06-29 19:37:15 -07:00
John Luo b9d956df59 Ensure no trailing slashes for LZMA generation 2018-06-28 20:28:36 -07:00
John Luo 96c5b3c2ae Update StackExchange.Redis.StrongName version 2018-06-27 15:38:23 -07:00
John Luo e17f426e92 Update DotnetArchive version 2018-06-27 15:27:28 -07:00
Nate McMaster 91a1d2de50
Add unit tests for the shared framework (#1228)
Changes:
* Add a test project with simple unit tests for the shared framework
* Add root-level Directory.Build.props/targets files
* Cleanup .csproj files to reduce duplication
2018-06-27 14:56:10 -07:00
Nate McMaster 6b8aac13e0
Prepare infrastructure for the 2.1.3 patch 2018-06-27 14:51:05 -07:00
John Luo 2cd777f061 Bust MSBuild cache on retries 2018-06-22 10:26:49 -07:00
John Luo a296fe4cdf Add retries for restores during LZMA generation 2018-06-21 15:54:01 -07:00
= a7d70164be Merge branch 'public/release/2.1' into release/2.1-msrc 2018-06-20 18:15:44 -07:00
John Luo ea5ed2250d Pin aspnetcore runtime version for LZMA generation 2018-06-20 18:02:07 -07:00
= ff02e61a7f Merge remote-tracking branch 'public/release/2.1' into release/2.1-msrc 2018-06-19 11:46:39 -07:00
John Luo ccfd5f80b7 Pin runtime version for LZMA generation 2018-06-18 20:11:20 -07:00
John Luo 5931c7fb9a Remove trailing slashes when creating LZMAs 2018-06-18 13:08:43 -07:00
Nate McMaster aa91b802f9
Add script used to deploy blobs to Azure storage 2018-06-13 14:26:46 -07:00
Nate McMaster c3989f8477
Update to .NET Core App 2.0.9-servicing-26612-03 2018-06-12 15:29:54 -07:00
Nate McMaster e4e3551a1e
Prepare 2.1.2 patch 2018-06-12 15:18:36 -07:00
John Luo 25bbb466db Create compressed delta lzma for antares
- The delta lzma is packaged as a zip
- Only new content that's not present in the LKG lzma is included
- Xmls are removed
2018-06-08 11:08:09 -07:00
Nate McMaster cf24fb23e7
Fix bug in generating .version file in the shared frameworks 2018-06-07 11:42:27 -07:00
Nate McMaster e1f56d1cae
Consume a new version of System.Net.WebSockets.WebSocketProtocol 2018-06-06 15:25:33 -07:00
Nate McMaster a373d7e5d7
React to changes in corefx
New package versions incoming to this patch causes a cascading change to preserve transitive dependencies

* System.Data.SqlClient
* System.Memory
* System.Runtime.CompilerServices.Unsafe
* System.Threading.Tasks.Extensions
2018-06-05 09:19:06 -07:00
Nate McMaster 6586c921f0
Fix compiler error introduced by merge conflict 2018-06-04 10:39:30 -07:00
Nate McMaster d5d1246c46
Fixup bad changes from merge 2018-06-01 17:16:43 -07:00
Nate McMaster ca4e81b975
Merge branch 'release/2.0' into release/2.1 2018-06-01 17:08:08 -07:00
Nate McMaster 5fc61022bc
Don't expect the site extension zip to exist in build output if AzureIntegration is not patching 2018-05-31 22:52:09 -07:00
Nate McMaster 5f0b4e1322
Refactor property names for computing .deb/.rpm file names and dependencies 2018-05-31 17:49:19 -07:00
Nate McMaster c801671fbf
Stop producing old-style rpm/deb installers (#1191) 2018-05-31 15:01:28 -07:00
Nate McMaster 309e9e3077
Widen dependency version range on Microsoft.AspNetCore.App to allow patch updates (#1186)
Originally, we thought using exact version ranges on the dependencies of Microsoft.AspNetCore.App
would help protect consumers from lifting binaries out of the shared framework. However,
this makes it difficult for consumers to use packages that share a dependency with .App.
When users tried to mix Microsoft.EntityFramework.SQLite 2.1.1 with Microsoft.AspNetCore.App 2.1.0,
NuGet errors and warnings made it difficult to reason about what was wrong, and how to resolve it.

This changes the dependency version range to allow uses to upgrade within the major.minor patch family
without needing to override NuGet warnings. This removes some of the protections against users
unintentionally lifting to a binary newer than the shared framework, however, after lots of discussion,
we believe this is a better user experience.
2018-05-31 12:40:52 -07:00
Nate McMaster d6017ab253
Remove Proxy and WebHooks from explicit build order list 2018-05-30 18:06:07 -07:00
Nate McMaster 4935711bce
Add trailing slash to <DotNetAssetRootUrl> 2018-05-30 17:13:42 -07:00
Nate McMaster f126871a4c
[2.1.x] Remove WebHooks and Proxy from servicing (#1189)
These repos do not produce packages that will ship in 2.1.x.
2018-05-30 15:16:22 -07:00
Nate McMaster da8ca36fe8
Pin to stable 2.1.0 corefx packages (#1188)
* Pin to stable 2.1.0 corefx packages
* Ensures ProdCon overrides passed to us match our expectations about which variables will be set
2018-05-30 13:42:36 -07:00