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

Show detailed info about library using "platformio lib show" command #430

Closed
karlp opened this issue Jan 3, 2016 · 4 comments
Closed

Show detailed info about library using "platformio lib show" command #430

karlp opened this issue Jan 3, 2016 · 4 comments
Assignees
Labels
feature ldf Library Dependency Finder
Milestone

Comments

@karlp
Copy link

karlp commented Jan 3, 2016

platformio lib search json shows you only the vague descriptions from library.json files, with library "64" for instance being, ""Benoit Blanchon": An elegant and efficient JSON library for embedded systems"

platformio lib show 64 won't show you anything at all until you've installed it. This is... not very nice. Where is it going to be installed from? What code is this?

Even after installing it, `... show 64`` still only shows the author's provided url, not the source url at all. In this case for instance, you get:

(.env27)karlp@teros:~/src/hoho$ platformio lib show 64
Json
----
Authors: Benoit Blanchon http://blog.benoitblanchon.fr
Keywords: json, rest, http, web
Frameworks: arduino
Platforms: atmelavr, atmelsam, timsp430, titiva, teensy, freescalekinetis, ststm32, nordicnrf51, nxplpc, espressif, siliconlabsefm32
Version: ab2502f7b8

An elegant and efficient JSON library for embedded systems

(.env27)karlp@teros:~/src/hoho$

Benoit's blog is interesting, but it's not useful to say where the code is coming from. The git version is included, but it should be including the source url, or some form of the entire "repository" section of the library.json block.

@ivankravets
Copy link
Member

How about http://platformio.org/#!/lib/show/64/Json ?

Yes, CLI isn't informative. Do you have propositions?

@ivankravets
Copy link
Member

How about platformio lib info %ID% ? I hope that in PlatformIO 3.0 we will allow to use names instead IDs.

@ivankravets ivankravets added this to the 3.0.0 milestone Jan 3, 2016
@ivankravets ivankravets self-assigned this Jan 3, 2016
@ivankravets ivankravets changed the title "platformio lib" doesn't show source url Show detailed info about installed library Jan 3, 2016
@karlp
Copy link
Author

karlp commented Jan 4, 2016

I'd like show or info to be a single command, showing info including the installed state if possible, I don't see any real benefit in having a separate command to see the full details of a package that has been installed vs one that hasn't.

Thanks for the prompt response!

@ivankravets ivankravets changed the title Show detailed info about installed library Show detailed info about library using "platformio lib show" command Jan 4, 2016
@ivankravets ivankravets added the ldf Library Dependency Finder label Jan 4, 2016
@ivankravets ivankravets modified the milestones: 3.0.0, 3.0 Aug 30, 2016
@ivankravets ivankravets modified the milestones: 3.3.0, 3.x.x Dec 28, 2016
@ivankravets
Copy link
Member

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