The following commit has been merged in the master branch:
commit ccdabc03a2a06ef4d753cd0fc52e3ee6c43a9bcc
Author: Emmanouil Kiagias <[email protected]>
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

_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit

Reply via email to