(Scripts>repo_*)~create_repo->repo_create,+repo description get/set

Better creating of repositories, repo_create now takes description for
second argument and new scripts to do it post creation as well.
This commit is contained in:
2023-07-14 02:26:24 +01:00
parent 450b048f8e
commit 8d0c5e3faa
4 changed files with 13 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
ssh git@git.aryadevchavali.com "cd /git/$1.git; git config gitweb.description";

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
ssh git@git.aryadevchavali.com "cd /git/$1.git; git config gitweb.description \"$2\"";