Compare commits

...
Author SHA1 Message Date
dboreham db1edd85e6 Catch and report git errors (#353)
Former-commit-id: 7c867171e4
2023-04-19 15:29:41 -06:00
dboreham 55b2d3bd25 Update setuptools in case the version on the machine is old (#352)
Former-commit-id: 5ef37894ce
2023-04-19 15:16:34 -06:00
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -175,4 +175,8 @@ def command(ctx, include, exclude, git_ssh, check_only, pull, branches_file):
git_repo.git.checkout(branch_to_checkout)
for repo in repos:
process_repo(repo)
try:
process_repo(repo)
except git.exc.GitCommandError as error:
print(f"\n******* git command returned error exit status:\n{error}")
sys.exit(1)
+2 -1
View File
@@ -7,5 +7,6 @@ if [[ -n "$CERC_SCRIPT_DEBUG" ]]; then
fi
python3 -m venv venv
source ./venv/bin/activate
pip install --editable .
python3 -m pip install --upgrade pip setuptools wheel
pip install shiv
pip install --editable .