gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: Revert "separate update from b


From: gnunet
Subject: [taler-deployment] branch master updated: Revert "separate update from bootstrap"
Date: Sat, 02 Nov 2019 17:15:27 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new e80ad7a  Revert "separate update from bootstrap"
e80ad7a is described below

commit e80ad7ab16b9d42d169bceb523d60510f9bf8fe9
Author: Florian Dold <address@hidden>
AuthorDate: Sat Nov 2 17:15:23 2019 +0100

    Revert "separate update from bootstrap"
    
    This reverts commit 09bf18f46f8c685f7b05211803afeffbbea3eb5e.
---
 bin/taler-deployment | 42 ++++++++++++++----------------------------
 1 file changed, 14 insertions(+), 28 deletions(-)

diff --git a/bin/taler-deployment b/bin/taler-deployment
index b8a3db4..b9488b4 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -400,8 +400,20 @@ def switch_demo(color) -> None:
     active_home.symlink_to(f"/home/demo-{color}")
 
 
-def update_repos(repos):
-    sources = Path.home() / "sources"
+@cli.command()
+def bootstrap() -> None:
+    """Bootstrap a GNU Taler deployment."""
+
+    home = Path.home()
+
+    cfg = load_envcfg()
+    env_info = get_env_info(cfg)
+    repos = env_info.repos
+    envname = env_info.name
+
+    # read Python-style config
+
+    sources = home / "sources"
 
     for r in repos:
         r_dir = home / "sources" / r.name
@@ -417,30 +429,6 @@ def update_repos(repos):
             check=True,
         )
 
-
-@cli.command()
-def update():
-    """Update sources repos"""
-    home = Path.home()
-    cfg = load_envcfg()
-    env_info = get_env_info(cfg)
-    repos = env_info.repos
-    update_repos(repos)
-
-
-@cli.command()
-def bootstrap() -> None:
-    """Bootstrap a GNU Taler deployment."""
-
-    home = Path.home()
-
-    cfg = load_envcfg()
-    env_info = get_env_info(cfg)
-    repos = env_info.repos
-    envname = env_info.name
-
-    # read Python-style config
-
     with (home / "activate").open("w") as f:
         f.write(
             activate_template.format(
@@ -451,8 +439,6 @@ def bootstrap() -> None:
             )
         )
 
-    update_repos()
-
     (home / "sockets").mkdir(parents=True, exist_ok=True)
 
     if envname in ("test", "int"):

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]