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

Remove Microsoft.SqlServer.SqlManagementObjects from the fakemodule group on paket.dependencies #2813

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Sep 1, 2024

Description

I don't know any history about these dependencies, so this is just anothet observation:

paket.dependencies has a reference to Microsoft.SqlServer.SqlManagementObjects.
However, I don't see that attached to any of the projects.

Looking at the change history in that area, it looks like the reference was added in #2074 as part of a module update for Fake 5, but according to

### `Fake.Sql.SqlServer`
that whole library was removed in Fake 6.
The Fake.Sql.SqlPackage library that is mentioned as a replacement doesn't seem to reference any of these SQL libraries directly.

So - I wonder if the reference here was just left behind when the consumers were removed?

Reason for asking is that there is a substantial dependency chain which includes some old libraries with known CVEs (e.g. Microsoft.Data.SqlClient 4.0), and if it is unused then removing it removes a substantial amount of things from paket.lock.

@xperiandri
Copy link
Collaborator

Looks good. Tests pass

@Numpsy Numpsy marked this pull request as ready for review September 2, 2024 14:12
@xperiandri xperiandri changed the title Remove Microsoft.SqlServer.SqlManagementObjects from the fakemodule g… Remove Microsoft.SqlServer.SqlManagementObjects from the fakemodule group on paket.dependencies Sep 8, 2024
@xperiandri xperiandri merged commit 3a3e00c into fsprojects:master Sep 8, 2024
3 checks passed
@Numpsy Numpsy deleted the sql_dep_2 branch September 8, 2024 22:52
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.

2 participants