Skip to content

[release/6.0.1xx-preview6] Update dependencies from dotnet/windowsdesktop - #18557

Merged
dotnet-maestro[bot] merged 1 commit into
release/6.0.1xx-preview6from
darc-release/6.0.1xx-preview6-cb8aa8d1-4c54-433e-ba12-6e5df2af3cf0
Jun 28, 2021
Merged

dotnet-maestro[bot] merged 1 commit into
release/6.0.1xx-preview6from
darc-release/6.0.1xx-preview6-cb8aa8d1-4c54-433e-ba12-6e5df2af3cf0

Conversation

@dotnet-maestro

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

Coherency Updates

The following updates ensure that dependencies with a CoherentParentDependency
attribute were produced in a build used as input to the parent dependency's build.
See Dependency Description Format

  • Coherency Updates:
    • Microsoft.NET.Sdk.WindowsDesktop: from 6.0.0-preview.6.21324.5 to 6.0.0-preview.6.21325.2 (parent: Microsoft.WindowsDesktop.App.Ref)

From https://github.com/dotnet/windowsdesktop

  • Subscription: 4ba7ab78-4b33-4a43-59d3-08d9301a732e
  • Build: 20210625.5
  • Date Produced: 6/26/2021 2:37 AM
  • Commit: ef3ea243f55cf55ead665b3e3c22a5bf01999a7a
  • Branch: refs/heads/release/6.0-preview6

…ld 20210625.5

VS.Redist.Common.WindowsDesktop.SharedFramework.x64.6.0 , Microsoft.WindowsDesktop.App.Runtime.win-x64 , Microsoft.WindowsDesktop.App.Ref
 From Version 6.0.0-preview.6.21325.3 -> To Version 6.0.0-preview.6.21325.5

Dependency coherency updates

Microsoft.NET.Sdk.WindowsDesktop
 From Version 6.0.0-preview.6.21324.5 -> To Version 6.0.0-preview.6.21325.2 (parent: Microsoft.WindowsDesktop.App.Ref
@ghost

ghost commented Jun 26, 2021

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-maestro
dotnet-maestro Bot merged commit 43f4dc0 into release/6.0.1xx-preview6 Jun 28, 2021
@dotnet-maestro
dotnet-maestro Bot deleted the darc-release/6.0.1xx-preview6-cb8aa8d1-4c54-433e-ba12-6e5df2af3cf0 branch June 28, 2021 05:09
v-wuzhai pushed a commit that referenced this pull request Apr 22, 2024
As a prerequisite to enabling parallel builds of the repos in the VMR, it's necessary to isolate the package flow between repos. This ensures that repo dependencies are defined correctly. Prior to these changes, the packages outputted by repos went to the same directory (Shipping or NonShipping) and those two directories were used as the package feed inputs to dependent repos. This would be dangerous in the context of running builds in parallel across repos because any ill-defined dependencies could lead to race conditions. For example, consider the msbuild repo's dependency on System.Text.Json from the runtime repo. If runtime was not defined as a dependency of msbuild, then there's no guarantee that System.Text.Json will exist when it restores it. Based on timing, it may exist in one build and then not exist in another build.

To solve this problem, the packages output from a repos build are placed in a repo-specific package location as a sub-directory of the package location (Shipping or NonShipping). Previously, all repos would output their packages to `artifacts/packages/Release/[NonShipping|Shipping]`. With these changes, they output to `artifacts/packages/Release/[NonShipping|Shipping]/<repo-name>`. This isolates all packages on a per-repo basis. The next step is to provide access to these packages based on dependencies. Going back to msbuild's dependency on runtime, this is accomplished by modifying msbuild's nuget.config file to include feeds specific to runtime:

```xml
<add key="source-built-runtime" value="/vmr/artifacts/packages/Release/Shipping/runtime/" />
<add key="source-built-transport-runtime" value="/vmr/artifacts/packages/Release/NonShipping/runtime/" />
```
ViktorHofer pushed a commit that referenced this pull request May 7, 2024
As a prerequisite to enabling parallel builds of the repos in the VMR, it's necessary to isolate the package flow between repos. This ensures that repo dependencies are defined correctly. Prior to these changes, the packages outputted by repos went to the same directory (Shipping or NonShipping) and those two directories were used as the package feed inputs to dependent repos. This would be dangerous in the context of running builds in parallel across repos because any ill-defined dependencies could lead to race conditions. For example, consider the msbuild repo's dependency on System.Text.Json from the runtime repo. If runtime was not defined as a dependency of msbuild, then there's no guarantee that System.Text.Json will exist when it restores it. Based on timing, it may exist in one build and then not exist in another build.

To solve this problem, the packages output from a repos build are placed in a repo-specific package location as a sub-directory of the package location (Shipping or NonShipping). Previously, all repos would output their packages to `artifacts/packages/Release/[NonShipping|Shipping]`. With these changes, they output to `artifacts/packages/Release/[NonShipping|Shipping]/<repo-name>`. This isolates all packages on a per-repo basis. The next step is to provide access to these packages based on dependencies. Going back to msbuild's dependency on runtime, this is accomplished by modifying msbuild's nuget.config file to include feeds specific to runtime:

```xml
<add key="source-built-runtime" value="/vmr/artifacts/packages/Release/Shipping/runtime/" />
<add key="source-built-transport-runtime" value="/vmr/artifacts/packages/Release/NonShipping/runtime/" />
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant