Commit ef66e4e0 authored by Xavier Perseguers's avatar Xavier Perseguers
Browse files

[TASK] Some speed enhancements while packaging

Change-Id: I6294c674a06662157fe4be526b82dfe1e280a4f0
Reviewed-on: http://review.typo3.org/42090

Reviewed-by: Xavier Perseguers's avatarXavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers's avatarXavier Perseguers <xavier@typo3.org>
parent 00cb8db4
......@@ -19,11 +19,7 @@ cd $(dirname $0)
for EXTNAME in $EXTENSIONS; do
validProjectName ${EXT_PREFIX}.${EXTNAME} || exit 1
echo "Packaging $EXTNAME"
echo -n " updating statistics ... "
${POOTLE_MANAGE} refresh_stats --project="$EXT_PREFIX.$EXTNAME" >/dev/null 2>&1
echo "done."
echo "Packaging $EXTNAME / $(date +'%d.%m.%Y %H:%M:%S')"
pushd ${POOTLE_PO}/$EXT_PREFIX.$EXTNAME >/dev/null
rm -rf ${TER_L10N_PATH}/_$EXTNAME
......@@ -166,4 +162,6 @@ for EXTNAME in $EXTENSIONS; do
rm -rf ${TER_L10N_PATH}/_$EXTNAME
popd >/dev/null
echo "[DONE] Packaging $EXTNAME / $(date +'%d.%m.%Y %H:%M:%S')"
done
......@@ -19,11 +19,7 @@ cd $(dirname $0)
for EXTNAME in $EXTENSIONS; do
validProjectName ${EXT_PREFIX}.${EXTNAME} || exit 1
echo "Packaging $EXTNAME"
echo -n " updating statistics ... "
${POOTLE_MANAGE} refresh_stats --project="$EXT_PREFIX.$EXTNAME" >/dev/null 2>&1
echo "done."
echo "Packaging $EXTNAME / $(date +'%d.%m.%Y %H:%M:%S')"
pushd ${POOTLE_PO}/$EXT_PREFIX.$EXTNAME >/dev/null
......@@ -33,9 +29,9 @@ for EXTNAME in $EXTENSIONS; do
mkdir -p $STATE_DIR/$EXT_PREFIX.$EXTNAME
for VERSION in $(find .typo3 -name \*.filemapping | sed -r 's/^.*TYPO3(v.)\.filemapping/\1/'); do
echo " ----------------------"
echo " Processsing TYPO3 ${VERSION}.x"
echo " ----------------------"
echo " -------------------------------------------"
echo " Processing TYPO3 ${VERSION}.x / $(date +'%d.%m.%Y %H:%M:%S')"
echo " -------------------------------------------"
rm -rf ${TER_L10N_PATH}/_$EXTNAME
UPDATED_PACKAGES=0
......@@ -232,4 +228,6 @@ EOT
done
popd >/dev/null
echo "[DONE] Packaging $EXTNAME / $(date +'%d.%m.%Y %H:%M:%S')"
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment