freifunkh / site

Freifunk Hannover specific Gluon site configuration for Firmware building.
https://hannover.freifunk.net
5 stars 5 forks source link

check-patches action #83

Closed AiyionPrime closed 1 year ago

AiyionPrime commented 1 year ago

I'd like to have a few levels of patch integrity verification.

Gluon does have a check-patches action, which I'd like to resemble and later invoke. The action calls make refresh-patches on the patchdir, which updates and reformats patches into a proper form.

I'd like to have a shellscript, which does a similar thing to our patches. The action should then fail if calling it does produce a diff.

Furthermore, our patches may contain OpenWrt patches, on which it would be nice to invoke Gluons make refresh patches.

This would make our patches cleaner, as they'd be OS agnostic it would furthermore help getting our patches upstream faster, as they'd be in the format gluon expects them already.

As we do intend to maintain our mod841 patches a few years and do need to rebase them on a regular basis, this would help making the process less error prone.