Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qore-linenoise-module for 
openSUSE:Factory checked in at 2021-11-23 22:10:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-linenoise-module (Old)
 and      /work/SRC/openSUSE:Factory/.qore-linenoise-module.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore-linenoise-module"

Tue Nov 23 22:10:27 2021 rev:2 rq:928378 version:1.0.0+qore1.0.10

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/qore-linenoise-module/qore-linenoise-module.changes  
    2021-08-01 21:51:33.971241099 +0200
+++ 
/work/SRC/openSUSE:Factory/.qore-linenoise-module.new.1895/qore-linenoise-module.changes
    2021-11-23 22:12:41.330457552 +0100
@@ -1,0 +2,6 @@
+Thu Oct 28 09:32:23 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 1.0.0 for Qore 1.0.10
+  * Only build system related changes for Qore 1.0
+
+-------------------------------------------------------------------

Old:
----
  module-linenoise-release-0.9.15.tar.gz

New:
----
  module-linenoise-release-1.0.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qore-linenoise-module.spec ++++++
--- /var/tmp/diff_new_pack.de6VC5/_old  2021-11-23 22:12:41.850455832 +0100
+++ /var/tmp/diff_new_pack.de6VC5/_new  2021-11-23 22:12:41.854455819 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define qore_version 0.9.15
+%define qore_version 1.0.10
 %define src_name module-linenoise-release-%{qore_version}
 %define module_api %(qore --latest-module-api 2>/dev/null)
 Name:           qore-linenoise-module
@@ -33,7 +33,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz
 BuildRequires:  qore
-BuildRequires:  qore-devel >= 0.9.0
+BuildRequires:  qore-devel >= %{qore_version}
 Requires:       qore-module(abi)%{?_isa} = %{module_api}
 Suggests:       %{name}-doc = %{version}
 

++++++ module-linenoise-release-0.9.15.tar.gz -> 
module-linenoise-release-1.0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/module-linenoise-release-0.9.15/.gitlab-ci.yml 
new/module-linenoise-release-1.0.10/.gitlab-ci.yml
--- old/module-linenoise-release-0.9.15/.gitlab-ci.yml  2021-01-23 
18:04:37.000000000 +0100
+++ new/module-linenoise-release-1.0.10/.gitlab-ci.yml  2021-01-27 
15:29:27.000000000 +0100
@@ -1,21 +1,42 @@
 stages:
   - test
 
-test:
-  stage: test
-  image: $CI_REGISTRY/infrastructure/qore-test-base/qore-test-base:5.0
+default:
   tags:
     - docker-exec
-  variables:
-    REPO_NAME: module-linenoise
-  script:
+  before_script:
     - |
         curl 
"https://api.github.com/repos/qorelanguage/${REPO_NAME}/statuses/${CI_COMMIT_SHA}";
 \
         -X POST -u omusil24:${GITHUB_ACCESS_TOKEN} -H "Content-Type: 
application/json" \
         -d "{\"state\": \"pending\", \"context\": \"${REPO_NAME}\", 
\"description\": \"Gitlab CI\", \"target_url\": \"${CI_JOB_URL}\"}"
+    - set +e
+
+variables:
+  REPO_NAME: module-linenoise
+
+test-ubuntu:
+  stage: test
+  image: $CI_REGISTRY/infrastructure/qore-test-base/qore-test-base:develop
+  script:
+    - |
+        if test/docker_test/test-ubuntu.sh; then
+          curl 
"https://api.github.com/repos/qorelanguage/${REPO_NAME}/statuses/${CI_COMMIT_SHA}";
 \
+            -X POST -u omusil24:${GITHUB_ACCESS_TOKEN} -H "Content-Type: 
application/json" \
+            -d "{\"state\": \"success\", \"context\": \"${REPO_NAME}\", 
\"description\": \"Gitlab CI\", \"target_url\": \"${CI_JOB_URL}\"}"
+          exit 0
+        else
+          curl 
"https://api.github.com/repos/qorelanguage/${REPO_NAME}/statuses/${CI_COMMIT_SHA}";
 \
+            -X POST -u omusil24:${GITHUB_ACCESS_TOKEN} -H "Content-Type: 
application/json" \
+            -d "{\"state\": \"failure\", \"context\": \"${REPO_NAME}\", 
\"description\": \"Gitlab CI\", \"target_url\": \"${CI_JOB_URL}\"}"
+          exit 1
+        fi
+
+test-alpine:
+  stage: test
+  image: 
$CI_REGISTRY/infrastructure/qore-test-base/qore-test-base:develop-alpine
+  script:
     - |
-        set +e
-        if test/docker_test/test.sh; then
+        if test/docker_test/test-alpine.sh; then
           curl 
"https://api.github.com/repos/qorelanguage/${REPO_NAME}/statuses/${CI_COMMIT_SHA}";
 \
             -X POST -u omusil24:${GITHUB_ACCESS_TOKEN} -H "Content-Type: 
application/json" \
             -d "{\"state\": \"success\", \"context\": \"${REPO_NAME}\", 
\"description\": \"Gitlab CI\", \"target_url\": \"${CI_JOB_URL}\"}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/module-linenoise-release-0.9.15/CMakeLists.txt 
new/module-linenoise-release-1.0.10/CMakeLists.txt
--- old/module-linenoise-release-0.9.15/CMakeLists.txt  2021-01-23 
18:04:37.000000000 +0100
+++ new/module-linenoise-release-1.0.10/CMakeLists.txt  2021-01-27 
15:29:27.000000000 +0100
@@ -37,7 +37,7 @@
 
 SET (module_name "linenoise")
 
-add_library(${module_name} SHARED ${CPP_SRC} ${QPP_SOURCES})
+add_library(${module_name} MODULE ${CPP_SRC} ${QPP_SOURCES})
 
 qore_binary_module(${module_name} 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/module-linenoise-release-0.9.15/test/docker_test/test-alpine.sh 
new/module-linenoise-release-1.0.10/test/docker_test/test-alpine.sh
--- old/module-linenoise-release-0.9.15/test/docker_test/test-alpine.sh 
1970-01-01 01:00:00.000000000 +0100
+++ new/module-linenoise-release-1.0.10/test/docker_test/test-alpine.sh 
2021-01-27 15:29:27.000000000 +0100
@@ -0,0 +1,50 @@
+#!/bin/bash
+
+set -e
+set -x
+
+ENV_FILE=/tmp/env.sh
+
+. ${ENV_FILE}
+
+# setup MODULE_SRC_DIR env var
+cwd=`pwd`
+if [ -z "${MODULE_SRC_DIR}" ]; then
+    if [ -e "$cwd/src/linenoise.qpp" ]; then
+        MODULE_SRC_DIR=$cwd
+    else
+        MODULE_SRC_DIR=$WORKDIR/module-linenoise
+    fi
+fi
+echo "export MODULE_SRC_DIR=${MODULE_SRC_DIR}" >> ${ENV_FILE}
+
+echo "export QORE_UID=1000" >> ${ENV_FILE}
+echo "export QORE_GID=1000" >> ${ENV_FILE}
+
+. ${ENV_FILE}
+
+export MAKE_JOBS=4
+
+# build module and install
+echo && echo "-- building module --"
+mkdir -p ${MODULE_SRC_DIR}/build
+cd ${MODULE_SRC_DIR}/build
+cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX}
+make -j${MAKE_JOBS}
+make install
+
+# add Qore user and group
+if ! grep -q "^qore:x:${QORE_GID}" /etc/group; then
+    addgroup -g ${QORE_GID} qore
+fi
+if ! grep -q "^qore:x:${QORE_UID}" /etc/passwd; then
+    adduser -u ${QORE_UID} -D -G qore -h /home/qore -s /bin/bash qore
+fi
+
+# own everything by the qore user
+chown -R qore:qore ${MODULE_SRC_DIR}
+
+# run the tests
+export QORE_MODULE_DIR=${MODULE_SRC_DIR}/qlib:${QORE_MODULE_DIR}
+cd ${MODULE_SRC_DIR}
+# ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/module-linenoise-release-0.9.15/test/docker_test/test-ubuntu.sh 
new/module-linenoise-release-1.0.10/test/docker_test/test-ubuntu.sh
--- old/module-linenoise-release-0.9.15/test/docker_test/test-ubuntu.sh 
1970-01-01 01:00:00.000000000 +0100
+++ new/module-linenoise-release-1.0.10/test/docker_test/test-ubuntu.sh 
2021-01-27 15:29:27.000000000 +0100
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+set -e
+set -x
+
+ENV_FILE=/tmp/env.sh
+
+. ${ENV_FILE}
+
+# setup MODULE_SRC_DIR env var
+cwd=`pwd`
+if [ -z "${MODULE_SRC_DIR}" ]; then
+    if [ -e "$cwd/src/linenoise.qpp" ]; then
+        MODULE_SRC_DIR=$cwd
+    else
+        MODULE_SRC_DIR=$WORKDIR/module-linenoise
+    fi
+fi
+echo "export MODULE_SRC_DIR=${MODULE_SRC_DIR}" >> ${ENV_FILE}
+
+echo "export QORE_UID=999" >> ${ENV_FILE}
+echo "export QORE_GID=999" >> ${ENV_FILE}
+
+. ${ENV_FILE}
+
+export MAKE_JOBS=4
+
+# build module and install
+echo && echo "-- building module --"
+mkdir -p ${MODULE_SRC_DIR}/build
+cd ${MODULE_SRC_DIR}/build
+cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX}
+make -j${MAKE_JOBS}
+make install
+
+# add Qore user and group
+groupadd -o -g ${QORE_GID} qore
+useradd -o -m -d /home/qore -u ${QORE_UID} -g ${QORE_GID} qore
+
+# own everything by the qore user
+chown -R qore:qore ${MODULE_SRC_DIR}
+
+# run the tests
+export QORE_MODULE_DIR=${MODULE_SRC_DIR}/qlib:${QORE_MODULE_DIR}
+cd ${MODULE_SRC_DIR}
+# ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/module-linenoise-release-0.9.15/test/docker_test/test.sh 
new/module-linenoise-release-1.0.10/test/docker_test/test.sh
--- old/module-linenoise-release-0.9.15/test/docker_test/test.sh        
2021-01-23 18:04:37.000000000 +0100
+++ new/module-linenoise-release-1.0.10/test/docker_test/test.sh        
1970-01-01 01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-ENV_FILE=/tmp/env.sh
-
-. ${ENV_FILE}
-
-# setup MODULE_SRC_DIR env var
-cwd=`pwd`
-if [ "${MODULE_SRC_DIR}" = "" ]; then
-    if [ -e "$cwd/src/linenoise.qpp" ]; then
-        MODULE_SRC_DIR=$cwd
-    else
-        MODULE_SRC_DIR=$WORKDIR/module-linenoise
-    fi
-fi
-echo "export MODULE_SRC_DIR=${MODULE_SRC_DIR}" >> ${ENV_FILE}
-
-echo "export QORE_UID=999" >> ${ENV_FILE}
-echo "export QORE_GID=999" >> ${ENV_FILE}
-
-. ${ENV_FILE}
-
-export MAKE_JOBS=4
-
-# build module and install
-echo && echo "-- building module --"
-cd ${MODULE_SRC_DIR}
-mkdir build
-cd build
-cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX}
-make -j${MAKE_JOBS}
-make install

Reply via email to