-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(clonerer): enable clonerer for production use
- Loading branch information
1 parent
a46075b
commit 9605347
Showing
1 changed file
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,15 @@ | |
let | ||
/* The 'clonerer' is a tool which clones git repos to specified locations and sets up additional git remotes for them. */ | ||
|
||
#gitBasePath = "/home/ruben/Developer/git"; | ||
gitBasePath = "/home/ruben/automated-developer/git"; | ||
gitBasePath = "/home/ruben/Developer/git"; | ||
bromanceDotfilesPath = "${gitBasePath}/BROMANCE-DOTFILES"; | ||
hackwerkReposPath = "${gitBasePath}/HACKWERK"; | ||
configFile = pkgs.writeText "clonerer-config.json" (builtins.toJSON [ | ||
{ | ||
name = "blog"; | ||
path = "${gitBasePath}"; | ||
origin = "[email protected]:rubenhoenle/rubenhoenle.github.io.git"; | ||
} | ||
{ | ||
name = "Matrix-MQTT-Bridge"; | ||
path = "${gitBasePath}"; | ||
|
@@ -69,7 +75,7 @@ let | |
{ | ||
/* golo300 dotfiles */ | ||
name = "golo300"; | ||
path = "${gitBasePath}/bromance-dotfiles"; | ||
path = "${bromanceDotfilesPath}"; | ||
origin = "[email protected]:rubenhoenle/golo300-dotfiles.git"; | ||
remotes = { | ||
upstream = "[email protected]:Golo300/dotfiles.git"; | ||
|
@@ -79,7 +85,7 @@ let | |
{ | ||
/* jgero dotfiles */ | ||
name = "jgero"; | ||
path = "${gitBasePath}/bromance-dotfiles"; | ||
path = "${bromanceDotfilesPath}"; | ||
origin = "[email protected]:rubenhoenle/jgero-dotfiles.git"; | ||
remotes = { | ||
upstream = "[email protected]:jgero/dotfiles.git"; | ||
|
@@ -89,7 +95,7 @@ let | |
{ | ||
/* mschwer dotfiles */ | ||
name = "mschwer"; | ||
path = "${gitBasePath}/bromance-dotfiles"; | ||
path = "${bromanceDotfilesPath}"; | ||
origin = "[email protected]:rubenhoenle/Markus-Schwer-dotfiles.git"; | ||
remotes = { | ||
upstream = "[email protected]:Markus-Schwer/dotfiles.git"; | ||
|
@@ -99,13 +105,33 @@ let | |
{ | ||
/* sezuisa dotfiles */ | ||
name = "sezuisa"; | ||
path = "${gitBasePath}/bromance-dotfiles"; | ||
path = "${bromanceDotfilesPath}"; | ||
origin = "[email protected]:rubenhoenle/sezuisa-dotfiles.git"; | ||
remotes = { | ||
upstream = "[email protected]:sezuisa/dotfiles.git"; | ||
ruben = "[email protected]:rubenhoenle/dotfiles.git"; | ||
}; | ||
} | ||
{ | ||
name = "space-notebooks"; | ||
path = "${hackwerkReposPath}"; | ||
origin = "[email protected]:sfz.aalen/infra/space-notebooks.git"; | ||
} | ||
{ | ||
name = "MirAAkunix"; | ||
path = "${hackwerkReposPath}"; | ||
origin = "[email protected]:sfz.aalen/infra/miraakunix.git"; | ||
} | ||
{ | ||
name = "dotinder"; | ||
path = "${hackwerkReposPath}"; | ||
origin = "[email protected]:sfz.aalen/hackwerk/dotinder.git"; | ||
} | ||
{ | ||
name = "hackwerk_homepage"; | ||
path = "${hackwerkReposPath}"; | ||
origin = "[email protected]:sfz.aalen/hackwerk/hackwerk_homepage.git"; | ||
} | ||
]); | ||
|
||
clonerer = pkgs.writeShellApplication { | ||
|