Repository navigation
fix(library): honor unnamed local lib_deps (symlink://, file://, bare paths) - #1751
Merged
Merged
Conversation
… paths) PlatformIO-style local lib_deps without a Name= prefix were silently dropped by LibrarySpec::parse, so `lib_deps = symlink:///path/to/FastLED` failed with 'FastLED.h: No such file or directory'. Parse symlink://<path>, file://<path> and bare absolute/relative directory paths as local libraries used in place (like lib/<name>), resolved against the project dir. The library name comes from library.json/library.properties and falls back to the directory name; lib_ignore applies to that name. A missing path is a hard error, and unparseable entries now warn instead of vanishing.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This was referenced Oct 27, 2026
Merged
zackees
added a commit
that referenced
this pull request
Oct 27, 2026
Ships unnamed local lib_deps support (symlink://, file://, bare paths) (#1751).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unnamed local
lib_depsentries (symlink://<path>,file://<path>, bare absolute/relative directory paths) were silently dropped byLibrarySpec::parse, solib_deps = symlink:///home/me/dev/fastled2failed withfatal error: FastLED.h: No such file or directory.Now they are local libraries used in place (no copy; same path as
lib/<name>and namedName=symlink://). Relative paths resolve against the project dir; the name comes fromlibrary.json/library.propertiesname(fallback: directory name);lib_ignorematches that name; a missing path is a hard error; any unparseable entry now logs a warning.Evidence:
library::tests, 318 passed.lib_deps = symlink:///home/niteris/dev/fastled2and nolib/: before, FastLED.h not found; after, build succeeded (flash 394716 B). Bare-path form also builds. The FastLED checkout is left untouched.