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

C#: Update non-Roslyn thirdparty dependencies #16476

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

criemen
Copy link
Collaborator

@criemen criemen commented May 13, 2024

This means that dotnet paket update will pull in the
latest matching versions of all dependencies, except
the pinned roslyn versions.
GitInfo also remains pinned, as we're removing that
dependency when converting the build to bazel anyways.

This removes a whole bunch of transitive dependencies
we no longer need, resulting in a smaller distribution,
and hopefully a smaller build.

We leave the Roslyn dependencies fixed, as that's a more involved process to upgrade.

This means that `dotnet paket update` will pull in the
latest matching versions of all dependencies, except
the pinned roslyn versions.
GitInfo also remains pinned, as we're removing that
dependency when converting the build to bazel anyways.

This removes a whole bunch of transitive dependencies
we no longer need, resulting in a smaller distribution,
and hopefully a smaller build.
@github-actions github-actions bot removed the C++ label May 16, 2024
@criemen criemen marked this pull request as ready for review May 16, 2024 13:57
@criemen criemen requested a review from a team as a code owner May 16, 2024 13:57
Copy link
Contributor

@michaelnebel michaelnebel left a comment

Choose a reason for hiding this comment

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

This looks good to me, but I would also like to hear if @tamasvajk has any reservations that we only pin Roslyn.

@criemen
Copy link
Collaborator Author

criemen commented May 16, 2024

To be clear, we're "pinning" the other deps still via the lockfile, so updating those need a dotnet paket update invocation. If you don't want to update all dependencies, but you're changing/adding a new dependency, dotnet paket install will keep the locked (but not pinned) dependencies as-is.

@criemen criemen merged commit 3a22487 into main May 16, 2024
13 checks passed
@criemen criemen deleted the criemen/update-deps branch May 16, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants