Commit Graph

172 Commits

Author SHA1 Message Date
Nate McMaster 9ef45e0c88
Remove reference to non-existent target "BuildMetapackages" 2018-10-25 11:29:08 -07:00
Nate McMaster 968df9578b
Refactor shared framework projects targets and project layout (#3703)
This refactors the targets used to build the shared framework and its .zip files. There are lots of reasons motivating this: Arcade convergence, migration to VSTS, making it easier to build this locally, etc.

Changes:
* Moves move content of build/Sharedfx.{props/targets} into eng/targets/SharedFx.Common.{props/targets}
* Update the build to produce a `runtime.$rid.Microsoft.AspNetCore.App` package (not just the one with symbols in it)
* Refactor the targets which produce .tar.gz/.zip files into separate projects in `src/Installers/`
* Refactor installers, unit tests, and the framework projects to use ProjectReference to flow dependencies between different parts of the build.
* Makes it easier to build the shared framework locally (for the inner dev loop, you can run `dotnet build -p src/Framework/Microsoft.AspNetCore.App/src/ -r win-x64`)
2018-10-24 15:42:06 -07:00
Nate McMaster d991c50c82
Merge release/2.1 and aspnet/WebSockets release/2.2 2018-10-17 15:47:04 -07:00
Nate McMaster 24f85a200c
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in a036f920b8
2018-10-17 15:34:25 -07:00
Nate McMaster c2e4a74f7d
React to renaming this repo from Universe to AspNetCore 2018-10-17 10:24:18 -07:00
Nate McMaster 9c5a54d2d7
Update buildtools and submodules
Resolves aspnet/AspNetCore-Internal#1175
2018-10-16 11:42:25 -07:00
Nate McMaster c37a332a6a
Merge branch 'release/2.1' into release/2.2 2018-10-12 16:56:47 -07:00
Nate McMaster fb3f5d95c2
Backport infrastructure changes and source reorganization
* Add build definition for Azure DevOps
* Put code for metapackages in a subfolder
* Update targets to prepare for submodules merging into this repo
* Add source code for windows installer
* Add source code for Debian installers
2018-10-12 13:59:43 -07:00
Nate McMaster eaad1eb3aa
Remove tasks for analyzing the repo graph (#1469)
As a part of converging repos, we no longer need this code. It is currently buggy and slow, and we can get away without by hard-coding the repo graph (which rarely changes)
2018-10-09 12:01:41 -07:00
Nate McMaster 36f21faecf
Merge branch 'release/2.1' into release/2.2 2018-10-05 17:04:01 -07:00
Nate McMaster 36e462d6f2
Update branding to 2.1.6-servicing (#1455)
Cleanup the implementation of version.props to make it clearer what the rules are for appending version suffixes, applying updates, etc.
2018-10-05 16:50:15 -07:00
Nate McMaster b0b65a530a
Support using Internal.AspNetCore.Sdk as an MSBuild SDK (#1452)
* Add Microsoft.AspNetCore.BuildTools.ApiCheck as an external dependency
* Move the global.json files temporarily to avoid loading the wrong version of Internal.AspNetCore.Sdk
2018-10-04 11:07:06 -07:00
Nate McMaster 555f10b5f9
Fix #650 - remove the BuildGraphOf property (#1302) 2018-08-10 09:42:43 -07:00
Nate McMaster 2e96271e69
Merge branch 'release/2.1' into release/2.2 2018-07-25 09:29:48 -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
Nate McMaster 9276602279
Merge branch 'release/2.1' into release/2.2 2018-07-06 13:43:43 -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
John Luo 1b0781cf20 Merge branch 'release/2.1' into dev 2018-06-27 16:54:10 -07:00
Nate McMaster 6b8aac13e0
Prepare infrastructure for the 2.1.3 patch 2018-06-27 14:51:05 -07:00
Nate McMaster e4e3551a1e
Prepare 2.1.2 patch 2018-06-12 15:18:36 -07:00
Nate McMaster 2a63b00218
Remove dependency on PreinstallBundledPackages target 2018-06-05 18:15:39 -07:00
Nate McMaster 451c7036a6
Merge branch 'release/2.1' into dev 2018-06-04 13:05:46 -07:00
Nate McMaster ca4e81b975
Merge branch 'release/2.0' into release/2.1 2018-06-01 17:08:08 -07:00
Nate McMaster a39e0b8d6d
Merge branch 'release/2.1' into dev 2018-05-30 17:43:42 -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
Nate McMaster 71fb3b2f6a
Fix version coherence check to filter out non-package artifacts 2018-05-30 11:34:03 -07:00
Nate McMaster faf600ce71
Fixup the effect of cascading versions (#1187)
The PR #1175 was incomplete. This fixes the cascading effect of patching to 2.1.1

Changes:
 - add CheckRepoGraph (ported directly from the release/2.0 branch)
 - Update submodules
2018-05-30 10:58:10 -07:00
Nate McMaster 6beb419a02 Upgrade metapackages, shared framework, and installers to netcoreapp2.2 2018-05-09 11:51:06 -07:00
Nate McMaster 695bf56afc
Run VerifyCoherentVersions check (#1156)
All packages were being ignored. This adds an error if 0 packages are found, and also fixes the folder scanned for coherence.

This also required removing the 'Private' designation from external dependencies, because we no longer scan just shipping packages,

Removed unused NoWarn metadata as well.
2018-05-08 16:51:26 -07:00
Nate McMaster 1c59b85c9a
Run PreinstallBundledPackages 2018-05-02 10:37:24 -07:00
Ryan Brandenburg adccac3591 Fix GetArtifactInfo 2018-04-18 18:00:24 -07:00
Nate McMaster 68a122b16c
Merge branch 'release/2.1' into dev 2018-04-09 09:54:00 -07:00
Nate McMaster 6c79085b10
Use PackageVersion to define version of the LineupPackage 2018-04-06 11:27:10 -07:00
Nate McMaster 9f7e295af8
Add task to generate the repo to repo graph (#1036) 2018-04-05 13:24:49 -07:00
Pavel Krymets f828c9d6aa
Merge release/2.1 into dev (#1030) 2018-04-03 10:45:17 -07:00
Nate McMaster cad2b01dae
Hard-code the repo-to-repo build order on macOS and Linux (#1028)
Workaround for #1014
2018-04-02 15:31:45 -07:00
Nate McMaster d94db644e3
Backport: separate list of dependency versions and dependency items, and stop issuing KRB4002 on duplicates 2018-03-27 10:06:56 -07:00
Nate McMaster 7fffc939cf
Backport: consolidate list of myget feeds to one place and remove the need to mirror packages 2018-03-27 09:03:44 -07:00
Nate McMaster 2efb163714
Generate branding.g.props for use in downstream builds that need to align version information 2018-03-26 16:14:30 -07:00
Nate McMaster eb5b94e3c4
Make consistent variable names for RestoreSourcePropsPath 2018-03-26 16:03:09 -07:00
Nate McMaster 2dbb33d316
Update to build tools 2.0.7-rtm-10025 and remove custom DownloadNuGetPackages task in favor of the one in build tools 2018-03-26 11:53:34 -07:00
Nate McMaster 0f765534cb
Remove duplicate copies of files from artifact output 2018-03-23 16:37:40 -07:00
Nate McMaster 6eb4b0ecfb
Prepare the 2.0.7 patch 2018-03-22 10:08:30 -07:00
Nate McMaster 6c54d51390
Ensure repos have a NuGetPackageVerifier file (#980) 2018-03-21 12:39:51 -07:00
Nate McMaster 349acb5bb3
Condense restore feed configuration to single location and remove package mirroring (#945) 2018-03-13 10:56:09 -07:00
Nate McMaster 4dcb3f4ce9
Don't set version variables in a ProdCon build that we expect from PackageVersions.props (#924) 2018-02-27 15:50:17 -08:00
Nate McMaster 06e225dc9f
Better error for when you forget to clone submodules 2018-02-16 10:55:37 -08:00
John Luo b90e74cd10 Merge branch 'release/2.1' into dev 2018-02-13 14:29:11 -08:00
John Luo 84aee6be39 Feedback 2018-02-13 14:18:37 -08:00
= 6c4f043136 Include SignalR packages in .App/.All 2018-02-13 14:14:17 -08:00