echo" -u <USERNAME> for git svn clone command e.g. luca.frosini"
echo" -g <GIT_REPOSITORY_DIRECTORY_NAME>"
echo" -a does not request to check the author file"
echo -e " -h = shows this help.\n"
echo -e " -h shows this help.\n"
}
whilegetopts":s:p:u:h:g:a" opt;do
whilegetopts":i:s:p:u:g:a:h" opt;do
case$opt in
i)INIT=true;;
s)SVN_URL=$OPTARG;;
@ -227,12 +227,11 @@ while getopts ":s:p:u:h:g:a" opt; do
u)USERNAME=$OPTARG;;
g)GIT_REPOSITORY_DIRECTORY_NAME=$OPTARG;;
a)AUTHORS_OK=true;;
h) showhelp
exit0;;
\?)echo -e "\nERROR:invalid option: -$OPTARG";
showhelp;
echo -e "\naborting.\n"
exit1 >&2;;
h) showhelp;
exit;;
?)echo -e "\nERROR:invalid option: -$OPTARG";
showhelp;
exit1 >&2;;
esac
done
@ -313,4 +312,4 @@ rm -rf $MIGRATION_DIRECTORY
echo"Well Done"
echo"Please configure the Jenkins Building system for your project at https://jenkins.d4science.org/ See how to do it at https://wiki.gcube-system.org/gcube/Jenkins_Projects_(aka_Jobs)"
echo"Please Add Webhhoks on Gitea at https://code-repo.d4science.org/gCubeSystem/${GIT_REPOSITORY_DIRECTORY_NAME} See hot to do it at https://wiki.gcube-system.org/gcube/Gitea/Jenkins:_Setting_up_Webhooks#Webhook_on_the_Gitea_repository"
echo"Please Add Webhhoks on Gitea at https://code-repo.d4science.org/gCubeSystem/${GIT_REPOSITORY_DIRECTORY_NAME} See how to do it at https://wiki.gcube-system.org/gcube/Gitea/Jenkins:_Setting_up_Webhooks#Webhook_on_the_Gitea_repository"