Skip to contentSkip to conversation

layerindex

DISCUSSION Trevor Woerner 4 participants 5 messages Jun 3, 2015 – Jun 4, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

Does the layer index provide a REST api?

-or-

Would (could) it be possible to somehow grab/access the data that drives the layer index (preferably without scraping)?

Best regards,
Trevor

#1 lore raw
Quoted 3 lines · Trevor Woerner

Hi,

Does the layer index provide a REST api?

http://layers.openembedded.org/layerindex/api/

It is self documented to some degree :).

Quoted 5 lines

-or-

Would (could) it be possible to somehow grab/access the data that drives the layer index (preferably without scraping)?

The "bitbake-layers" tool might also be of interest as accesses this api:
http://git.openembedded.org/bitbake/tree/bin/bitbake-layers#n261

Regards,
Nathan

Quoted 8 lines

Best regards,
Trevor
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 9 lines · On Thursday 04 June 2015 15:54:18 Nathan Rossi wrote:
Quoted 3 lines · Trevor Woerner

Hi,

Does the layer index provide a REST api?

http://layers.openembedded.org/layerindex/api/

It is self documented to some degree :).

Quoted 7 lines
Quoted 4 lines

-or-

Would (could) it be possible to somehow grab/access the data that drives the layer index (preferably without scraping)?

The "bitbake-layers" tool might also be of interest as accesses this api:
http://git.openembedded.org/bitbake/tree/bin/bitbake-layers#n261

Indeed - and if you need anything else of the API. please file enhancement requests in bugzilla - or if you're really keen you can send patches, the code is here:

http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw

Thanks Nathan and Paul!

Any chance the database schema drawing is available somewhere?

I'm guessing the machines.layerbranch points to layerItems.id?