ElkArte Community

Elk Development => Feature Discussion => Topic started by: emanuele on June 13, 2018, 03:05:48 am

Title: Automate patches creation
Post by: emanuele on June 13, 2018, 03:05:48 am
Since create a patch is one of the most risky and tricky and annoying parts of the development, I think we really need some tool to automate it as much as possible.

FWIW I created a project at github for that:
https://github.com/elkarte/Elkarte/projects/4
at the moment I just added few thoughts, if you have any other idea feel free to ask.

This could potentially improve also the development of addons: you create a branch for each addon and then running the tool would create the package out of the "diff".
Title: Re: Automate patches creation
Post by: ahrasis on June 13, 2018, 04:56:54 am
This should be good though I have no clue about it yet. :D
Title: Re: Automate patches creation
Post by: emanuele on June 13, 2018, 06:04:02 am
Yes, it's not easy.
The patch_to_mod script already  does quite a bit:
https://github.com/elkarte/tools/blob/master/addon_scripts/patch_to_mod.php
converting a diff to the xml structure.
But is also the easy part. xD