You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/03/20 15:00:29 UTC

[sling-tooling-scm] 20/35: SLING-3987 - move from Subversion to Git

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-scm.git

commit 2f7c95e5aacb61debe5dbfc8285a6813288660d7
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sun Oct 8 20:24:36 2017 +0000

    SLING-3987 - move from Subversion to Git
    
    Correct script to create gitbox repo.
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1811504 13f79535-47bb-0310-9956-ffa450edef68
---
 scripts/create-gitbox-repo.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/create-gitbox-repo.sh b/scripts/create-gitbox-repo.sh
index 4cdc253..fee0369 100755
--- a/scripts/create-gitbox-repo.sh
+++ b/scripts/create-gitbox-repo.sh
@@ -6,7 +6,7 @@ if [ $# -ne 2 ]; then
     exit 1
 fi
 
-repo_name=$1
+repo_name=${1#sling-}
 repo_desc=$2
 
 # will fail if wrong credentials are passed
@@ -17,5 +17,5 @@ if [ $status != "200" ]; then
     exit 2
 fi
 
-echo "curl --netrc --data=\"action=create&pmc=sling&name=${repo_name}&description=${repo_desc}&notify=commits@sling.apache.org&ghnotify=dev@sling.apache.org&ispodling=false\" https://gitbox.apache.org/setup/newrepo.cgi"
+curl --netrc --data "action=create&pmc=sling&name=${repo_name}&description=${repo_desc}&notify=commits@sling.apache.org&ghnotify=dev@sling.apache.org" https://gitbox.apache.org/setup/newrepo.cgi