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

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

Comments

Projects
None yet
2 participants
@karlp

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

This comment has been minimized.

Show comment
Hide comment
@ivankravets

ivankravets Jan 3, 2016

Member

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

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

Member

ivankravets commented Jan 3, 2016

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

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

@ivankravets

This comment has been minimized.

Show comment
Hide comment
@ivankravets

ivankravets Jan 3, 2016

Member

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

Member

ivankravets commented Jan 3, 2016

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

@ivankravets ivankravets added the feature label Jan 3, 2016

@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 from "platformio lib" doesn't show source url to Show detailed info about installed library Jan 3, 2016

@karlp

This comment has been minimized.

Show comment
Hide comment
@karlp

karlp 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!

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 from Show detailed info about installed library to Show detailed info about library using "platformio lib show" command Jan 4, 2016

@ivankravets ivankravets added the lib 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

This comment has been minimized.

Show comment
Hide comment

@ivankravets ivankravets referenced this issue in Homebrew/homebrew-core Mar 27, 2017

Closed

platformio 3.3.0 #11647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment