git_pull - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > configuration
DESCRIPTION
The git_pull utility is used to perform a git pull on all of the repos in the ~/SCS directory. When the pulls are complete, a JSON document is saved, summarising the state of the installed repos. When run without the --pull flag the git_pull utility reports on the most recent operation.
Note that the utility skips private repos (such as scs_exegesis).
Warning: the overall operation is not atomic - if one or more repo pulls fail, the resulting set will lose consistency. The "success" field report indicates whether the outcome is consistent.
SYNOPSIS
git_pull.py [-p [-t TIMEOUT]] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-p, --pull | perform a git pull |
-t TIMEOUT, --timeout=TIMEOUT | timeout for each pull (default 10 seconds) |
-v, --verbose | report narrative to stderr |
EXAMPLES
./git_pull.py -vp
FILES
~/SCS/conf/git_pull.json
DOCUMENT EXAMPLE
{"pulled-on": "2021-02-27T08:37:09Z", "success": true, "installed": ["scs_core", "scs_dev", "scs_dfe_eng", "scs_host_cpc", "scs_mfr", "scs_psu"], "pulled": ["scs_core", "scs_dev", "scs_dfe_eng", "scs_host_cpc", "scs_mfr", "scs_psu"], "excluded": []}