From c791510f06c5310f4e0cc720a495c7465816cf2f Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Mon, 8 Sep 2014 16:27:32 +0200 Subject: [PATCH] add sec/ --- .gitmodules | 6 ++++++ lib/tool/git/remote/gpg | 1 + sec | 1 + update | 18 ++++++++++++++++++ 4 files changed, 26 insertions(+) create mode 160000 lib/tool/git/remote/gpg create mode 160000 sec create mode 100755 update diff --git a/.gitmodules b/.gitmodules index 3b38f6c..9d13031 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 index 0000000..d63b8db --- /dev/null +++ b/lib/tool/git/remote/gpg @@ -0,0 +1 @@ +Subproject commit d63b8db2feb65f56b706478faba869d55a6c9735 diff --git a/sec b/sec new file mode 160000 index 0000000..2ae82b0 --- /dev/null +++ b/sec @@ -0,0 +1 @@ +Subproject commit 2ae82b01eddb201e25ab8a3d08a4d00da8b44364 diff --git a/update b/update new file mode 100755 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 -- 2.20.1