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

Unnecessary database packages #53

Open
glin opened this issue Jul 1, 2020 · 0 comments
Open

Unnecessary database packages #53

glin opened this issue Jul 1, 2020 · 0 comments

Comments

@glin
Copy link
Contributor

glin commented Jul 1, 2020

@colearendt noted that we pull in some databases that R packages don't actually need, such as MySQL and MongoDB. Packages typically only need the client library.

We have separate rules for the MySQL server and client library:

But the MySQL Server rule has some false positive matches, like:

Package: RMySQL
SystemRequirements: libmariadb-client-dev | libmariadb-client-lgpl-dev | libmysqlclient-dev (deb), mariadb-devel (rpm), mariadb | mysql-connector-c (brew), mysql56_dev (csw)

(\bmysql\b matches mysql-connector-c).

We should fix the patterns so that only the client libraries are pulled in when required, and only the servers are pulled in when required. Or remove the rules if the packages aren't actually required.

Packages that require MySQL:

Packages that require MongoDB:

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

No branches or pull requests

1 participant