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

Add platformio library.json file #2

Closed
karrots opened this issue Nov 23, 2015 · 11 comments
Closed

Add platformio library.json file #2

karrots opened this issue Nov 23, 2015 · 11 comments

Comments

@karrots
Copy link

karrots commented Nov 23, 2015

It would be nice to have these libraries registered with platformio.org for easy install similar to some of your other libraries.

@LowPowerLab
Copy link
Owner

Excellent suggestion, I see my Moteino and MoteinoMEGA are already registered on Platformio, I was unaware. I will look into this as time permits, thanks!

@LowPowerLab
Copy link
Owner

OK I added the library.json file, not sure what the next step is... will they crawl and pick it up? Or do I have to register it?

@karrots
Copy link
Author

karrots commented Nov 23, 2015

Unsure exactly. Just started using it this week when I wanted to setup some CI stuff. I think there is a register CLI command you run. I figured you'd know as most of the other libraries had such files.

@karrots
Copy link
Author

karrots commented Nov 23, 2015

@LowPowerLab
Copy link
Owner

You'd be surprised how much I don't know 👶

@LowPowerLab
Copy link
Owner

I tried the register command
platformio lib register https://github.com/LowPowerLab/WirelessProgramming/blob/master/library.json
I get this:
Invalid library config: https://github.com/LowPowerLab/WirelessProgramming/blob/master/library.json

I then tried: platformio lib register https://raw.githubusercontent.com/LowPowerLab/WirelessProgramming/master/library.json

I get this: Invalid library config: The library is already registered
Searching on Platformio doesn't find it so not sure what's next...

@karrots
Copy link
Author

karrots commented Nov 23, 2015

I get the impression from looking at the gitrepo for platformio that the process isn't very automated for the initial setup.

BTW I submitted this bug platformio/platformio-core#335

@karrots
Copy link
Author

karrots commented Nov 23, 2015

I see why you were unaware of the library.json it looks like the platformio author submitted a PR for the file in your other libraries.

LowPowerLab/SPIFlash#6

@LowPowerLab
Copy link
Owner

Yup I merged them thinking they can't be a bad thing but I was not familiar with platformio.
So we are keeping this issue open until we find a way to register the lib or it gets picked up?

@karrots
Copy link
Author

karrots commented Nov 24, 2015

No go ahead and close it. If the register command said its been submitted already we can just wait.

@LowPowerLab
Copy link
Owner

Cool, thanks!

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

No branches or pull requests

2 participants