add sec/
authorJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Mon, 8 Sep 2014 14:27:32 +0000 (16:27 +0200)
committerJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Mon, 8 Sep 2014 14:27:42 +0000 (16:27 +0200)
.gitmodules
lib/tool/git/remote/gpg [new submodule]
sec [new submodule]
update [new file with mode: 0755]

index 3b38f6c..9d13031 100644 (file)
@@ -1,3 +1,9 @@
 [submodule "lib/tool/admin"]
        path = lib/tool/admin
        url = git://git.autogeree.net/tool/admin
+[submodule "lib/tool/git/remote/gpg"]
+       path = lib/tool/git/remote/gpg
+       url = git://git.autogeree.net/tool/git/remote/gpg
+[submodule "sec"]
+       path = sec
+       url = gpg::rsync:ateliers.heureux-cyclage.org:/sec
diff --git a/lib/tool/git/remote/gpg b/lib/tool/git/remote/gpg
new file mode 160000 (submodule)
index 0000000..d63b8db
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit d63b8db2feb65f56b706478faba869d55a6c9735
diff --git a/sec b/sec
new file mode 160000 (submodule)
index 0000000..2ae82b0
--- /dev/null
+++ b/sec
@@ -0,0 +1 @@
+Subproject commit 2ae82b01eddb201e25ab8a3d08a4d00da8b44364
diff --git a/update b/update
new file mode 100755 (executable)
index 0000000..6eb575f
--- /dev/null
+++ b/update
@@ -0,0 +1,18 @@
+#!/bin/sh -eu
+# DESCRIPTION: update Git submodules
+# SYNTAX:
+
+# ACTION: initialize from ./
+       test -L "$0" && tool="$(readlink -e "$0")" || tool=$0
+       tool=$(readlink -e "${tool%/*}"/.)
+       root=$(readlink -e ${root-"${0%/*}"/.})
+# ACTION: update Git submodules
+       set -x
+       cd "$root"
+       git submodule update --init --recursive lib
+       PATH="$tool"/lib/tool/git/remote/gpg:"$PATH" \
+       GRG_keys="
+               @julm@heureux-cyclage.org,
+               @ludovic.chevalier@heureux-cyclage.org
+        " \
+       git submodule update --init --recursive sec