Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3752801
D2543.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
491 B
Referenced Files
None
Subscribers
None
D2543.diff
View Options
diff --git a/_utils/repo/setup.sh b/_utils/repo/setup.sh
new file mode 100755
--- /dev/null
+++ b/_utils/repo/setup.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+REPOSITORIES_HOST="${REPOSITORIES_HOST:-ssh://vcs@devcentral.nasqueron.org:5022/source}"
+
+###
+### Remotes to manyrepo
+###
+
+REPOS=$(find . -maxdepth 1 -type d | grep -v vendor | sed 's_./__' | grep -e '^[a-z].*')
+
+for repo in $REPOS; do
+ git remote | grep -qe "^$repo$" || git remote add "$repo" "$REPOSITORIES_HOST/$repo"
+done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 21:31 (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251255
Default Alt Text
D2543.diff (491 B)
Attached To
Mode
D2543: Allow to setup the reository remotes
Attached
Detach File
Event Timeline
Log In to Comment