https://github.com/openttd/scripts
Random asortment of scripts we use for OpenTTD
https://github.com/openttd/scripts
Last synced: 3 months ago
JSON representation
Random asortment of scripts we use for OpenTTD
- Host: GitHub
- URL: https://github.com/openttd/scripts
- Owner: OpenTTD
- License: gpl-2.0
- Created: 2023-01-28T10:45:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T20:11:40.000Z (about 1 year ago)
- Last Synced: 2025-01-10T22:11:59.916Z (4 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 1
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog/changelog.py
- License: LICENSE
Awesome Lists containing this project
README
# Scripts
A random collection of scripts we use from time to time to manage OpenTTD.
## Backport
The [backport](backport/) folder contains two scripts to handle backports:
- [backport-languages.py](backport/backport-languages.py) backports all languages from the `master` branch into the requested `release` branch.
It only backports those entries that are unmodified in `english.txt`.
- [backport.py](backport/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 the `backport requested` Pull Requests as `backported`, 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](https://github.com/OpenTTD/OpenTTD) repository first.