gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: add build rules for sync


From: gnunet
Subject: [taler-deployment] branch master updated: add build rules for sync
Date: Mon, 17 Feb 2020 21:30:05 +0100

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

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 4e80d73  add build rules for sync
4e80d73 is described below

commit 4e80d73be1188907b3310e5a9bdc028d17a53d41
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Feb 17 21:30:01 2020 +0100

    add build rules for sync
---
 bin/taler-config-generate |  1 +
 bin/taler-deployment      | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/bin/taler-config-generate b/bin/taler-config-generate
index 8e233aa..1396d15 100755
--- a/bin/taler-config-generate
+++ b/bin/taler-config-generate
@@ -282,6 +282,7 @@ def main(currency, envname, outdir, exchange_pub, twisted):
     sc = ConfigFile(envname, currency, exchange_pub, twisted, "sync.conf")
     sc.cfg_put("sync", "annual_fee", sc.currency+":0.1")
     sc.cfg_put("sync", "serve", "unix")
+    sc.cfg_put("syncdb-postgres", "config", "postgres:///taler{}" % envname)
     sc.cfg_put("sync", "unixpath", "$HOME/sockets/sync.http")
     config_files.append(sc)
 
diff --git a/bin/taler-deployment b/bin/taler-deployment
index 4e0a58d..1b76dbf 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -188,6 +188,23 @@ def build_merchant(r, p):
     subprocess.run(["make", "install"], check=True)
     (p / "taler-buildstamp").touch()
 
+def build_sync(r, p):
+    update_checkout(r, p)
+    subprocess.run(["./bootstrap"], check=True)
+    pfx = Path.home() / "local"
+    default_configure(
+        "CFLAGS=-ggdb -O0",
+        "--enable-logging=verbose",
+        f"--with-libgnurl={pfx}",
+        f"--with-microhttpd={pfx}",
+        f"--with-exchange={pfx}",
+        f"--with-merchant={pfx}",
+        f"--with-gnunet={pfx}",
+        "--disable-doc",
+    )
+    subprocess.run(["make", "install"], check=True)
+    (p / "taler-buildstamp").touch()
+
 
 def build_bank(r, p):
     update_checkout(r, p)
@@ -333,6 +350,12 @@ def get_repos(envname):
                 ["exchange", "libmicrohttpd"],
                 build_merchant,
             ),
+            Repo(
+                "sync",
+                "git://git.taler.net/sync",
+                ["exchange", "merchant", "libmicrohttpd"],
+                build_sync,
+            ),
             Repo("bank", "git://git.taler.net/bank", [], build_bank),
             Repo("landing", "git://git.taler.net/landing", [], build_landing),
             Repo("donations", "git://git.taler.net/donations", [], 
build_donations),

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



reply via email to

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