Skip to content

Enable central package management in repo #3333

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

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

cheenamalhotra
Copy link
Member

@cheenamalhotra cheenamalhotra commented May 7, 2025

Onboarding to modern central package management solution. For reference: https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management#enabling-central-package-management

Also fixed #3330

@cheenamalhotra cheenamalhotra requested a review from a team May 7, 2025 00:32
@cheenamalhotra cheenamalhotra added this to the 6.1-preview2 milestone May 7, 2025
@Tornhoof
Copy link

Tornhoof commented May 7, 2025

Personally I'd recommend enabling transivite pinning too:
https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management#transitive-pinning
to allow for e.g. specific versions of transitive packages without e.g. security vulnerabilities.

Copy link
Contributor

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

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

Some formatting nits.

paulmedynski
paulmedynski previously approved these changes May 7, 2025
benrr101
benrr101 previously approved these changes May 7, 2025
Copy link
Contributor

@benrr101 benrr101 left a comment

Choose a reason for hiding this comment

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

I guess it's not bad. It's kinda doing the same thing we were doing just with built-in support.

Copy link
Contributor

@mdaigle mdaigle left a comment

Choose a reason for hiding this comment

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

Looks good. Added some notes on things that changed.

@cheenamalhotra cheenamalhotra dismissed stale reviews from benrr101 and paulmedynski via 2ddb065 May 20, 2025 10:46
paulmedynski
paulmedynski previously approved these changes May 20, 2025
@cheenamalhotra cheenamalhotra self-assigned this May 28, 2025
@benrr101
Copy link
Contributor

@cheenamalhotra Hope you don't mind I resolved your merge conflict for you - just want to get this out the door for the preview release

paulmedynski
paulmedynski previously approved these changes May 30, 2025
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.34%. Comparing base (01f85bf) to head (a89ee55).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3333       +/-   ##
===========================================
- Coverage   92.58%   65.34%   -27.24%     
===========================================
  Files           6      300      +294     
  Lines         310    65603    +65293     
===========================================
+ Hits          287    42871    +42584     
- Misses         23    22732    +22709     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore 68.58% <ø> (?)
netfx 66.73% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

paulmedynski
paulmedynski previously approved these changes Jun 5, 2025
@cheenamalhotra cheenamalhotra force-pushed the dev/cheena/central-package-mgmnt branch from fd41121 to a89ee55 Compare June 5, 2025 14:48
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.

Cannot build because of powershell target
5 participants