UPdate script
authorFOSDEM Stands Team <stands@fosdem.org>
Mon, 1 Feb 2021 20:01:36 +0000 (20:01 +0000)
committerFOSDEM Stands Team <stands@fosdem.org>
Mon, 1 Feb 2021 20:01:36 +0000 (20:01 +0000)
content/stands/kiwi_tcms
content/stands/mariadb_foundation
content/stands/mautic
content/stands/mit_app_inventor
content/stands/ntop
content/stands/ow2_open_source_community
content/stands/pharo
content/stands/sesame_discovery
content/stands/thola___nesi
content/stands/xwiki___cryptpad
scripts/update.sh

index 529ca406a33b4f2845fe1d783ae2aeea035f446b..ab04eaea4c1436a7acf8daa4e74642be88f05e25 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 529ca406a33b4f2845fe1d783ae2aeea035f446b
+Subproject commit ab04eaea4c1436a7acf8daa4e74642be88f05e25
index 318fc48efd4d1cb21c1b5e797374dad61a724401..5a901084ca3da2dda7e102ca6b094fe2e25f1788 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 318fc48efd4d1cb21c1b5e797374dad61a724401
+Subproject commit 5a901084ca3da2dda7e102ca6b094fe2e25f1788
index 5c691a3916c6d829597571f8861e40ee3ca78570..8dc74e6be9c843a8b378a8562e38c75f56e9e122 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 5c691a3916c6d829597571f8861e40ee3ca78570
+Subproject commit 8dc74e6be9c843a8b378a8562e38c75f56e9e122
index cf86b36bcb249aa7f1e2a139feaaec6e4e4489b1..7d7e7236733cb204b631f21d996fbd66b6162361 160000 (submodule)
@@ -1 +1 @@
-Subproject commit cf86b36bcb249aa7f1e2a139feaaec6e4e4489b1
+Subproject commit 7d7e7236733cb204b631f21d996fbd66b6162361
index 8af4dac881dd587b4e750d92d4adf9c7c7d67106..b8e3d045dcd6f535fb1a1ec32a2a819bba787f5c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8af4dac881dd587b4e750d92d4adf9c7c7d67106
+Subproject commit b8e3d045dcd6f535fb1a1ec32a2a819bba787f5c
index 2d987330f9dd013ab34f31d13f39081d54055429..13f7ebbfa3107e4b3ad67e6a8d08a373b8dd588f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 2d987330f9dd013ab34f31d13f39081d54055429
+Subproject commit 13f7ebbfa3107e4b3ad67e6a8d08a373b8dd588f
index 3a2612c1e3deb44befcbfe288ba876a7ec3cfaac..7dfe5a9049fce10b47bc4deedab441f188d5020a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 3a2612c1e3deb44befcbfe288ba876a7ec3cfaac
+Subproject commit 7dfe5a9049fce10b47bc4deedab441f188d5020a
index 9c061cec03582bf813ed5d87b943d9ca18ead633..4240e3be39c568b4d3efaf6aecb997d83573a2e9 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 9c061cec03582bf813ed5d87b943d9ca18ead633
+Subproject commit 4240e3be39c568b4d3efaf6aecb997d83573a2e9
index 03ac9205b2b5e83aa951bd2fe14a2f743822690d..8da929a9b18a536b1f06c54b72bf3dde0863dc02 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 03ac9205b2b5e83aa951bd2fe14a2f743822690d
+Subproject commit 8da929a9b18a536b1f06c54b72bf3dde0863dc02
index 9dd922996b77d07d7e8f3d519cc48e179e139caa..fd78b208374f7322dc738059b4849877fcc6a1a8 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 9dd922996b77d07d7e8f3d519cc48e179e139caa
+Subproject commit fd78b208374f7322dc738059b4849877fcc6a1a8
index c2e1aa2241e31a9167e06ea617e49f2b680c1b55..726160f78b299686b360b55b6cceab7ed6a44178 100755 (executable)
@@ -1,13 +1,31 @@
 #!/bin/bash
 
-cd /var/opt/app/fosdem_submission/html/stands-website
+parent="/var/opt/app/fosdem_submission/html/stands-website"
+
+cd "$parent"
 
 git pull origin master
 
-git submodule init
-git submodule update
+#git submodule init
+#git submodule update
+
+#git pull --recurse-submodules
+
+
+for d in $(find content/stands -maxdepth 1 -type d); do
+
+       basename=$(basename "$d")
+       if [ "$basename" != "stands" ]; then
+               cd "$d"
+               git branch > /dev/null
+               echo "$d"
+               if [ "$?" == "0" ]; then
+                       git pull origin $(git branch | tail -1 | sed 's/*//' | awk '{print $1}')
+               fi
+               cd "$parent"
+       fi
 
-git pull --recurse-submodules
+done
 
 hugo