layerindex
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
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
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
Thanks Nathan and Paul!
Any chance the database schema drawing is available somewhere?
I'm guessing the machines.layerbranch points to layerItems.id?
Hi Trevor,
You can review the machine models at [1], the db schema is generated by Django.
Regards,
alimon
[1] http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/tree/layerindex/models.py#n331
Quoted 5 lines · Trevor Woerner
Thanks Nathan and Paul!
Any chance the database schema drawing is available somewhere?
I'm guessing the machines.layerbranch points to layerItems.id?