tfcache-comparison

added pull.sh

6/19/2019 2:43:30 AM

Details

adapters/pull.sh 8(+8 -0)

diff --git a/adapters/pull.sh b/adapters/pull.sh
new file mode 100644
index 0000000..c77cfe1
--- /dev/null
+++ b/adapters/pull.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for directory in */ ; do
+    cd $directory
+    git pull
+    cd ..
+done
+wait
\ No newline at end of file
diff --git a/applications/aplcache/pull.sh b/applications/aplcache/pull.sh
new file mode 100644
index 0000000..c77cfe1
--- /dev/null
+++ b/applications/aplcache/pull.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for directory in */ ; do
+    cd $directory
+    git pull
+    cd ..
+done
+wait
\ No newline at end of file
diff --git a/applications/configure b/applications/configure
index 4561e49..8acd5f1 100755
--- a/applications/configure
+++ b/applications/configure
@@ -3,7 +3,6 @@
 mkdir traces
 mkdir output
 
-mkdir uncached
 cd uncached
 git clone --depth=1 https://github.com/rmeloca/azkaban-uncached.git azkaban
 git clone --depth=1 https://github.com/rmeloca/cloudstore-uncached.git cloudstore
@@ -16,7 +15,6 @@ git clone --depth=1 https://github.com/rmeloca/shopizer-uncached.git shopizer
 git clone --depth=1 https://github.com/rmeloca/thingsboard-uncached.git thingsboard
 cd ..
 
-mkdir developers
 cd developers
 git clone --depth=1 https://github.com/rmeloca/azkaban-developers.git azkaban
 git clone --depth=1 https://github.com/rmeloca/cloudstore-developers.git cloudstore
@@ -29,7 +27,6 @@ git clone --depth=1 https://github.com/rmeloca/shopizer-developers.git shopizer
 git clone --depth=1 https://github.com/rmeloca/thingsboard-developers.git thingsboard
 cd ..
 
-mkdir aplcache
 cd aplcache
 git clone --depth=1 https://github.com/rmeloca/azkaban-aplcache.git azkaban
 git clone --depth=1 https://github.com/rmeloca/cloudstore-aplcache.git cloudstore
@@ -42,7 +39,6 @@ git clone --depth=1 https://github.com/rmeloca/shopizer-aplcache.git shopizer
 git clone --depth=1 https://github.com/rmeloca/thingsboard-aplcache.git thingsboard
 cd ..
 
-mkdir memoizeit
 cd memoizeit
 git clone --depth=1 https://github.com/rmeloca/azkaban-memoizeit.git azkaban
 git clone --depth=1 https://github.com/rmeloca/cloudstore-memoizeit.git cloudstore
diff --git a/applications/developers/pull.sh b/applications/developers/pull.sh
new file mode 100644
index 0000000..c77cfe1
--- /dev/null
+++ b/applications/developers/pull.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for directory in */ ; do
+    cd $directory
+    git pull
+    cd ..
+done
+wait
\ No newline at end of file
diff --git a/applications/memoizeit/pull.sh b/applications/memoizeit/pull.sh
new file mode 100644
index 0000000..c77cfe1
--- /dev/null
+++ b/applications/memoizeit/pull.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for directory in */ ; do
+    cd $directory
+    git pull
+    cd ..
+done
+wait
\ No newline at end of file
diff --git a/applications/pull.sh b/applications/pull.sh
new file mode 100644
index 0000000..bf117c8
--- /dev/null
+++ b/applications/pull.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+cd uncached; bash pull.sh; cd ..
+cd developers; bash pull.sh; cd ..
+cd aplcache; bash pull.sh; cd ..
+cd memoizeit; bash pull.sh; cd ..
\ No newline at end of file
diff --git a/applications/uncached/pull.sh b/applications/uncached/pull.sh
new file mode 100644
index 0000000..c77cfe1
--- /dev/null
+++ b/applications/uncached/pull.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for directory in */ ; do
+    cd $directory
+    git pull
+    cd ..
+done
+wait
\ No newline at end of file
diff --git a/approaches/pull.sh b/approaches/pull.sh
new file mode 100644
index 0000000..c77cfe1
--- /dev/null
+++ b/approaches/pull.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for directory in */ ; do
+    cd $directory
+    git pull
+    cd ..
+done
+wait
\ No newline at end of file

clean.sh 4(+4 -0)

diff --git a/clean.sh b/clean.sh
new file mode 100644
index 0000000..a625386
--- /dev/null
+++ b/clean.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd adapters; bash clean.sh; cd ..
+cd approaches; bash clean.sh; cd ..
\ No newline at end of file

pull.sh 5(+5 -0)

diff --git a/pull.sh b/pull.sh
new file mode 100644
index 0000000..347cfba
--- /dev/null
+++ b/pull.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cd adapters; bash pull.sh; cd ..
+cd approaches; bash pull.sh; cd ..
+cd applications; bash pull.sh; cd ..
\ No newline at end of file