[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kde-common
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-10-16 12:11:03
Message-ID: 20041016121103.30DAB16D3A () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Add "date" calls to be able to better time each sub-process
M +14 -0 creatediff 1.123
--- kde-common/creatediff #1.122:1.123
@@ -14,9 +14,12 @@
VERBOSE1=yes
+TIMING1=yes
test -z "$VERBOSE" || VERBOSE1=yes
+test -z "$TIMING" || TIMING1=yes
update_translations() {
echo "@@@ Processing branch $tag ..."
+test -z "$TIMING1" || date
cd $HOME/prod
@@ -62,4 +65,5 @@
test -z "$VERBOSE1" || echo "finished updating"
+test -z "$TIMING1" || date
rm -f kde-i18n
@@ -183,4 +187,5 @@
if cd kde-i18n; then
test -z "$VERBOSE1" || echo "adding missing templates"
+ test -z "$TIMING1" || date
list=`find templates -name '*.pot'`
for i in $list; do
@@ -201,4 +206,5 @@
done
test -z "$VERBOSE1" || echo "reupdating kde-i18n/templates"
+test -z "$TIMING1" || date
cvs -q -z6 update -dP templates | egrep -v "^[MUP]"
for i in `find templates -name "*.pot" | grep -v templates/docs/| grep -v \
www.kde.org`; do basename $i; done | sort | uniq -d > template.names @@ -211,8 \
+217,12 @@ rm -fr kde-i18n.backup
test -z "$VERBOSE1" || echo "creating desktop file"
+test -z "$TIMING1" || date
make -f Makefile.am.in desktop
+### TODO: we would need to process the new desktop*.pot files to avoid that they are \
always committed test -z "$VERBOSE1" || echo "merging"
+test -z "$TIMING1" || date
make -f Makefile.am.in merge
test -z "$VERBOSE1" || echo "commiting new files"
+test -z "$TIMING1" || date
list=`perl $HOME/prod/kdesdk.HEAD/scripts/cvscheck | egrep '^[Mm]' | cut -f2 -d' '`
for i in $list; do
@@ -223,11 +233,15 @@
echo $list | xargs --no-run-if-empty -n20 cvs -q commit -m "CVS_SILENT made messages \
(.po file)" > /dev/null test -z "$VERBOSE1" || echo "applying desktop file \
translations" +test -z "$TIMING1" || date
make -f Makefile.am.in desktops
cd ..
fi
test -z "$VERBOSE1" || echo "commiting desktop files"
+test -z "$TIMING1" || date
for i in $releases; do
(cd $i && cvs -q -z6 commit -m "CVS_SILENT made messages (.desktop file)" > \
/dev/null) done
+echo "@@@ branch $tag processed!"
+test -z "$TIMING1" || date
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic