[Blends-commit] [SCM] blends-gsoc branch, master, updated. ccdabc03a2a06ef4d753cd0fc52e3ee6c43a9bcc

Emmanouil Kiagias e.kiagias at gmail.com
Wed Jul 31 21:16:25 UTC 2013


The following commit has been merged in the master branch:
commit ccdabc03a2a06ef4d753cd0fc52e3ee6c43a9bcc
Author: Emmanouil Kiagias <e.kiagias at gmail.com>
Date:   Wed Jul 31 22:34:06 2013 +0200

    added dumpStatus script, it gets a directory with a blend's tags and generates jsondependencies files for each of them into the given directory. usage: ./dumpStatus med/tags/ dependencies_folder/

diff --git a/dumpsTags b/dumpsTags
new file mode 100755
index 0000000..5bf67c0
--- /dev/null
+++ b/dumpsTags
@@ -0,0 +1,25 @@
+#!/bin/bash
+#usage: ./dumpTags path_to_blend_svn_tags path_to_output_jsons
+
+list_tags() {
+ for fold in "$1"/*;do
+    if [ -d "${fold}" ];then
+    	#check if directory contains tasks folder
+    	for temp in `ls ${fold}`; do
+  			if [ "${temp}" = "tasks" ]; then
+    			echo "${fold}"
+    			break
+  			fi
+		done
+    fi
+ done
+}
+
+for tag in `list_tags $1`
+do
+
+	blendname=`(cd $tag;/usr/share/blends-dev/blend-get-names blendname)`
+	version=`(cd $tag;dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- )`
+
+	./tasks_diff -t ${tag} --status-dump -o ${2}/${blendname}_${version}.json
+done
\ No newline at end of file

-- 
Git repository for blends-gsoc code



More information about the Blends-commit mailing list