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 26b65226dea62856c39381f0143f66e23714e211
Author: Robert Munteanu <[email protected]>
AuthorDate: Thu Oct 12 11:22:32 2017 +0000

    SLING-3987 - move from Subversion to Git
    
    - replace dots with dashes in repo names
    - remove stale TODO entries
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1811940 
13f79535-47bb-0310-9956-ffa450edef68
---
 scripts/migrate-to-git.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/migrate-to-git.sh b/scripts/migrate-to-git.sh
index cc6202b..a6d3e98 100755
--- a/scripts/migrate-to-git.sh
+++ b/scripts/migrate-to-git.sh
@@ -99,6 +99,9 @@ while read -r module; do
             *) echo "Unknown non-Maven module ${module}, unable to set 
description"; exit 1;;
         esac
     fi
+
+    # ASF infra does not permit dots in repository names
+    repo_name=${repo_name//./-}
     
     echo "---- Preparing to process $module_orig as $repo_name ---"
 
@@ -154,12 +157,10 @@ while read -r module; do
 
         echo "Creating GIT repository ..."
      
-        # TODO - create the repository using the ASF self-service tool
         ./tooling/scm/scripts/create-gitbox-repo.sh ${repo_name} 
"${short_desc}"
 
     else # -p
         pushd ${git_repo_location}/${repo_name}
-        # TODO - use the ASF remotes for the final run
         if [ $(git remote show | grep origin | wc -l) -eq 0 ]; then
             git remote add origin https://github.com/apache/${repo_name}.git
             git push -u origin master

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to