dot

packages and services management
Log | Files | Refs | README

commit 2bef5c9acd33487f1ca4e5dd02ad670b51e63f2d
parent 696b124c2a8713c5e8b18310b4b8a05d618673ce
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sat, 19 Aug 2017 11:48:45 +0200

setup.sh: clone bare repos
.ssh/config: added github.com keys

Diffstat:
Msetup.sh | 92++++++++++++++++++++++++++++++++++++++++---------------------------------------
Mssh/.ssh/config | 3+++
2 files changed, 50 insertions(+), 45 deletions(-)

diff --git a/setup.sh b/setup.sh @@ -1,46 +1,48 @@ -mkdir -p "$HOME/var/irc" # ii -mkdir -p "$HOME/var/tox" # ratox -mkdir -p "$HOME/var/log" # serve -mkdir -p "$HOME/var/torrent" # gbt -mkdir -p "$HOME/var/tmp" -mkdir -p "$HOME/var/cache" - -mkdir -p "$HOME/run" - -mkdir -p "$HOME/srv/git" -git clone git@github.com:josuah/alphabet.git "$HOME/srv/git" -git clone git@github.com:josuah/artisanat.git "$HOME/srv/git" -git clone git@github.com:josuah/cgr.git "$HOME/srv/git" -git clone git@github.com:josuah/drawille.git "$HOME/srv/git" -git clone git@github.com:josuah/fungus-vs-pathogen.git "$HOME/srv/git" -git clone git@github.com:josuah/http.git "$HOME/srv/git" -git clone git@github.com:josuah/hud.git "$HOME/srv/git" -git clone git@github.com:josuah/iode.git "$HOME/srv/git" -git clone git@github.com:josuah/iomenu.git "$HOME/srv/git" -git clone git@github.com:josuah/miniwi.git "$HOME/srv/git" -git clone git@github.com:josuah/notes.git "$HOME/srv/git" -git clone git@github.com:josuah/pkg.git "$HOME/srv/git" -git clone git@github.com:josuah/puissance-4.git "$HOME/srv/git" -git clone git@github.com:josuah/serve.git "$HOME/srv/git" -git clone git@github.com:josuah/shannon.git "$HOME/srv/git" - -git clone "$HOME/srv/http.git" "$HOME/srv/http" - -mkdir -p "$HOME/opt" - -mkdir -p "$HOME/src" -git clone "$HOME/srv/git/alphabet.git" "$HOME/src/alphabet" -git clone "$HOME/srv/git/build.git" "$HOME/src/build" -git clone "$HOME/srv/git/cgr.git" "$HOME/src/cgr" -git clone "$HOME/srv/git/drawille.git" "$HOME/src/drawille" -git clone "$HOME/srv/git/edna.git" "$HOME/src/edna" -git clone "$HOME/srv/git/iode.git" "$HOME/src/iode" -git clone "$HOME/srv/git/iomenu.git" "$HOME/src/iomenu" -git clone "$HOME/srv/git/miniwi.git" "$HOME/src/miniwi" -git clone "$HOME/srv/git/serve.git" "$HOME/src/serve" - -mkdir -p "$HOME/data/image" -mkdir -p "$HOME/data/music" -mkdir -p "$HOME/data/video" -git clone "$HOME/srv/git/notes.git" "$HOME/data/notes" +HOST=git@github.com:josuah + +mkdir -p "$HOME/var/irc" # ii +mkdir -p "$HOME/var/tox" # ratox +mkdir -p "$HOME/var/log" # serve +mkdir -p "$HOME/var/torrent" # gbt +mkdir -p "$HOME/var/tmp" +mkdir -p "$HOME/var/cache" + +mkdir -p "$HOME/run" + +mkdir -p "$HOME/srv/git" +git clone --bare $HOST/alphabet.git "$HOME/srv/git/alphabet.git" +git clone --bare $HOST/artisanat.git "$HOME/srv/git/artisanat.git" +git clone --bare $HOST/cgr.git "$HOME/srv/git/cgr.git" +git clone --bare $HOST/drawille.git "$HOME/srv/git/drawille.git" +git clone --bare $HOST/fungus-vs-pathogen.git "$HOME/srv/git/fungus-vs-pathogen.git" +git clone --bare $HOST/http.git "$HOME/srv/git/http.git" +git clone --bare $HOST/hud.git "$HOME/srv/git/hud.git" +git clone --bare $HOST/iode.git "$HOME/srv/git/iode.git" +git clone --bare $HOST/iomenu.git "$HOME/srv/git/iomenu.git" +git clone --bare $HOST/miniwi.git "$HOME/srv/git/miniwi.git" +git clone --bare $HOST/notes.git "$HOME/srv/git/notes.git" +git clone --bare $HOST/pkg.git "$HOME/srv/git/pkg.git" +git clone --bare $HOST/puissance-4.git "$HOME/srv/git/puissance-4.git" +git clone --bare $HOST/serve.git "$HOME/srv/git/serve.git" +git clone --bare $HOST/shannon.git "$HOME/srv/git/shannon.git" + +git clone "$HOME/srv/http.git" "$HOME/srv/http" + +mkdir -p "$HOME/opt" + +mkdir -p "$HOME/src" +git clone "$HOME/srv/git/alphabet.git" "$HOME/src/alphabet" +git clone "$HOME/srv/git/build.git" "$HOME/src/build" +git clone "$HOME/srv/git/cgr.git" "$HOME/src/cgr" +git clone "$HOME/srv/git/drawille.git" "$HOME/src/drawille" +git clone "$HOME/srv/git/edna.git" "$HOME/src/edna" +git clone "$HOME/srv/git/iode.git" "$HOME/src/iode" +git clone "$HOME/srv/git/iomenu.git" "$HOME/src/iomenu" +git clone "$HOME/srv/git/miniwi.git" "$HOME/src/miniwi" +git clone "$HOME/srv/git/serve.git" "$HOME/src/serve" + +mkdir -p "$HOME/data/image" +mkdir -p "$HOME/data/music" +mkdir -p "$HOME/data/video" +git clone "$HOME/srv/git/notes.git" "$HOME/data/notes" diff --git a/ssh/.ssh/config b/ssh/.ssh/config @@ -3,3 +3,6 @@ host git.nixers.net host repo.or.cz identityfile /mnt/ssh/repo.or.cz.key + +host github.com + identityfile /mnt/ssh/github.com.key