(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:
@@ -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
|
||||
7
Scripts/.local/scripts/repo_create
Executable file
7
Scripts/.local/scripts/repo_create
Executable 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
|
||||
3
Scripts/.local/scripts/repo_desc_get
Executable file
3
Scripts/.local/scripts/repo_desc_get
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
ssh git@git.aryadevchavali.com "cd /git/$1.git; git config gitweb.description";
|
||||
3
Scripts/.local/scripts/repo_desc_set
Executable file
3
Scripts/.local/scripts/repo_desc_set
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
ssh git@git.aryadevchavali.com "cd /git/$1.git; git config gitweb.description \"$2\"";
|
||||
Reference in New Issue
Block a user