You should first take this issue up with 'renovate' upstream, not with yocto. Ask them, how is one supposed to handle updating json files using that tool? Maybe you need to write a custom extension specific to that format that doesn't require placing metadata inside the json?
Alex On Wed, 12 Apr 2023 at 13:12, <[email protected]> wrote: > > Renovate normally doesn't require to make changes in other files. > It supports many package files, and detects them automatically. > It parses them, and finds the dependencies without needing any change. > But, for package files which is not supported by Renovate, a regular > expression > is needed inside the file to let Renovate know where to look while parsing > the file. > As far as I know, there is no other way than adding a new line to the file. > > We are also using Renovate the same way with bb files as well. > > We have got a lot of projects, and potential projects that have several > different > dependencies. They are hosted in different repositories, and the idea is to > update > their dependencies (or not it depends on the project) regularly, and do it > automatically. > Like I said, with the package files that Renovate supports such as npm, > Dockerfiles, etc. it is easy to do, > but for our case we need to modify the json file with an added comment. For > this reason, Yaml files are > an ideal solution for us. > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59690): https://lists.yoctoproject.org/g/yocto/message/59690 Mute This Topic: https://lists.yoctoproject.org/mt/98196703/21656 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
