tfcache-comparison
Changes
adapters/configure 22(+15 -7)
applications/configure 80(+44 -36)
approaches/configure 12(+10 -2)
configure 6(+3 -3)
Details
adapters/configure 22(+15 -7)
diff --git a/adapters/configure b/adapters/configure
index 15b87dd..25653bd 100755
--- a/adapters/configure
+++ b/adapters/configure
@@ -1,9 +1,17 @@
#!/bin/bash
-git clone --depth=1 https://github.com/rmeloca/java-callgraph.git
-git clone --depth=1 https://github.com/rmeloca/ApplicationTracer.git
-git clone --depth=1 https://github.com/rmeloca/JSONSerialiser.git
-git clone --depth=1 https://github.com/rmeloca/Trace.git
-git clone --depth=1 https://github.com/rmeloca/RequestsSimulator.git
-git clone --depth=1 https://github.com/rmeloca/Cache.git
-git clone --depth=1 https://github.com/rmeloca/RemoteExecutor.git
+passphrase=""
+if [[ ! -z $1 ]]; then
+ passphrase=$1@
+ if [[ ! -z $2 ]]; then
+ passphrase=$1:$2@
+ fi
+fi
+
+git clone --depth=1 https://${passphrase}github.com/rmeloca/java-callgraph.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/ApplicationTracer.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/JSONSerialiser.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/Trace.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/RequestsSimulator.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/Cache.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/RemoteExecutor.git
applications/configure 80(+44 -36)
diff --git a/applications/configure b/applications/configure
index 8acd5f1..cd9a223 100755
--- a/applications/configure
+++ b/applications/configure
@@ -1,52 +1,60 @@
#!/bin/bash
+passphrase=""
+if [[ ! -z $1 ]]; then
+ passphrase=$1@
+ if [[ ! -z $2 ]]; then
+ passphrase=$1:$2@
+ fi
+fi
+
mkdir traces
mkdir output
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
-git clone --depth=1 https://github.com/rmeloca/fitnesse-uncached.git fitnesse
-git clone --depth=1 https://github.com/rmeloca/keycloak-uncached.git keycloak
-git clone --depth=1 https://github.com/rmeloca/killbill-uncached.git killbill
-git clone --depth=1 https://github.com/rmeloca/mycollab-uncached.git mycollab
-git clone --depth=1 https://github.com/rmeloca/petclinic-uncached.git petclinic
-git clone --depth=1 https://github.com/rmeloca/shopizer-uncached.git shopizer
-git clone --depth=1 https://github.com/rmeloca/thingsboard-uncached.git thingsboard
+git clone --depth=1 https://${passphrase}github.com/rmeloca/azkaban-uncached.git azkaban
+git clone --depth=1 https://${passphrase}github.com/rmeloca/cloudstore-uncached.git cloudstore
+git clone --depth=1 https://${passphrase}github.com/rmeloca/fitnesse-uncached.git fitnesse
+git clone --depth=1 https://${passphrase}github.com/rmeloca/keycloak-uncached.git keycloak
+git clone --depth=1 https://${passphrase}github.com/rmeloca/killbill-uncached.git killbill
+git clone --depth=1 https://${passphrase}github.com/rmeloca/mycollab-uncached.git mycollab
+git clone --depth=1 https://${passphrase}github.com/rmeloca/petclinic-uncached.git petclinic
+git clone --depth=1 https://${passphrase}github.com/rmeloca/shopizer-uncached.git shopizer
+git clone --depth=1 https://${passphrase}github.com/rmeloca/thingsboard-uncached.git thingsboard
cd ..
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
-git clone --depth=1 https://github.com/rmeloca/fitnesse-developers.git fitnesse
-git clone --depth=1 https://github.com/rmeloca/keycloak-developers.git keycloak
-git clone --depth=1 https://github.com/rmeloca/killbill-developers.git killbill
-git clone --depth=1 https://github.com/rmeloca/mycollab-developers.git mycollab
-git clone --depth=1 https://github.com/rmeloca/petclinic-developers.git petclinic
-git clone --depth=1 https://github.com/rmeloca/shopizer-developers.git shopizer
-git clone --depth=1 https://github.com/rmeloca/thingsboard-developers.git thingsboard
+git clone --depth=1 https://${passphrase}github.com/rmeloca/azkaban-developers.git azkaban
+git clone --depth=1 https://${passphrase}github.com/rmeloca/cloudstore-developers.git cloudstore
+git clone --depth=1 https://${passphrase}github.com/rmeloca/fitnesse-developers.git fitnesse
+git clone --depth=1 https://${passphrase}github.com/rmeloca/keycloak-developers.git keycloak
+git clone --depth=1 https://${passphrase}github.com/rmeloca/killbill-developers.git killbill
+git clone --depth=1 https://${passphrase}github.com/rmeloca/mycollab-developers.git mycollab
+git clone --depth=1 https://${passphrase}github.com/rmeloca/petclinic-developers.git petclinic
+git clone --depth=1 https://${passphrase}github.com/rmeloca/shopizer-developers.git shopizer
+git clone --depth=1 https://${passphrase}github.com/rmeloca/thingsboard-developers.git thingsboard
cd ..
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
-git clone --depth=1 https://github.com/rmeloca/fitnesse-aplcache.git fitnesse
-git clone --depth=1 https://github.com/rmeloca/keycloak-aplcache.git keycloak
-git clone --depth=1 https://github.com/rmeloca/killbill-aplcache.git killbill
-git clone --depth=1 https://github.com/rmeloca/mycollab-aplcache.git mycollab
-git clone --depth=1 https://github.com/rmeloca/petclinic-aplcache.git petclinic
-git clone --depth=1 https://github.com/rmeloca/shopizer-aplcache.git shopizer
-git clone --depth=1 https://github.com/rmeloca/thingsboard-aplcache.git thingsboard
+git clone --depth=1 https://${passphrase}github.com/rmeloca/azkaban-aplcache.git azkaban
+git clone --depth=1 https://${passphrase}github.com/rmeloca/cloudstore-aplcache.git cloudstore
+git clone --depth=1 https://${passphrase}github.com/rmeloca/fitnesse-aplcache.git fitnesse
+git clone --depth=1 https://${passphrase}github.com/rmeloca/keycloak-aplcache.git keycloak
+git clone --depth=1 https://${passphrase}github.com/rmeloca/killbill-aplcache.git killbill
+git clone --depth=1 https://${passphrase}github.com/rmeloca/mycollab-aplcache.git mycollab
+git clone --depth=1 https://${passphrase}github.com/rmeloca/petclinic-aplcache.git petclinic
+git clone --depth=1 https://${passphrase}github.com/rmeloca/shopizer-aplcache.git shopizer
+git clone --depth=1 https://${passphrase}github.com/rmeloca/thingsboard-aplcache.git thingsboard
cd ..
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
-git clone --depth=1 https://github.com/rmeloca/fitnesse-memoizeit.git fitnesse
-git clone --depth=1 https://github.com/rmeloca/keycloak-memoizeit.git keycloak
-git clone --depth=1 https://github.com/rmeloca/killbill-memoizeit.git killbill
-git clone --depth=1 https://github.com/rmeloca/mycollab-memoizeit.git mycollab
-git clone --depth=1 https://github.com/rmeloca/petclinic-memoizeit.git petclinic
-git clone --depth=1 https://github.com/rmeloca/shopizer-memoizeit.git shopizer
-git clone --depth=1 https://github.com/rmeloca/thingsboard-memoizeit.git thingsboard
+git clone --depth=1 https://${passphrase}github.com/rmeloca/azkaban-memoizeit.git azkaban
+git clone --depth=1 https://${passphrase}github.com/rmeloca/cloudstore-memoizeit.git cloudstore
+git clone --depth=1 https://${passphrase}github.com/rmeloca/fitnesse-memoizeit.git fitnesse
+git clone --depth=1 https://${passphrase}github.com/rmeloca/keycloak-memoizeit.git keycloak
+git clone --depth=1 https://${passphrase}github.com/rmeloca/killbill-memoizeit.git killbill
+git clone --depth=1 https://${passphrase}github.com/rmeloca/mycollab-memoizeit.git mycollab
+git clone --depth=1 https://${passphrase}github.com/rmeloca/petclinic-memoizeit.git petclinic
+git clone --depth=1 https://${passphrase}github.com/rmeloca/shopizer-memoizeit.git shopizer
+git clone --depth=1 https://${passphrase}github.com/rmeloca/thingsboard-memoizeit.git thingsboard
cd ..
approaches/configure 12(+10 -2)
diff --git a/approaches/configure b/approaches/configure
index 8fec23e..eadad51 100755
--- a/approaches/configure
+++ b/approaches/configure
@@ -1,4 +1,12 @@
#!/bin/bash
-git clone --depth=1 https://github.com/rmeloca/APLCache.git
-git clone --depth=1 https://github.com/rmeloca/MemoizeIt.git
\ No newline at end of file
+passphrase=""
+if [[ ! -z $1 ]]; then
+ passphrase=$1@
+ if [[ ! -z $2 ]]; then
+ passphrase=$1:$2@
+ fi
+fi
+
+git clone --depth=1 https://${passphrase}github.com/rmeloca/APLCache.git
+git clone --depth=1 https://${passphrase}github.com/rmeloca/MemoizeIt.git
\ No newline at end of file
configure 6(+3 -3)
diff --git a/configure b/configure
index 02ed6aa..6bd932f 100755
--- a/configure
+++ b/configure
@@ -33,7 +33,7 @@ if [ ! -z $1 ]; then
chmod +x /usr/local/bin/docker-compose
fi
-cd adapters; bash configure cd ..
-cd approaches; bash configure cd ..
-cd applications; bash configure cd ..
+cd adapters; bash configure $1 $2 cd ..
+cd approaches; bash configure $1 $2 cd ..
+cd applications; bash configure $1 $2 cd ..
wait
\ No newline at end of file