All of lore.kernel.org
 help / color / mirror / Atom feed
* layerindex
@ 2015-06-03 22:34 Trevor Woerner
  2015-06-04  5:54 ` layerindex Nathan Rossi
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2015-06-03 22:34 UTC (permalink / raw)
  To: yocto@yoctoproject.org

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: layerindex
  2015-06-03 22:34 layerindex Trevor Woerner
@ 2015-06-04  5:54 ` Nathan Rossi
  2015-06-04  8:42   ` layerindex Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: Nathan Rossi @ 2015-06-04  5:54 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto@yoctoproject.org

On Thu, Jun 4, 2015 at 8:34 AM, Trevor Woerner <twoerner@gmail.com> wrote:
> Hi,
>
> Does the layer index provide a REST api?

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

It is self documented to some degree :).

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

>
> Best regards,
>     Trevor
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: layerindex
  2015-06-04  5:54 ` layerindex Nathan Rossi
@ 2015-06-04  8:42   ` Paul Eggleton
  2015-06-04 14:44     ` layerindex Trevor Woerner
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2015-06-04  8:42 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto

On Thursday 04 June 2015 15:54:18 Nathan Rossi wrote:
> On Thu, Jun 4, 2015 at 8:34 AM, Trevor Woerner <twoerner@gmail.com> wrote:
> > Hi,
> > 
> > Does the layer index provide a REST api?
> 
> http://layers.openembedded.org/layerindex/api/
> 
> It is self documented to some degree :).
> 
> > -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

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: layerindex
  2015-06-04  8:42   ` layerindex Paul Eggleton
@ 2015-06-04 14:44     ` Trevor Woerner
  2015-06-04 14:50       ` layerindex Aníbal Limón
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2015-06-04 14:44 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

Thanks Nathan and Paul!

Any chance the database schema drawing is available somewhere?

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: layerindex
  2015-06-04 14:44     ` layerindex Trevor Woerner
@ 2015-06-04 14:50       ` Aníbal Limón
  0 siblings, 0 replies; 5+ messages in thread
From: Aníbal Limón @ 2015-06-04 14:50 UTC (permalink / raw)
  To: Trevor Woerner, Paul Eggleton; +Cc: yocto

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

On 04/06/15 09:44, Trevor Woerner wrote:
> Thanks Nathan and Paul!
>
> Any chance the database schema drawing is available somewhere?
>
> I'm guessing the machines.layerbranch points to layerItems.id?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-04 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03 22:34 layerindex Trevor Woerner
2015-06-04  5:54 ` layerindex Nathan Rossi
2015-06-04  8:42   ` layerindex Paul Eggleton
2015-06-04 14:44     ` layerindex Trevor Woerner
2015-06-04 14:50       ` layerindex Aníbal Limón

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.