-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Library Manager (Arduino / MSP430) #6
Comments
That's an excellent idea! How do you plan to host the information about all the libs? |
@Bouni All libraries will be hosted on GitHub. The one thing that developer should add is $ platformio libs register %GITHUB_REPO_URL% Then PlatformIO will use this library to propose for search/install operations. |
So you perform a search on Github for projects that provide a |
@Bouni It is another topic how PlatformIO should operate with registered libraries. I propose to create separated service (preferably Twisted Async App) that will serve each necessary information via REST API. User's PlatformIO CLI tool will communicate with this REST API for search/info operations. Also this service will collect all interesting information from libraries repo like:
Stars + Downloads will be used for RANK-ing search result. Finally, there isn't a problem to create awesome WEB2.0 page which will allow to search/list/order libraries via browser. |
That sounds absolutely great to me :-) |
It's a good idea - one annoying thing with a lot of the Energia libs is that they only seem to live in forum postings. A more central repository of libs would be great. |
@g7uvw Yep... I see one solution - to create separated account named "platformio-libs"(piolibs or piolibs-mirror) and here all people from the world will share interesting libraries (which don't live on GitHub at this time). Because I need real GitHub repository for each library. Only in this way I can monitor library changes, examples and etc. See example of VIM-Scripts. They are hosted inside one account. |
Guys @Bouni @g7uvw @hpsaturn, @elyulka, I've just finished the work on external Library API + InstallationYou can install it (or update) from development branch via: $ pip install https://github.com/ivankravets/platformio/archive/develop.zip DocumentationLibrary Configuration FileI decided to not wait until lib's developers will add Which libraries are suitable for PlatformIO? Binary SearchSee http://docs.platformio.ikravets.com/en/latest/userguide/lib/cmd_search.html TestingI want to ask you to help me with testing and adding new library configs to https://github.com/ivankravets/platformio-libmirror/tree/master/configs. Tell me please which are your favourite libraries. And... If it will work good I will start to work on the special WEB site with nice GUI :) Thanks a lot! |
I will test the new feature as soon as i have some free time :-) |
Guys @Bouni @g7uvw @hpsaturn, @elyulka, @lesilva00, @skraelings, @translucide Great news! PlatformIO has own WebSite http://platformio.ikravets.com So, you can list an embedded libraries via nice Web-GUI. Please help with testing and filling of the libraryconfigs https://github.com/ivankravets/platformio-libmirror/tree/master/configs Which are your favourite libraries that aren't presented in PlatformIO Library list now? |
We have excellent package managers like: pip, homebrew, bower, npm... I think it is time to create a libraries manager for different platforms (+ embedded). Each library should have
library.json
file, where will be necessary information like:UPDATED: library.json specification
We have many excellent Arduino and MSP430 libraries on GtHub. It would be excellent to search and manage them with CLI:
Then you can include installed libraries in your ".h/c/cpp" files. PlatformIO will parse them and build in auto-mode.
For example:
Now, PlatformIO will install Arduino-IRremote library to special location. Then we can use it in our sketch ("my_ir.cpp"):
Any propositions/ides are welcome!
The text was updated successfully, but these errors were encountered: