[Swift-commit] r7070 - SwiftApps/gocat
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Mon Sep 16 08:39:57 CDT 2013
Author: ketan
Date: 2013-09-16 08:39:56 -0500 (Mon, 16 Sep 2013)
New Revision: 7070
Modified:
SwiftApps/gocat/catalog.swift
SwiftApps/gocat/sites.local.xml
Log:
Modified: SwiftApps/gocat/catalog.swift
===================================================================
--- SwiftApps/gocat/catalog.swift 2013-09-16 07:06:34 UTC (rev 7069)
+++ SwiftApps/gocat/catalog.swift 2013-09-16 13:39:56 UTC (rev 7070)
@@ -16,17 +16,9 @@
locate_dataset tag_args stdout=@tags;
}
-string q = arg("ds","");
+file tagout[]<simple_mapper; location="outdir", prefix="tag.",suffix=".out">;
+file tagerr[]<simple_mapper; location="outdir", prefix="tag.",suffix=".err">;
-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);
- }
-
-file tagout<"tagout.txt">;
-file tagerr<"tagerr.txt">;
-
-(tagout, tagerr)=tag_cmd("/home/maheshwari/gocat owner=maheshwari group=swift create-date=2013.0910.10:45:12:211");
-
+foreach i in [1:3]{
+ (tagout[i], tagerr[i]) = tag_cmd(strcat("/data/maheshwari/d", i, " atagname=tagvalue", i));
+}
Modified: SwiftApps/gocat/sites.local.xml
===================================================================
--- SwiftApps/gocat/sites.local.xml 2013-09-16 07:06:34 UTC (rev 7069)
+++ SwiftApps/gocat/sites.local.xml 2013-09-16 13:39:56 UTC (rev 7070)
@@ -1,4 +1,5 @@
-<config>
+<?xml version="1.0" encoding="UTF-8"?>
+<config xmlns="http://www.ci.uchicago.edu/swift/SwiftSites">
<pool handle="localhost">
<execution provider="local" url="none"/>
<filesystem provider="local" url="none" />
More information about the Swift-commit
mailing list