gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] 03/03: no more taler-build


From: gnunet
Subject: [taler-deployment] 03/03: no more taler-build
Date: Fri, 01 Nov 2019 11:41:49 +0100

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

dold pushed a commit to branch master
in repository deployment.

commit 843ea4392e3642a40bd733ea535350db615aabd7
Author: Florian Dold <address@hidden>
AuthorDate: Fri Nov 1 11:41:20 2019 +0100

    no more taler-build
---
 bootstrap-auditorreporter           | 102 ----------------------------
 bootstrap-demochecker               |  18 -----
 bootstrap-taler                     | 130 ------------------------------------
 build-auditorreporter               |   4 --
 demo.sh                             |  14 ----
 taler-build/.gitignore              |   1 -
 taler-build/Makefile                |  82 -----------------------
 taler-build/README                  |   2 -
 taler-build/cat_failed.sh           |  25 -------
 taler-build/invalidate.sh           |  19 ------
 taler-build/lint_bank.sh            |  13 ----
 taler-build/lint_blog.sh            |  16 -----
 taler-build/lint_donations.sh       |  13 ----
 taler-build/lint_survey.sh          |  15 -----
 taler-build/update_api.sh           |  17 -----
 taler-build/update_auditor.sh       |  16 -----
 taler-build/update_backoffice.sh    |  17 -----
 taler-build/update_bank.sh          |  18 -----
 taler-build/update_blog.sh          |  16 -----
 taler-build/update_deployment.sh    |  15 -----
 taler-build/update_donations.sh     |  16 -----
 taler-build/update_exchange.sh      |  55 ---------------
 taler-build/update_gnunet.sh        |  20 ------
 taler-build/update_landing.sh       |  18 -----
 taler-build/update_libgnurl.sh      |  16 -----
 taler-build/update_libmicrohttpd.sh |  17 -----
 taler-build/update_merchant.sh      |  62 -----------------
 taler-build/update_survey.sh        |  16 -----
 taler-build/update_twister.sh       |  23 -------
 29 files changed, 796 deletions(-)

diff --git a/bootstrap-auditorreporter b/bootstrap-auditorreporter
deleted file mode 100755
index 154be92..0000000
--- a/bootstrap-auditorreporter
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/bash
-
-# Bootstrap the Taler setup for the user account that
-# is currently logged in.
-
-# The setup generated by this script is suitable for
-# blue-green deployments, where two users run
-# identical environments, and traffic can be switched
-# between them.
-
-# To create a demo setup, run
-# demo-blue$ ~/deployment/bootstrap-bluegreen demo
-# demo-green$ ~/deployment/bootstrap-bluegreen demo
-
-# NOTE: ENVNAME is also the name of the user who keeps
-# shared data in its home directory, so it must exist!
-# For demo/test ENVNAMEs, see {demo,test}.sh
-
-set -eu
-
-usage() {
-  echo "Usage: $0 ENVNAME, test or demo"
-}
-
-if [ -z ${1+x} ]; then
-  usage
-  exit 1
-fi
-
-ENVNAME=$1
-source ~/envconfig
-
-case $ENVNAME in
-
-  test)
-    CURRENCY=TESTKUDOS
-    ;;
-  demo)
-    CURRENCY=KUDOS
-    ;;
-  *)
-    echo Invalid envname, only 'test' and 'demo'.
-    exit 1
-    ;;
-esac
-
-cd $HOME
-
-if ! test -d $HOME/gnunet; then
-  git clone git://gnunet.org/gnunet.git
-fi
-
-if ! test -d $HOME/libmicrohttpd; then
-  git clone git://gnunet.org/libmicrohttpd.git
-fi
-
-for component in exchange bank gnurl; do
-  if ! test -d $HOME/$component; then
-    git clone git://git.taler.net/$component
-  fi
-done
-
-cat >$HOME/activate <<EOL
-#!/bin/bash
-
-function taler-config-generate () {
-  echo "Command disabled. Please use taler-deployment-config-generate instead."
-  return 1
-}
-function taler-exchange-keyup () {
-  echo "Command disabled. Please use taler-deployment-keyup instead."
-}
-
-
-export PATH="$HOME/deployment/bin:$HOME/local/bin:\$PATH"
-export PYTHONPATH="$HOME/local/lib/python3.5/site-packages"
-export TALER_CHECKDB="postgres:///talercheck-$USER"
-export TALER_CONFIG_CURRENCY=$CURRENCY
-
-# DEPRECATED ALIAS!
-export TALER_CONFIG_ENV=$ENVNAME
-
-export TALER_ENV_NAME=$ENVNAME
-export TALER_ENV_URL_INTRO="https://$ENVNAME.taler.net/";
-export TALER_ENV_URL_BANK="https://bank.$ENVNAME.taler.net/";
-export TALER_ENV_URL_MERCHANT_BLOG="https://shop.$ENVNAME.taler.net/";
-export TALER_ENV_URL_MERCHANT_DONATIONS="https://donations.$ENVNAME.taler.net/";
-export TALER_ENV_URL_MERCHANT_SURVEY="https://survey.$ENVNAME.taler.net/";
-export TALER_ENV_URL_AUDITOR="https://auditor.$ENVNAME.taler.net/";
-export TALER_ENV_URL_BACKOFFICE="https://backoffice.$ENVNAME.taler.net/";
-EOL
-
-mkdir -p "$HOME/sockets"
-mkdir -p "$HOME/stamps"
-mkdir -p "$HOME/taler-data"
-
-ln -sf ../deployment/taler-build/Makefile stamps/
-ln -sf ../deployment/taler-build/invalidate.sh stamps/
-
-if [[ ! -d "worker" ]]; then
-buildbot-worker create-worker $HOME/worker localhost:9989 
"$ENVNAME-auditor-worker" "$ENVNAME-auditor-pass"
-fi
diff --git a/bootstrap-demochecker b/bootstrap-demochecker
deleted file mode 100755
index e4c4d7a..0000000
--- a/bootstrap-demochecker
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# Bootstrap the Taler setup for the user account that
-# is currently logged in.
-
-# Generates a setup for a single user,
-# including a postgresql DB.
-
-set -eu
-
-if [[ "demo-checker" != $(whoami) ]] ; then
-  echo "Please run this script as the 'demo-checker' user"
-fi
-
-
-if [[ ! -d worker ]]; then
-  buildbot-worker create-worker --umask=0o22 ~/worker localhost:9989 
demo-worker demo-pass
-fi
diff --git a/bootstrap-taler b/bootstrap-taler
deleted file mode 100755
index bc7eb89..0000000
--- a/bootstrap-taler
+++ /dev/null
@@ -1,130 +0,0 @@
-#!/bin/bash
-
-# Bootstrap the Taler setup for the user account that
-# is currently logged in.
-
-# The setup generated by this script is suitable for
-# blue-green deployments, where two users run
-# identical environments, and traffic can be switched
-# between them.
-
-# To create a demo setup, run
-# demo-blue$ ~/deployment/bootstrap-bluegreen demo
-# demo-green$ ~/deployment/bootstrap-bluegreen demo
-
-# NOTE: ENVNAME is also the name of the user who keeps
-# shared data in its home directory, so it must exist!
-# For demo/test ENVNAMEs, see {demo,test}.sh
-
-set -eu
-
-usage() {
-  echo "Usage: $0 ENVNAME"
-}
-
-if [ -z ${1+x} ]; then
-  usage
-  exit 1
-fi
-
-ENVNAME=$1
-source ~/envconfig
-
-case $ENVNAME in
-
-  test)
-    CURRENCY=TESTKUDOS
-    ;;
-  int)
-    CURRENCY=INTKUDOS
-    ;;
-  demo)
-    CURRENCY=KUDOS
-    ;;
-  lcov)
-    CURRENCY=UNUSED
-    ;;
-  *)
-    echo Invalid envname, please use 'test' or 'int' or 'demo'.
-    exit 1
-    ;;
-esac
-
-cd $HOME
-
-if ! test -d $HOME/gnunet; then
-  git clone git://gnunet.org/gnunet.git
-fi
-
-if ! test -d $HOME/libmicrohttpd; then
-  git clone git://gnunet.org/libmicrohttpd.git
-fi
-
-for component in twister bank merchant gnurl landing exchange donations blog 
backoffice deployment auditor survey ; do
-  if ! test -d $HOME/$component; then
-    git clone git://git.taler.net/$component
-  fi
-done
-
-for component in twister bank merchant landing exchange donations blog survey 
backoffice ; do
-  varname=tag_$component
-  tag=${!varname}
-  echo "Checking out $component to $tag"
-  git -C $HOME/$component fetch
-  git -C $HOME/$component checkout -q -f $tag --
-done
-
-cat >$HOME/activate <<EOL
-#!/bin/bash
-
-function taler-config-generate () {
-  echo "Command disabled. Please use taler-deployment-config-generate instead."
-  return 1
-}
-function taler-exchange-keyup () {
-  echo "Command disabled. Please use taler-deployment-keyup instead."
-}
-
-
-export PATH="$HOME/deployment/bin:$HOME/local/bin:\$PATH"
-export PYTHONPATH="$HOME/local/lib/python3.5/site-packages"
-export TALER_CHECKDB="postgres:///talercheck-$USER"
-export TALER_CONFIG_CURRENCY=$CURRENCY
-
-# DEPRECATED ALIAS!
-export TALER_CONFIG_ENV=$ENVNAME
-
-export TALER_ENV_NAME=$ENVNAME
-export TALER_ENV_URL_INTRO="https://$ENVNAME.taler.net/";
-export TALER_ENV_URL_BANK="https://bank.$ENVNAME.taler.net/";
-export TALER_ENV_URL_MERCHANT_BLOG="https://shop.$ENVNAME.taler.net/";
-export TALER_ENV_URL_MERCHANT_DONATIONS="https://donations.$ENVNAME.taler.net/";
-export TALER_ENV_URL_MERCHANT_SURVEY="https://survey.$ENVNAME.taler.net/";
-export TALER_ENV_URL_AUDITOR="https://auditor.$ENVNAME.taler.net/";
-export TALER_ENV_URL_BACKOFFICE="https://backoffice.$ENVNAME.taler.net/";
-EOL
-
-mkdir -p "$HOME/sockets"
-mkdir -p "$HOME/stamps"
-mkdir -p "$HOME/taler-data"
-
-ln -sf ../deployment/taler-build/Makefile stamps/
-ln -sf ../deployment/taler-build/invalidate.sh stamps/
-
-if test "test" = $ENVNAME; then
-  if ! test -d $HOME/test_worker; then
-    echo Creating test_worker..
-    buildbot-worker create-worker $HOME/test_worker localhost:9989 test-worker 
test-pass 
-  else
-    echo test_worker already in place.
-  fi
-  
-  if ! test -f $HOME/activate; then
-    echo FATAL: activate file was not created.
-    exit 1
-  fi
-fi
-
-if [[ "lcov" = $ENVNAME ]] && [[ ! -d worker ]]; then
-  buildbot-worker create-worker --umask=0o22 ~/worker localhost:9989 
lcov-worker lcov-pass
-fi
diff --git a/build-auditorreporter b/build-auditorreporter
deleted file mode 100755
index e766f74..0000000
--- a/build-auditorreporter
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-cd $HOME/stamps
-make exchange-stamp
diff --git a/demo.sh b/demo.sh
deleted file mode 100755
index 3ce92e3..0000000
--- a/demo.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# Every "blue/green" setup relies on a common user that keeps
-# all the shared data (keys, for example).  In our setup, test-*
-# and demo-* rely on the users 'test' and 'demo'.  This script
-# automates the configuration of the 'demo' user.
-
-if ! test "demo" = $(whoami); then
-  echo This script can only be run by the 'demo' user, exiting..
-  exit 1
-fi
-
-echo Creating the 'shared-data' directory.
-mkdir $HOME/shared-data
diff --git a/taler-build/.gitignore b/taler-build/.gitignore
deleted file mode 100644
index c337aa9..0000000
--- a/taler-build/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*-stamp
diff --git a/taler-build/Makefile b/taler-build/Makefile
deleted file mode 100644
index cf9d61e..0000000
--- a/taler-build/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-BASE="${HOME}/deployment/taler-build"
-
-all: auditor-stamp
-all: backoffice-stamp
-all: bank-stamp
-all: blog-stamp
-all: deployment-stamp
-all: donations-stamp
-all: exchange-stamp
-all: gnunet-stamp
-all: landing-stamp
-all: merchant-stamp
-all: survey-stamp
-all: twister-stamp
-
-deployment-stamp:
-       ${BASE}/update_deployment.sh
-       touch $@
-
-twister-stamp: gnunet-stamp deployment-stamp exchange-stamp
-       ${BASE}/update_twister.sh
-       touch $@
-
-backoffice-stamp:
-       ${BASE}/update_backoffice.sh
-       touch $@
-
-# depends on bank due to bank-lib testcase.  Note: twister
-# is partially a exchange's dependency because it's used to
-# run its "twisted" tests.  However, to avoid circular dependency
-# we don't make the exchange's build dependent on the twister.
-# The only effect is that on the very first compilation (the
-# one after a new bootstrap), the exchange won't run the "twisted"
-# tests.
-exchange-stamp: gnunet-stamp deployment-stamp bank-stamp
-       ${BASE}/update_exchange.sh
-       touch $@
-
-auditor-stamp: deployment-stamp gnunet-stamp
-       ${BASE}/update_auditor.sh
-       touch $@
-
-landing-stamp: deployment-stamp
-       ${BASE}/update_landing.sh
-       touch $@
-
-gnunet-stamp: libmicrohttpd-stamp libgnurl-stamp deployment-stamp
-       ${BASE}/update_gnunet.sh
-       touch $@
-
-bank-stamp: deployment-stamp
-       ${BASE}/update_bank.sh
-       touch $@
-
-merchant-stamp: exchange-stamp deployment-stamp twister-stamp
-       ${BASE}/update_merchant.sh
-       touch $@
-
-libmicrohttpd-stamp: deployment-stamp
-       ${BASE}/update_libmicrohttpd.sh
-       touch $@
-
-libgnurl-stamp: deployment-stamp
-       ${BASE}/update_libgnurl.sh
-       touch $@
-
-donations-stamp: deployment-stamp
-       ${BASE}/update_donations.sh
-       touch $@
-
-blog-stamp: deployment-stamp
-       ${BASE}/update_blog.sh
-       touch $@
-
-survey-stamp: deployment-stamp
-       ${BASE}/update_survey.sh
-       touch $@
-
-lcov: gnunet-stamp deployment-stamp merchant-stamp exchange-stamp
-       export PATH=${HOME}/local/bin:${PATH}
-       ./update_exchange.sh --coverage
-       ./update_merchant.sh --coverage
diff --git a/taler-build/README b/taler-build/README
deleted file mode 100644
index 115fe29..0000000
--- a/taler-build/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile for all taler components, using one timestamp
-file in this folder to represent each component.
diff --git a/taler-build/cat_failed.sh b/taler-build/cat_failed.sh
deleted file mode 100755
index 7f57db1..0000000
--- a/taler-build/cat_failed.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-cat_failed ()
-{
-  if ! test -d "$1"; then
-    echo ERROR dumping the failing test logs.
-    echo
-    echo Give valid directory to start crawling.
-    echo Example ./cat_failed.sh dir/
-    echo
-    return 1
-  fi
- 
-  for trs in $(find "${1}" -name "*.trs") ; do
-    if head -q -n1 < ${trs} | grep -q FAIL; then
-      filename_log=$(echo ${trs}|sed -e 's/trs$/log/')
-      echo
-      echo "== DUMPING LOGS =="
-      echo
-      cat ${filename_log}
-    fi
-  done
-
- return 0
-}
diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh
deleted file mode 100755
index 0518a2f..0000000
--- a/taler-build/invalidate.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-set -eu
-COMPONENTS="auditor deployment exchange merchant bank gnurl donations blog 
landing gnunet libmicrohttpd survey backoffice twister"
-
-for component in $COMPONENTS ; do
-
-  # Not all the setups have all the repos!
-  if ! test -d $HOME/$component; then
-    continue
-  fi
-
-  cd $HOME/$component
-  git fetch
-  if git status -sb | grep behind; then
-    echo "invalidating $component"
-    rm -f $HOME/stamps/$component-stamp
-  fi
-done
diff --git a/taler-build/lint_bank.sh b/taler-build/lint_bank.sh
deleted file mode 100755
index 25ccdff..0000000
--- a/taler-build/lint_bank.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/bank
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-pylint3 --load-plugins pylint_django talerbank/
diff --git a/taler-build/lint_blog.sh b/taler-build/lint_blog.sh
deleted file mode 100755
index e913746..0000000
--- a/taler-build/lint_blog.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/blog/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-
-pylint talerblog/
diff --git a/taler-build/lint_donations.sh b/taler-build/lint_donations.sh
deleted file mode 100755
index a423a53..0000000
--- a/taler-build/lint_donations.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-cd $HOME/donations/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-pylint talerdonations/
diff --git a/taler-build/lint_survey.sh b/taler-build/lint_survey.sh
deleted file mode 100755
index 7787d50..0000000
--- a/taler-build/lint_survey.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/survey/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-pylint talersurvey/
diff --git a/taler-build/update_api.sh b/taler-build/update_api.sh
deleted file mode 100755
index ec0cc0d..0000000
--- a/taler-build/update_api.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
-  git clean -fdx
-  git fetch
-  # reset to updated upstream branch, but only if we're tracking a branch
-  branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo head)
-  git reset --hard "$branch"
-}
-
-cd $HOME/api
-fetch
-make html
-cp -r _build/html/* $HOME/build/api/html/
-
diff --git a/taler-build/update_auditor.sh b/taler-build/update_auditor.sh
deleted file mode 100755
index e280285..0000000
--- a/taler-build/update_auditor.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/auditor
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --force --init
-make
-
-chmod g+rx en/
diff --git a/taler-build/update_backoffice.sh b/taler-build/update_backoffice.sh
deleted file mode 100755
index 24c8e7b..0000000
--- a/taler-build/update_backoffice.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/backoffice/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-./configure
-make check-js
-make install check
diff --git a/taler-build/update_bank.sh b/taler-build/update_bank.sh
deleted file mode 100755
index 7812555..0000000
--- a/taler-build/update_bank.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/bank
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-TALER_CHECKDB=${TALER_CHECKDB:-postgres:///talercheck}
-
-./configure
-TALER_BANK_ALTDB=$TALER_CHECKDB make install check
diff --git a/taler-build/update_blog.sh b/taler-build/update_blog.sh
deleted file mode 100755
index 7df8d76..0000000
--- a/taler-build/update_blog.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/blog/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-./configure
-make install check
diff --git a/taler-build/update_deployment.sh b/taler-build/update_deployment.sh
deleted file mode 100755
index e539258..0000000
--- a/taler-build/update_deployment.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-# This update script is needed since shell scripts called
-# by buildbot do NOT use the fresh deployment repo which is
-# internal to buildbot, so we need to update the $HOME/deployment
-# local check before starting the whole compilation
-
-set -eu
-
-cd $HOME/deployment
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
diff --git a/taler-build/update_donations.sh b/taler-build/update_donations.sh
deleted file mode 100755
index b6cfb7b..0000000
--- a/taler-build/update_donations.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/donations/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-./configure
-make install check
diff --git a/taler-build/update_exchange.sh b/taler-build/update_exchange.sh
deleted file mode 100755
index 6b5b45d..0000000
--- a/taler-build/update_exchange.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-source $HOME/deployment/taler-build/cat_failed.sh
-
-cd $HOME/exchange
-git clean -fdx
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-./bootstrap
-if test ${1:-notgiven} = "--coverage"; then
-  ./configure CFLAGS='-ggdb -O0' \
-          --with-libgnurl=$HOME/local \
-          --with-microhttpd=$HOME/local \
-          --with-twister=$HOME/local \
-          --prefix=$HOME/local --with-gnunet=$HOME/local \
-          --enable-logging=verbose \
-          --enable-coverage
-else
-  ./configure CFLAGS='-ggdb -O0' \
-          --with-libgnurl=$HOME/local \
-          --with-microhttpd=$HOME/local \
-          --with-twister=$HOME/local \
-          --prefix=$HOME/local --with-gnunet=$HOME/local \
-          --enable-logging=verbose
-fi
-
-make install -j4
-
-TALER_CHECKDB=${TALER_CHECKDB:-postgres:///WILLFAIL}
-
-# Deactivate test cases for now, as auditor test cases are broken
-
-#if test ${1:-notgiven} = "--coverage"; then
-#TOP=$(pwd)
-#  mkdir -p doc/coverage/
-#  lcov -d $TOP -z
-#  TALER_AUDITORDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-#  TALER_EXCHANGEDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-#  TALER_BANK_ALTDB=$TALER_CHECKDB make check || (cat_failed .; exit 1)
-#  lcov -d $TOP -c --no-external -o doc/coverage/coverage.info
-#  lcov -r doc/coverage/coverage.info **/test_* -o doc/coverage/rcoverage.info
-#  genhtml -o doc/coverage doc/coverage/rcoverage.info
-#  chmod g+rx -R doc/
-#else
-#  echo "checkdb: $TALER_CHECKDB"
-#  TALER_AUDITORDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-#  TALER_EXCHANGEDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-#  TALER_BANK_ALTDB=$TALER_CHECKDB make check || (cat_failed .; exit 1)
-#fi
diff --git a/taler-build/update_gnunet.sh b/taler-build/update_gnunet.sh
deleted file mode 100755
index 3e89e07..0000000
--- a/taler-build/update_gnunet.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/gnunet/
-git clean -fdx
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-./bootstrap
-./configure --prefix=$HOME/local \
-            --enable-logging=verbose \
-            --with-libgnurl=$HOME/local \
-            --with-microhttpd=$HOME/local \
-            --disable-documentation
-
-make install -j1
diff --git a/taler-build/update_landing.sh b/taler-build/update_landing.sh
deleted file mode 100755
index 91d86fd..0000000
--- a/taler-build/update_landing.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/landing
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --force --init
-AUTOMAKE="automake --foreign" autoreconf -fiv
-./configure
-cd demo/
-make
-chmod -R g+rx *
diff --git a/taler-build/update_libgnurl.sh b/taler-build/update_libgnurl.sh
deleted file mode 100755
index 4f03817..0000000
--- a/taler-build/update_libgnurl.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/gnurl
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-./buildconf
-./configure --enable-ipv6 --with-gnutls --without-libpsl --without-libssh2 
--without-libmetalink --without-winidn --without-librtmp --without-nghttp2 
--without-nss --without-cyassl --without-polarssl --without-ssl 
--without-winssl --without-darwinssl --disable-sspi --disable-ntlm-wb 
--disable-ldap --disable-rtsp --disable-dict --disable-telnet --disable-tftp 
--disable-pop3 --disable-imap --disable-smtp --disable-gopher --disable-file 
--disable-ftp --disable-smb --prefix=$HOME/local
-make
-make install
diff --git a/taler-build/update_libmicrohttpd.sh 
b/taler-build/update_libmicrohttpd.sh
deleted file mode 100755
index c50d54f..0000000
--- a/taler-build/update_libmicrohttpd.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/libmicrohttpd/
-git clean -fdx
-
-git fetch --all
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-./bootstrap
-./configure --prefix=$HOME/local \
-            --with-gnutls=/usr/local # Debian packages are too old.
-make
-make install
diff --git a/taler-build/update_merchant.sh b/taler-build/update_merchant.sh
deleted file mode 100755
index f6b2d32..0000000
--- a/taler-build/update_merchant.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/bash
-
-# Run as:
-# $ ./update_merchant.sh [--coverage]
-set -eu
-
-
-source $HOME/deployment/taler-build/cat_failed.sh
-
-cd $HOME/merchant/
-git clean -fdx
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-./bootstrap
-if test ${1:-notgiven} = "--coverage"; then
-  ./configure CFLAGS='-ggdb -O0' \
-    --prefix=$HOME/local --with-gnunet=$HOME/local \
-    --with-exchange=$HOME/local \
-    --with-microhttpd=$HOME/local \
-    --with-twister=$HOME/local \
-    --enable-logging=verbose \
-    --enable-coverage \
-    --disable-doc
-  else
-  ./configure CFLAGS='-ggdb -O0' \
-    --prefix=$HOME/local --with-gnunet=$HOME/local \
-    --with-exchange=$HOME/local \
-    --with-microhttpd=$HOME/local \
-    --with-twister=$HOME/local \
-    --enable-logging=verbose \
-    --disable-doc
-fi
-    
-make
-make install
-
-TALER_CHECKDB=${TALER_CHECKDB:-postgres:///WILLFAIL}
-
-if test ${1:-notgiven} = "--coverage"; then
-TOP=$(pwd)
-  mkdir -p doc/coverage/
-  lcov -d $TOP -z
-  TALER_MERCHANTDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-  TALER_EXCHANGEDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-  TALER_AUDITORDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-  make check || (cat_failed .;  exit 1)
-  lcov -d $TOP -c --no-external -o doc/coverage/coverage.info
-  lcov -r doc/coverage/coverage.info **/test_* -o doc/coverage/rcoverage.info
-  genhtml -o doc/coverage doc/coverage/rcoverage.info
-  chmod g+rx -R doc/
-else
-  TALER_MERCHANTDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-  TALER_EXCHANGEDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-  TALER_AUDITORDB_POSTGRES_CONFIG=$TALER_CHECKDB \
-  make check || (cat_failed .; exit 1)
-fi
diff --git a/taler-build/update_survey.sh b/taler-build/update_survey.sh
deleted file mode 100755
index fa85808..0000000
--- a/taler-build/update_survey.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-cd $HOME/survey/
-git clean -fxd
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-./configure
-make install check
diff --git a/taler-build/update_twister.sh b/taler-build/update_twister.sh
deleted file mode 100755
index de68b63..0000000
--- a/taler-build/update_twister.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# Run as:
-# $ ./update_twister.sh
-set -eu
-
-cd $HOME/twister/
-git clean -fdx
-
-git fetch
-# reset to updated upstream branch, but only if we're tracking a branch
-branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || 
echo HEAD)
-git reset --hard "$branch"
-
-git submodule update --init --force
-
-./bootstrap
-./configure CFLAGS='-ggdb -O0' \
-  --prefix=$HOME/local \
-  --with-gnunet=$HOME/local \
-  --with-exchange=$HOME/local \
-  --enable-logging=verbose
-make install

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



reply via email to

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