LIST="${LIST}
pizzaservice-lib pizzaservice pizzaservice-swing pizzaservice-war \
jjobs-lib jjobs-mailer jjobs-ejb jjobs jjobs-war \
+ jratecalc-lib jratecalc-mailer jratecalc-ejb jratecalc jratecalc-war \
addressbook-lib addressbook-mailer addressbook-ejb addressbook addressbook-war addressbook-uml"
# Tools repository
MEDIA_PATH="Java Project"
for project in ${LIST}; do
+ echo "$0: project='${project}'"
+ SKIP_TEST="${project:0,9}"
+
+ if [ "${SKIP_TEST}" = "jratecalc" ]
+ then
+ echo "$0: Not fixing URLs for jratecalc project '${project}'."
+ continue
+ fi
+
GIT_URL1="${GIT_USER}@${GIT_SERVER}:${GIT_PATH}/${project}.git"
GIT_URL2="${GIT_PATH}/${project}.git"
GIT_URL3="${MEDIA_BASE}/${USER}/${MEDIA_NAME2}/${MEDIA_PATH}/${project}.git"
fi
echo "$0: Pulling '${ENTRY}' ..."
- git pull || exit 255
+ git pull transport master || exit 255
echo "$0: Rebasing '${ENTRY}' ..."
git rebase origin/master || exit 255
cd -
exit 0
fi
-for ENTRY in ${LIST}; do
- echo "$0: Pushing '${ENTRY}' ..."
- cd "${JPROJECTS_HOME}/${ENTRY}" || exit 255
+for project in ${LIST}; do
+ echo "$0: Pushing '${project}' ..."
+ cd "${JPROJECTS_HOME}/${project}" || exit 255
+
+ SKIP_TEST="${project:0,9}"
if [ -z "$2" ]
then
git push --all
fi
+ if [ "${SKIP_TEST}" = "jratecalc" ]
+ then
+ echo "$0: Not continuing for jratecalc project '${project}'."
+ continue
+ fi
+
if [ "$1" = "d" ]
then
git push --all daedalus