Script to fetch patches for stable release branches
Uses the github python3 module
$ pip3 install --user pygithubCopy the config over
$ cp config-example.cfg config.cfgGenerate a personal access token with read access to public repositories and an expiry date of <366 days by going to https://github.com/settings/personal-access-tokens. You do not need to give it any special permissions.
Then add it to the config file:
api-token = replace_this_with_your_tokenThen run the script:
$ ./milestone-patches.py 44
Where '44' is the milestone number, f.ex. https://github.com/mesonbuild/meson/milestone/44
Downloads each patch into ./patches, prefixed with a timestamp that should be
followed when applying the patches.
To aid in the developer workflow, when you've applied patches, move them to
./patches/done and they will be skipped when you run the script a second
time.