A random collection of scripts we use from time to time to manage OpenTTD.
The backport folder contains two scripts to handle backports:
- backport-languages.py backports all languages from the
master
branch into the requestedrelease
branch. It only backports those entries that are unmodified inenglish.txt
. - backport.py backports Pull Requests marked with
backport requested
into a release branch, and creates a single Pull Request out of that. After the Pull Request is merged, it can mark thebackport requested
Pull Requests asbackported
, as the backport Pull Request contains information about what Pull Requests were backported.
In both cases, see the header of the file what to change to make it work for your case.
NOTE: they are both NOT meant to be run from this repository, but you have to copy it into the OpenTTD repository first.