aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xScripts/.local/scripts/create_repo4
-rwxr-xr-xScripts/.local/scripts/repo_create7
-rwxr-xr-xScripts/.local/scripts/repo_desc_get3
-rwxr-xr-xScripts/.local/scripts/repo_desc_set3
4 files changed, 13 insertions, 4 deletions
diff --git a/Scripts/.local/scripts/create_repo b/Scripts/.local/scripts/create_repo
deleted file mode 100755
index 1191c4c..0000000
--- a/Scripts/.local/scripts/create_repo
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env sh
-
-ssh git@git.aryadevchavali.com "mkdir -p /git/$1.git; git init --bare /git/$1.git";
-git clone git@git.aryadevchavali.com:/git/$1
diff --git a/Scripts/.local/scripts/repo_create b/Scripts/.local/scripts/repo_create
new file mode 100755
index 0000000..325a2bf
--- /dev/null
+++ b/Scripts/.local/scripts/repo_create
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+ssh git@git.aryadevchavali.com "mkdir -p /git/$1.git; git init --bare /git/$1.git;
+cd /git/$1.git;
+git config gitweb.owner \"Aryadev Chavali <aryadev@aryadevchavali.com>\";
+git config gitweb.description \"$2\"";
+git clone git@git.aryadevchavali.com:/git/$1
diff --git a/Scripts/.local/scripts/repo_desc_get b/Scripts/.local/scripts/repo_desc_get
new file mode 100755
index 0000000..883c88b
--- /dev/null
+++ b/Scripts/.local/scripts/repo_desc_get
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+ssh git@git.aryadevchavali.com "cd /git/$1.git; git config gitweb.description";
diff --git a/Scripts/.local/scripts/repo_desc_set b/Scripts/.local/scripts/repo_desc_set
new file mode 100755
index 0000000..a33d836
--- /dev/null
+++ b/Scripts/.local/scripts/repo_desc_set
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+ssh git@git.aryadevchavali.com "cd /git/$1.git; git config gitweb.description \"$2\"";