[Pkg-owncloud-commits] [owncloud-client] 131/171: Win Admin: Added script to create stable toolchain prj. in OBS

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Feb 17 09:36:59 UTC 2016


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

hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.

commit c23ae5aa14a3f0252f73a51c32f3a69ca03bb806
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Thu Jan 21 11:40:16 2016 +0100

    Win Admin: Added script to create stable toolchain prj. in OBS
---
 admin/win/create_stable_toolchain.sh | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/admin/win/create_stable_toolchain.sh b/admin/win/create_stable_toolchain.sh
new file mode 100755
index 0000000..a158c32
--- /dev/null
+++ b/admin/win/create_stable_toolchain.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+#
+# This script creates a new windows toolchain repository in OBS.
+# It only works for versions that do not yet exist.
+#
+# Make sure to adopt the variable stableversion.
+
+# Set the new stable version accordingly:
+stableversion=2.1
+targetproject="isv:ownCloud:toolchains:mingw:win32:${stableversion}"
+
+# Create the new repo
+
+# get the xml build description of the stable repo
+xml=`osc meta prj isv:ownCloud:toolchains:mingw:win32:stable`
+stable_xml="${xml/stable/$stableversion}"
+
+echo $stable_xml
+
+echo $stable_xml | osc meta prj -F - ${targetproject}
+
+
+# now copy all packages
+packs=`osc ls isv:ownCloud:toolchains:mingw:win32:stable`
+
+for pack in $packs
+do
+    osc copypac isv:ownCloud:toolchains:mingw:win32:stable $pack $targetproject
+done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list