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

Feature Request: Locally installed libraries not in lib_deps be removed #3376

Closed
1 task done
pfeerick opened this issue Feb 13, 2020 · 1 comment
Closed
1 task done

Comments

@pfeerick
Copy link
Contributor

  • Feature Request

Firstly, apologies if this was asked and closed in another issue... I had a quick look but couldn't see anything.

Current behaviour of PlatformIO is to install missing libraries per the platformio.ini lib_deps parameter. However, in the reverse, it does not remove locally installed libraries no longer listed in lib_deps, which can result in compilation errors if a library is no longer used in a project, but still present in the .pio/libdeps/env-name.

Is this a deliberate design choice to prevent other issues, or could it be made so that the library management routine does this sort of cleanup also?

@ivankravets
Copy link
Member

Duplicate of #3076

Yes, we know about this issue and will fix it when a new registry will be released. We want to refactor the package manager in PIO core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants