Enable Renovate to Receive PRs for Upgrading Your Modules

Renovate is a tool used for automating dependency updates in software projects. It helps maintain and manage dependencies by automatically creating pull requests (PRs) to update libraries and modules to their latest versions. This ensures that your project stays up-to-date with the latest features, improvements, and security patches without manual intervention.

go to https://developer.mend.io/ and login with your github account

login to renovate

select install more

select all or specify which repositories to watch

go to the settings and disable the dependencies updates

a PR should appears in the github repository , you can see the status of renovate in the mend website

to configure renovate you must drop a renovate.json in a specific branch renovate/configure

go to the command line

git fetch
git pull origin main 
git checkout renovate/configure

then add/overwrite the content to renovate.json

this is an example for pihole

this is a roundcubemail example with static version to be sure to stick on a version of mariadb

this is a more general version, netdata will upgrade quite everything in the repo

these are generic example, you must check the log of renovate to catch what is wrong, sometimes the version inside the build-images is not standard


the PR itself could bring you some lights

4 Likes

Salut @stephdl

This looks more geared to Devs, or those making their own modules.
For general NS8 users updates of modules should appear on the NS8 dashboard.

Is my assumption correct?

But Renovate looks good. :slight_smile:

TIA

Andy

Yep I think it’s a good advice for @app_authors

1 Like

correct, it is for developers

1 Like

@stephdl

Always good, when budding Devs like Oneonitram get’s tips - coding and good tools - from a seasoned dev like you, @stephdl !!!
Even non-devs like me can use an additional good tool in their “Toolbox”.

Mes deux centimes
Andy

1 Like

@stephdl Will it also upgrade mode modules for the ui

if you enable the dependencies upgrade in the settings, but this must be a manual action, else you could have some bad surprises

I would recommend from time to time to do an upgrade of ns8-ui-lib or when you are coding something new in the UI, obviously you have to test the UI after it, you might have something broken even if I never saw it

cd ui
yarn add @nethserver/ns8-ui-lib
2 Likes