gnunet-svn
[Top][All Lists]
Advanced

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

[taler-challenger] branch master updated: spa lock


From: gnunet
Subject: [taler-challenger] branch master updated: spa lock
Date: Tue, 02 Jul 2024 20:12:04 +0200

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

sebasjm pushed a commit to branch master
in repository challenger.

The following commit(s) were added to refs/heads/master by this push:
     new c621c44  spa lock
c621c44 is described below

commit c621c44bef51c5dcb8207825e40c2e57c51a23f4
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Jul 2 15:11:59 2024 -0300

    spa lock
---
 bootstrap              |  2 ++
 contrib/check-prebuilt | 15 +++++++++++++++
 contrib/spa.lock       |  1 +
 3 files changed, 18 insertions(+)

diff --git a/bootstrap b/bootstrap
index 6abf3b9..a400c90 100755
--- a/bootstrap
+++ b/bootstrap
@@ -8,6 +8,8 @@ fi
 echo "$0: Updating submodules"
 echo | git submodule update --init --force --remote
 
+./contrib/check-prebuilt
+
 # This is more portable than `which' but comes with
 # the caveat of not(?) properly working on busybox's ash:
 existence()
diff --git a/contrib/check-prebuilt b/contrib/check-prebuilt
new file mode 100755
index 0000000..6699972
--- /dev/null
+++ b/contrib/check-prebuilt
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+contrib = os.path.abspath(os.path.dirname(__file__))
+
+spa_ver_lock = open(contrib + "/" + "spa.lock").read().strip()
+spa_ver_prebuilt = open(contrib + "/" + 
"wallet-core/challenger/version.txt").read().strip()
+
+if spa_ver_lock != spa_ver_prebuilt:
+    print("SPA version mismatch")
+    print("lockfile has version", spa_ver_lock)
+    print("prebuilt has version", spa_ver_prebuilt)
+    sys.exit(1)
diff --git a/contrib/spa.lock b/contrib/spa.lock
new file mode 100644
index 0000000..26acbf0
--- /dev/null
+++ b/contrib/spa.lock
@@ -0,0 +1 @@
+0.12.2

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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