So, how a renovate bot ( https://github.com/renovatebot/renovate ) works is
that it parses the files for a specific regular expression that we determine
and checks *the line after* this regular expression. So it needs to be in the
same json file.
For example:
>
> {
> "sources": {
> "poky": {
> "git-remote": {
> "branch": "master",
> "describe": "4.2_M2-676-gdf3ce81ed3",
> "remotes": {
> "origin": {
> "uri": "https://github.com/yoctoproject/poky.git"
> }
> },
> // renovate: datasource=git-tags depName=yoctoproject/poky
> lookupName=https://github.com/yoctoproject/poky.git
> "rev": "df3ce81ed3e5491b084041c5bcbd16dada129cf9"
> },
> "path": "poky"
> }
> },
> "version": "1.0"
> }
>
>
So, for this file, renovate bot will find the line in red beginning with "//
renovate: ", and then check the next line which is "rev":
"df3ce81ed3e5491b084041c5bcbd16dada129cf9", if that commit is not the latest
commit, then it will replace it with the latest.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59681): https://lists.yoctoproject.org/g/yocto/message/59681
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]]
-=-=-=-=-=-=-=-=-=-=-=-