Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only pack the shipping/non-shipping nupkgs for roslyn #67679

Merged
merged 1 commit into from
May 22, 2023

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Apr 6, 2023

Avoid packing release, pre-release stable nupkgs, and symbol nupkg.

Without this change, source build was preferencing the stable, release nupkgs when flowing between the repos. This worked until a new property showed up in the SDK bundled version props which is the net compiler toolset version. This should always be the non-stable version, based on the fact that this is the version used in the Microsoft build.

Avoid packing release, pre-release stable nupkgs, and symbol nupkgs
@mmitche mmitche requested a review from a team as a code owner April 6, 2023 19:12
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 6, 2023
@ghost ghost added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Apr 6, 2023
@mmitche mmitche requested a review from a team April 6, 2023 19:13
@mmitche
Copy link
Member Author

mmitche commented Apr 6, 2023

FYI @Forgind.

Note this also makes roslyn's intermediate nupkg a 3rd of its former size.

<ItemGroup>
<IntermediateNupkgArtifactFile Include="$(CurrentRepoSourceBuildArtifactsPackagesDir)Shipping\**\*.nupkg" />
<IntermediateNupkgArtifactFile Include="$(CurrentRepoSourceBuildArtifactsPackagesDir)NonShipping\**\*.nupkg" />
<!-- Don't pack any symbol packages: not needed for downstream source-build CI.
Copy link
Member

Choose a reason for hiding this comment

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

How does this stop us from packing?

Copy link
Member Author

Choose a reason for hiding this comment

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

c6b058c#diff-6a28d92de8923be8821f2123541dc23c8ad0359c96117709e6d49e752c0303d2R9

This prevents the defaults (whole packages dir) from being included.

@mmitche
Copy link
Member Author

mmitche commented Apr 25, 2023

@jaredpar Any further concerns here?

@mmitche mmitche closed this Apr 25, 2023
@mmitche mmitche reopened this Apr 25, 2023
@mthalman
Copy link
Member

mthalman commented May 9, 2023

@mmitche - I'm seeing a similar issue with F# packages.

@MichaelSimons
Copy link
Member

ping - any update on this PR? Would be nice to get this merged in for source-build. TIA

@333fred
Copy link
Member

333fred commented May 22, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@333fred 333fred enabled auto-merge (squash) May 22, 2023 18:22
@333fred 333fred merged commit 060981e into dotnet:main May 22, 2023
@ghost ghost added this to the Next milestone May 22, 2023
@Cosifne Cosifne modified the milestones: Next, 17.7 P2 May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure Community The pull request was submitted by a contributor who is not a Microsoft employee. untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants