[ooo-build-commit] .: Branch 'tinderbox' - bin/decode_tin_attach_filter.pl bin/tinderupdate.sh lib/TinderDB
Jan Holesovsky
kendy at kemper.freedesktop.org
Thu Aug 19 04:17:51 PDT 2010
bin/decode_tin_attach_filter.pl | 2 +-
bin/tinderupdate.sh | 2 ++
lib/TinderDB/VC_OOo.pm | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 3ce01657eff76af362bbbd77cd98c201686e0e09
Author: Christian Lohmaier <cloph at openoffice.org>
Date: Thu Aug 19 13:11:08 2010 +0200
Force update of hg-id to accelerate update of next diff.
diff --git a/bin/decode_tin_attach_filter.pl b/bin/decode_tin_attach_filter.pl
index a7584f6..c67986b 100755
--- a/bin/decode_tin_attach_filter.pl
+++ b/bin/decode_tin_attach_filter.pl
@@ -9,7 +9,7 @@ binmode STDIN, ":encoding(utf8)";
binmode STDOUT, ":encoding(utf8)";
my $parser = new MIME::Parser;
-$parser->output_under("$ENV{HOME}/tmp/mimemail");
+$parser->output_under("/tmp/mimemail");
### Parse input:
my $entity = $parser->parse(\*STDIN) or die "parse failed $!\n";
diff --git a/bin/tinderupdate.sh b/bin/tinderupdate.sh
index 4272a6a..c380131 100755
--- a/bin/tinderupdate.sh
+++ b/bin/tinderupdate.sh
@@ -5,6 +5,8 @@ TINDERBOX_WWW=/srv/www/tinderbox.go-oo.org
TINDERBOX_LOG=/var/log/tinderbox/tinderbox2.log
cd /srv/tinderbox
+# disable cronjob without removing cronjob entry
+#exit 0
echo starting update at $(date -u) >> $TINDERBOX_LOG
# update the tag-lists
diff --git a/lib/TinderDB/VC_OOo.pm b/lib/TinderDB/VC_OOo.pm
index 4e158d6..af20ca2 100644
--- a/lib/TinderDB/VC_OOo.pm
+++ b/lib/TinderDB/VC_OOo.pm
@@ -658,6 +658,8 @@ sub apply_db_updates {
my $old_id = 0;
$old_id = $METADATA{$tree}{'last_id'} if defined($METADATA{$tree}{'last_id'});
+ # force update of hg-id to accelerate update of next diff, no matter whether there are checkins or not
+ $num_updates++ if("$old_id" eq "0");
# date|hgdate|user â only unixtimestamp, no timezone offset
# using seperate file_* directives is slower than just using files, but since it's local...
my $template = "'{node|short}".$sep.'{date|hgdate|user}'.$sep.'{author|user}'.$sep.'{desc|escape|addbreaks}'.$sep.'{file_adds}'.$sep.'{file_dels}'.$sep.'{file_mods}'.$record_sep."'";
More information about the ooo-build-commit
mailing list