-
-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[breaking] Fix behaviour of
lib
commands when a library is installe…
…d multiple times (#1878) * Removed LibraryAlternatives object in favor of libraries.List * Use RealName instead of (dir) Name as key in librarymanager.Library map * Refactored some librarymanager functions to query libraries list * Simplified librariesmanager.Install It does not require installLocation since it can be obtained with libPath.Parent() * Added checks for multiple library installation * Added test to check that the cli is able to handle multiple lib installations * Renamed fields in Library structure: Name->CanonicalName; RealName->Name * Use Name instead of CanonicalName in LibraryList This fixes also `lib list` and `lib examples`. * Use `Name` field where appropriate instead of `CanonicalName` * Updated documentation * Update arduino/libraries/librarieslist.go Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com> * Improved integration test Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
- Loading branch information
Showing
22 changed files
with
418 additions
and
260 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.