All of lore.kernel.org
 help / color / mirror / Atom feed
From: talhacali@gmail.com
To: yocto@lists.yoctoproject.org
Subject: create-layers-setup Yaml support #bitbake
Date: Tue, 11 Apr 2023 06:01:56 -0700	[thread overview]
Message-ID: <lyWk.1681218116757109971.QydI@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

Hi All,

In my project at work, we want to use create-layers-setup instead of git submodules. But, there is one issue that we are facing right now: We have got a CI pipeline that has Renovate bots to update, and create pull requests for repositories when a new commit is made in one of the dependencies. For it to work with Yocto layers, renovate bots require a regular expression in the Json file before ref key that create-layers-setup creates. But the problem is since Json doesn't support comments, and it is not sorted, it creates so much manual work. It is also so ugly if we add a dummy key to the json.

For that reason, would it be possible to support Yaml as an option? I know that Yaml is not part of Python standard library but it can be optional if pyyaml is installed in the system like here ( https://github.com/yoctoproject/poky/blob/e13a057812ec639544c321db0aedf9c7c203953e/documentation/sphinx/yocto-vars.py ). Either creating both json, and yaml file; or creating one of them that user chooses.

Regards,
Talha

[-- Attachment #2: Type: text/html, Size: 1112 bytes --]

             reply	other threads:[~2023-04-11 13:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 13:01 talhacali [this message]
2023-04-11 14:01 ` [yocto] create-layers-setup Yaml support #bitbake Alexander Kanavin
2023-04-11 14:31   ` talhacali
2023-04-11 14:47     ` [yocto] " Alexander Kanavin
2023-04-11 14:49       ` Alexander Kanavin
2023-04-12 11:12         ` talhacali
2023-04-12 11:34           ` [yocto] " Alexander Kanavin
2023-04-12 16:18             ` talhacali
2023-04-12 16:19               ` talhacali

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=lyWk.1681218116757109971.QydI@lists.yoctoproject.org \
    --to=talhacali@gmail.com \
    --cc=yocto@lists.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.