FAQ | This is a LIVE service | Changelog

Skip to content

Script to pull specs and optionally commit them

Robin Goodall requested to merge pull-specs into main
# install requirements
python -m venv .venv
. ./.venv/bin/activate
pip install -r scripts/requirements.txt

# use wrapper bash script to ensure you're in the right place
./pull-specs --help

# pull latest specs and try to commit them
./pull-specs --commit

# if access token needed use
./pull-specs --token "ACCESS_TOKEN_HERE"

If nothing has changed in the specs then "no changes need committing" will result as they are in the last commit of this MR. If you revert the last commit and run it again, all files will be committed again.

sources.yaml defines what gets pulled

Closes: #12 (closed)

Edited by Robin Goodall

Merge request reports