diff options
author | Florian Dold <florian@dold.me> | 2022-01-24 22:46:34 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-01-24 22:46:40 +0100 |
commit | 03bd9f55efa0e0aec52c18427db4feeb4277b571 (patch) | |
tree | 1471b38b0c568155f75ebc6e675e744b1ff19456 /bin/taler-deployment | |
parent | ee5f709a1f4165e12727be2718a3b2e1aa874ae3 (diff) | |
download | deployment-03bd9f55efa0e0aec52c18427db4feeb4277b571.tar.gz deployment-03bd9f55efa0e0aec52c18427db4feeb4277b571.tar.bz2 deployment-03bd9f55efa0e0aec52c18427db4feeb4277b571.zip |
allow to SKIP repos
Diffstat (limited to 'bin/taler-deployment')
-rwxr-xr-x | bin/taler-deployment | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment index 33d7573..aa3c956 100755 --- a/bin/taler-deployment +++ b/bin/taler-deployment @@ -655,11 +655,13 @@ def checkout_repos(cfg, repos): sources = home / "sources" for r in repos: r_dir = home / "sources" / r.name + tag = getattr(cfg, "tag_" + r.name.replace("-", "_")) + if tag == "SKIP": + continue if not r_dir.exists(): r_dir.mkdir(parents=True, exist_ok=True) subprocess.run(["git", "-C", str(sources), "clone", r.url], check=True) subprocess.run(["git", "-C", str(r_dir), "fetch"], check=True) - tag = getattr(cfg, "tag_" + r.name.replace("-", "_")) subprocess.run( ["git", "-C", str(r_dir), "checkout", "-q", "-f", tag, "--"], check=True, ) |