All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: Layer manifest (topic touched at ELCE)
Date: Wed, 6 Jan 2016 16:42:51 -0600	[thread overview]
Message-ID: <568D986B.5040303@windriver.com> (raw)
In-Reply-To: <CAK18fxGSYtduY0xv8aF8hYWJORmZwdMxw2TAgf3XS5_u+sKBWQ@mail.gmail.com>

On 1/6/16 2:41 PM, Andrei Gherzan wrote:
> Hello all,
> 
> We started a discussion at the last ELCE: layer manifest in a machine parsable
> format. I'll make a short summary on what is this about.
> 
> In the current yocto layers structures, the only way to describe a layer is
> through README. Which provides useful information like layer dependencies,
> available targets, maybe available machines etc. First of all this information
> is not standardized in any way and not machine parsable. So is not an uncommon
> situation to get a BSP yocto layer and have no idea what to do without actually
> looking into it. As well, there is no way of automating, for example, cloning of
> dependencies or any other kind of automations. 
> 
> Now the questions is, would it make sense to define a layer manifest where a
> layer would be fully described in a machine parsable way? Does yocto community
> feel the need of such a file and maybe additionally have a script which would be
> able to parse such a manifest and setup a build environment?  

From a dependency perspective, there is a method to define layer dependencies.
If that is used properly it can help.  The problem I see though is the namespace
for layer dependencies is not really defined.

But using a combination of the defined dependencies and the layer index you
should be able to resolve "known" layers.  (Would also be nice if the index
looked for collisions as well...)

--Mark

> --
> Andrei Gherzan
> 
> 
> 



  reply	other threads:[~2016-01-06 22:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAK18fxF5d+7JecsEHM=wGWGfzeyZPTVKbLbfygNqNoEcjnce0A@mail.gmail.com>
2016-01-06 20:41 ` Layer manifest (topic touched at ELCE) Andrei Gherzan
2016-01-06 22:42   ` Mark Hatle [this message]
2016-01-07  1:43     ` Trevor Woerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=568D986B.5040303@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.