[Swift-commit] r7048 - SwiftApps/gocat
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Mon Sep 9 15:16:06 CDT 2013
Author: ketan
Date: 2013-09-09 15:16:06 -0500 (Mon, 09 Sep 2013)
New Revision: 7048
Added:
SwiftApps/gocat/cleanup
SwiftApps/gocat/test.sh
Modified:
SwiftApps/gocat/apps
SwiftApps/gocat/catalog.swift
Log:
test and cleanup
Modified: SwiftApps/gocat/apps
===================================================================
--- SwiftApps/gocat/apps 2013-09-09 18:59:36 UTC (rev 7047)
+++ SwiftApps/gocat/apps 2013-09-09 20:16:06 UTC (rev 7048)
@@ -1,5 +1,5 @@
localhost tag_go /scratch/local/ketan/catalog-client/globusonline/catalog/client/examples/catalog.py
localhost locate_go /scratch/local/ketan/catalog-client/globusonline/catalog/client/examples/catalog.py
-localhost tag_cmd tag
-localhost locate_cmd locate
+localhost tag_dataset tag
+localhost locate_dataset locate
Modified: SwiftApps/gocat/catalog.swift
===================================================================
--- SwiftApps/gocat/catalog.swift 2013-09-09 18:59:36 UTC (rev 7047)
+++ SwiftApps/gocat/catalog.swift 2013-09-09 20:16:06 UTC (rev 7048)
@@ -9,9 +9,19 @@
}
app (file datasets, file err) tag_cmd (string catalogid){
- get_datasets catalogid stdout=@datasets stderr=@err;
+ tag_dataset catalogid stdout=@datasets stderr=@err;
}
-app (file tags, file err) locate_cmd (string tag_args){
- get_tags tag_args stdout=@tags stderr=@err;
+app (file tags) locate_cmd (string tag_args){
+ locate_dataset tag_args stdout=@tags;
}
+
+string q = arg("ds","");
+
+string flist[] = readData(locate_cmd(q));
+file d[]<array_mapper; files=flist>;
+
+foreach f,i in d {
+ tracef("f[%i]: mapped to: %s\n", i, @f);
+ }
+
Added: SwiftApps/gocat/cleanup
===================================================================
--- SwiftApps/gocat/cleanup (rev 0)
+++ SwiftApps/gocat/cleanup 2013-09-09 20:16:06 UTC (rev 7048)
@@ -0,0 +1,2 @@
+rm -rf *.log *.rlog *.d p?-*-*-* *.kml *.swiftx *.out output outdir logs hi.* _concurrent .swift/tmp
+
Property changes on: SwiftApps/gocat/cleanup
___________________________________________________________________
Added: svn:executable
+ *
Added: SwiftApps/gocat/test.sh
===================================================================
--- SwiftApps/gocat/test.sh (rev 0)
+++ SwiftApps/gocat/test.sh 2013-09-09 20:16:06 UTC (rev 7048)
@@ -0,0 +1 @@
+swift -tc.file apps -sites.file sites.local.xml catalog.swift -ds='run like 3'
Property changes on: SwiftApps/gocat/test.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the Swift-commit
mailing list