Github workflow to automatically build addons

Hi devs,

I like the new Gramps 5.2 addon manager and the possibility to add custom repositories. If we make it easier for addon authors to release their own addons, we might reduce the problem of PR reviews on addons-source being a bottleneck (of course, with the risk of users using unreviewed 3rd party addons, but they can be warned).

I just managed to create a Github action that creates the built addons and listings in a separate branch on a custom addon repository, see here:

This repo’s master is a clone of the maintenance/gramps52 branch of addons-source and pushes the built addons to the dist branch on every push to master. Users should be able to use a repo like this by using https://raw.githubusercontent.com/DavidMStraub/addons-source/dist/gramps52 as a custom addon server URL.

We could even publish this action on Github marketplace and create an addon template repository with a simple build-gramps-addon workflow.

1 Like