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 7430bb490717c1046c8a640fb9f20849e3196677 Author: Robert Munteanu <[email protected]> AuthorDate: Wed Sep 20 15:17:24 2017 +0000 SLING-3987 - move from Subversion to Git Use artifactId as the repository name git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1809038 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 ad36e98..f606f8b 100755 --- a/scripts/migrate-to-git.sh +++ b/scripts/migrate-to-git.sh @@ -33,8 +33,9 @@ for module in $(./tooling/scm/scripts/gen-repo-candidates.sh); do module=${module#${prefix}} done - repo_name=${module//\//-} # slashes to dashes - repo_name="sling-${repo_name}" # add TLP prefix + artifactId=$(xmllint --xpath "/*[local-name()='project']/*[local-name()='artifactId']/text()" ${module_orig}/pom.xml) + + repo_name="sling-${artifactId}" # add TLP prefix echo "---- Preparing to migrate $module_orig to $repo_name ---" -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
