[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:43:43 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=7e44e9d

The following commit has been merged in the master branch:
commit 7e44e9d040005b2d4f39953fbe271b5bd4ca8c73
Author: HumanDynamo <caulier.gilles at gmail.com>
Date:   Thu Jun 6 08:17:57 2013 +0000

    add new script to push coverity scan build to web service
---
 contrib/coverity.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/contrib/coverity.sh b/contrib/coverity.sh
new file mode 100755
index 0000000..d93896f
--- /dev/null
+++ b/contrib/coverity.sh
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+# Copyright (c) 2013, Gilles Caulier, <caulier dot gilles at gmail dot com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+#
+# Copy this script on root folder where are source code
+#
+# See this url to see how to prepare your computer with Coverity SCAN tool:
+# http://scan.coverity.com/self-build/
+
+cd ..
+
+# Manage build sub-dir
+if [ -d "build" ]; then
+    rm -rfv ./build
+fi
+
+./bootstrap.linux
+
+# Get active git branches to create SCAN import description string
+#./gits branch | sed -e "s/*/#/g" | sed -e "s/On:/#On:/g" | grep "#" | sed -e "s/#On:/On:/g" | sed -e "s/#/BRANCH:/g" > ./build/git_branches.txt
+#desc=$(<build/git_branches.txt)
+desc=trunk
+
+cd ./build
+
+cov-build --dir cov-int --tmpdir ~/tmp make
+tar czvf myproject.tgz cov-int
+
+echo "-- SCAN Import description --"
+echo $desc
+echo "-----------------------------"
+
+echo "Coverity Scan tarball 'myproject.tgz' uploading in progress..."
+
+nslookup scan5.coverity.com
+
+curl -v \
+     --progress-bar \
+     --form file=@myproject.tgz \
+     --form project=Exiv2 \
+     --form token=$EXIVCoverityToken \
+     --form email=caulier.gilles at gmail.com \
+     --form version=svn-trunk \
+     --form description="$desc" \
+     http://scan5.coverity.com/cgi-bin/upload.py
+
+echo "Done. Coverity Scan tarball 'myproject.tgz' is uploaded and ready for analyse."
+

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list