Skip to content

Automatic cleanup of the .pio/libdeps folder doesnt work correctly if lib_deps section is empty #5110

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
sivar2311 opened this issue Mar 17, 2025 · 0 comments

Comments

@sivar2311
Copy link

If the lib_deps section in platformio.ini is changed and no library is listed anymore, the remaining files/folders in the .pio/libdeps folder are not automatically deleted.

https://www.youtube.com/watch?v=nvsInEBOrr8

I could also observe that other dependencies were listed via symlink whose source had already been deleted are not cleaned up correctly. Unfortunately I was not able to reproduce this for the video.

Related forum discussion: https://community.platformio.org/t/difficulties-understanding-the-right-way-to-include-local-libraries/46558

@ivankravets ivankravets added enhancement LDF Library Dependency Finder package management and removed LDF Library Dependency Finder labels Mar 17, 2025
@ivankravets ivankravets added this to the 6.1.19 milestone Mar 17, 2025
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