Skip to content

Conversation

@oleksandr-didyk
Copy link
Contributor

Resolves #273

Additionally created a disabled subscription for the added dependency on source-build reference packages (will enable once this PR is merged):

https://github.com/dotnet/source-build-reference-packages (.NET Eng - Latest) ==> 'https://github.com/dotnet/symreader' ('main')
  - Id: d02bc019-13df-492f-4dee-08daede62b8f
  - Update Frequency: EveryDay
  - Enabled: False
  - Batchable: False
  - PR Failure Notification tags:
  - Merge Policies:
    AllChecksSuccessful
      ignoreChecks =
                       [
                         "WIP",
                         "license/cla"
                       ]

CC: @MichaelSimons @crummel

<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
<UsingToolNuGetRepack>true</UsingToolNuGetRepack>
<!-- Dependencies -->
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>8.0.0-alpha.1.22616.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious how you created these? Is there tooling that will add these and the version details dependency entry or were these created by hand?

Copy link
Contributor Author

@oleksandr-didyk oleksandr-didyk Jan 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Darc created these through darc add-dependency + updates the values once darc update-dependency is called (guess the same is done if the update comes from a PR)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - I've always added these by hand. It's good to know.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion this is hard to read, can it be capitalized correctly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is created / updated by tooling (darc), not sure it will work with a different definition

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should work with any capitalization.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe it can just be removed from the Versions.props completely?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, not needed in Versions.props

<Sha>80b6be47e1425ea90c5febffac119250043a0c92</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.22616.1">
Copy link
Member

@MichaelSimons MichaelSimons Jan 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are inconsistent across the repos in regards to SBRP being a tooling versus product dependency. @mmitche, we've talked about this in the past. Now that you know more about source-build what should this be classified as? I think it should be a product dependency.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be product too. It may not make a ton of difference, but product dependencies have more restrictions (can't have cycles, show up in coherency calculations in BARViz).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this package name using - for separators?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe @MichaelSimons could help answer that

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this package name using - for separators?

Because the naming pattern for the intermediate packages is Microsoft.SourceBuild.Intermediate.. The repo name is literally source-build-reference-packages. This is a internal non-shipping infrastructure package.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Friendly reminder @oleksandr-didyk to move this to be a product dependency.

Copy link
Member

@tmat tmat Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this package name using - for separators?

Because the naming pattern for the intermediate packages is Microsoft.SourceBuild.Intermediate.. The repo name is literally source-build-reference-packages. This is a internal non-shipping infrastructure package.

Generally, we don't name packages based on name of repos. Not that this is super important, but the package could have been named Microsoft.SourceBuild.Intermediate.References or something like that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Friendly reminder @oleksandr-didyk to move this to be a product dependency.

My bad, committed the change but did not push. Thanks

<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
<UsingToolNuGetRepack>true</UsingToolNuGetRepack>
<!-- Dependencies -->
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>8.0.0-alpha.1.22616.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>8.0.0-alpha.1.22616.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>

@mmitche mmitche merged commit 0828c52 into dotnet:main Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable source-build pre-built detection

4 participants