taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 83523b89836a2863ee8c76f402cbc1de638014d9
parent 2b2ce8b7e067a57c55f0354f827d2d8ae9118496
Author: Florian Dold <florian@dold.me>
Date:   Mon, 24 Jan 2022 23:34:11 +0100

skip

Diffstat:
Mbin/taler-deployment | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment b/bin/taler-deployment @@ -538,8 +538,11 @@ def ensure_activated(): sys.exit(1) -def update_repos(repos: List[Repo]) -> None: +def update_repos(cfg, repos: List[Repo]) -> None: for r in repos: + tag = getattr(cfg, "tag_" + r.name.replace("-", "_")) + if tag == "SKIP": + continue r_dir = Path.home() / "sources" / r.name subprocess.run(["git", "-C", str(r_dir), "fetch"], check=True) res = subprocess.run( @@ -624,7 +627,7 @@ def build() -> None: print("Please create ~/envcfg.py (template in deployment.git can help)") return 1 env_info = get_env_info(cfg) - update_repos(env_info.repos) + update_repos(cfg, env_info.repos) stale = get_stale_repos(env_info.repos) print(f"found stale repos: {stale}") for r in stale: