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

Package dependency by owner #1824

Closed
ivankravets opened this issue Aug 31, 2018 · 3 comments
Closed

Package dependency by owner #1824

ivankravets opened this issue Aug 31, 2018 · 3 comments
Labels
feature ldf Library Dependency Finder
Milestone

Comments

@ivankravets
Copy link
Member

ivankravets commented Aug 31, 2018

Implement an option to declare library/platform/tool dependencies by a specific owner using the next format:

owner/PKGNAME @ SemVerSpec

For example, platformio.ini

[env:myenv]
platform = platformio/nordicnrf52 @ ^4.4.0
board = ...
lib_deps = 
  owner/libname
  owner2/libname2 @ >2.0,!=2.3.4

CLI

pio lib -g install "owner/lib"
@ivankravets ivankravets added this to the 4.0 milestone Aug 31, 2018
@ivankravets ivankravets changed the title Library dependency by author Library dependency by owner Nov 29, 2018
@ivankravets ivankravets added the ldf Library Dependency Finder label May 22, 2019
@ivankravets ivankravets modified the milestones: 4.0, Backlog Jun 21, 2019
@cr1st1p
Copy link

cr1st1p commented Aug 25, 2019

Just a note to think about it (also related to #1138): ArduinoJWT library is present twice in the repository.
Same author, different version numbering though.
I tried to load it by name and version. (ArduinoJWT@~02)
Program picked the wrong library and then tried to search for the version - which it failed to find.

@ivankravets
Copy link
Member Author

Sorry for the delay. We will back to this issue soon. We need new data in registry ("owner" info)

@ivankravets ivankravets modified the milestones: Backlog, 4.4.0 Jun 22, 2020
@ivankravets ivankravets changed the title Library dependency by owner Package dependency by owner Aug 12, 2020
@ivankravets
Copy link
Member Author

Resolved in 893ca1b

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

No branches or pull requests

2 participants