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

Multiple lib install command with the same local library results in duplicates in lib_deps #3715

Closed
valeros opened this issue Oct 28, 2020 · 0 comments
Labels
Milestone

Comments

@valeros
Copy link
Member

valeros commented Oct 28, 2020

When installing a library from a local source (e.g. a zip archive) several times, PlatformIO duplicates this library in lib_deps each time although the library is already installed.

Steps to Reproduce

  1. Download any library in a zip archive.
  2. Run pio lib install /path/to/archive.zip multiple times.
  3. See duplicated entries in the lib_deps section.

Actual Results

...
lib_deps = 
	E:\my_lib-master.zip
	E:\my_lib-master.zip
	E:\my_lib-master.zip
	E:\my_lib-master.zip
	E:\my_lib-master.zip
....

Expected Results

PlatformIO reports that the library is already installed.

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

No branches or pull requests

2 participants