From 59d43346e6578985e9e9570c3ac3bb9154919bad Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Thu, 11 Jul 2019 15:35:47 -0700 Subject: [PATCH] Update branding to 2.1.12 (#12096) * also improve PreparingPatchUpdates.md - document changes to dependencies.props - reflect changes in how Templating is handled - e.g. use EF Core examples - nit: adjust indentation to avoid markdown warnings --- build/dependencies.props | 6 +-- docs/PreparingPatchUpdates.md | 38 +++++++++++-------- eng/Baseline.Designer.props | 6 +-- eng/Baseline.xml | 4 +- eng/PatchConfig.props | 4 ++ .../ArchiveBaseline.2.1.12.txt | 1 + .../ArchiveBaseline.2.1.12.txt | 1 + version.props | 2 +- 8 files changed, 37 insertions(+), 25 deletions(-) create mode 100644 src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.1.12.txt create mode 100644 src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.1.12.txt diff --git a/build/dependencies.props b/build/dependencies.props index 062cf99832..da966e4990 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -2,10 +2,10 @@ - 2.1.11 - 2.1.11 + 2.1.12 + 2.1.12 - 4.5.2 + 4.5.2 diff --git a/docs/PreparingPatchUpdates.md b/docs/PreparingPatchUpdates.md index 34813e8162..05e334abb0 100644 --- a/docs/PreparingPatchUpdates.md +++ b/docs/PreparingPatchUpdates.md @@ -16,26 +16,32 @@ In order to prepare this repo to build a new servicing update, the following cha * Update the package baselines. This is used to ensure packages keep a consistent set of dependencies between releases. See [eng/tools/BaselineGenerator/](/eng/tools/BaselineGenerator/README.md) for instructions on how to run this tool. +* **For the subset of external dependencies mentioned at the top of [build/dependencies.props](/build/dependencies.props):** + If a package (Microsoft.NetCore.App for example) shipped in the last release, update the package version properties. + + * Changes made above to external dependencies listed in [eng/Baseline.Designer.props](/eng/Baseline.Designer.props) + should _not_ require further updates. The versions of affected packages should have been updated in + [build/dependencies.props](/build/dependencies.props) during the previous patching cycle. + * **For packages with source code in this repo (not a submodule):** Update the list of packages in [eng/PatchConfig.props](/eng/PatchConfig.props) to list which packages should be patching in this release. * **For packages still building from submodules:** Update the list of repositories which will contain changes in [build/submodules.props](/build/submodules.props). - * `` items represent repos which were released in a previous patch, and will not contain servicing updates in the next patch. - * `` items represent repos which will produce new packages in this patch. - * It is usually best to move everything to `` and then iteratively add them back to `` as new repos receive approval to patch. - * Don't change the `PatchPolicy` attribute. The build system uses this to ensure patching rules are obeyed. + * `` items represent repos which were released in a previous patch, and will not contain servicing updates in the next patch. + * `` items represent repos which will produce new packages in this patch. + * It is usually best to move everything to `` and then iteratively add them back to `` as new repos receive approval to patch. + * But, do not change the Templating item at all. That is only _treated_ as a submodule. + * Don't change the `PatchPolicy` attribute. The build system uses this to ensure patching rules are obeyed. -* For each repository still listed as a ``, update the version.props file in that submodule. For example, https://github.com/aspnet/Templating/pull/824 +* **For each repository still listed as a ``:** Update the version.props file in that submodule. For example, https://github.com/aspnet/EntityFrameworkCore/pull/15369/files#diff-2a92b4d7f8df251ffd3a0aa63e97aad5 - * The version prefix in repos should match the version of ASP.NET Core. - * Exception: SignalR, which is "1.1", not "2.1". - * This leaves holes in versioning, which is okay. This may mean you increment the patch value by more than one. Example: - * EF Core ships patches in 2.1.4 as "2.1.4" - * EF Core does not ship patches in 2.1.5 or 2.1.6 - * EF Core ships in 2.1.7, therefore, EFCore's version.props file should jump from 2.1.4 to 2.1.7. + * This leaves holes in versioning, which is okay. This may mean you increment the patch value by more than one. Example: + * EF Core ships patches in 2.1.8 as "2.1.8" + * EF Core does not ship patches in 2.1.9 or 2.1.10 + * EF Core ships in 2.1.11, therefore, EFCore's version.props file should jump from 2.1.8 to 2.1.11. - ```diff - - - 2.1.4 - + 2.1.7 - ``` + ```diff + + - 8 + + 11 + ``` diff --git a/eng/Baseline.Designer.props b/eng/Baseline.Designer.props index 519b19b9db..a830a66044 100644 --- a/eng/Baseline.Designer.props +++ b/eng/Baseline.Designer.props @@ -2,7 +2,7 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - 2.1.11 + 2.1.12 @@ -898,14 +898,14 @@ - 2.1.1 + 2.1.12 - + diff --git a/eng/Baseline.xml b/eng/Baseline.xml index 6011202d83..dff0b069c0 100644 --- a/eng/Baseline.xml +++ b/eng/Baseline.xml @@ -4,7 +4,7 @@ This file contains a list of all the packages and their versions which were rele build of ASP.NET Core 2.1.x. Update this list when preparing for a new patch. --> - + @@ -97,7 +97,7 @@ build of ASP.NET Core 2.1.x. Update this list when preparing for a new patch. - + diff --git a/eng/PatchConfig.props b/eng/PatchConfig.props index 47f840db70..0965ea09da 100644 --- a/eng/PatchConfig.props +++ b/eng/PatchConfig.props @@ -40,4 +40,8 @@ Later on, this will be checked using this condition: Microsoft.AspNetCore.Server.HttpSys; + + + + diff --git a/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.1.12.txt b/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.1.12.txt new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.1.12.txt @@ -0,0 +1 @@ + diff --git a/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.1.12.txt b/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.1.12.txt new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.1.12.txt @@ -0,0 +1 @@ + diff --git a/version.props b/version.props index 8c94afbed8..e65ef23479 100644 --- a/version.props +++ b/version.props @@ -2,7 +2,7 @@ 2 1 - 12 + 13 servicing Servicing t000