chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not crash if --upload-yarrg is specified but not --upload-pctb
[ypp-sc-tools.db-live.git]
/
yarrg
/
database-info-fetch
diff --git
a/yarrg/database-info-fetch
b/yarrg/database-info-fetch
index c56fda42e2d4f871fea5f256d46c6ad858657432..07577260a178a1cac2716bc3e5aef2ef9f06342b 100755
(executable)
--- a/
yarrg/database-info-fetch
+++ b/
yarrg/database-info-fetch
@@
-159,7
+159,7
@@
sub main__comparesources () {
sub { });
for_commods(sub {
my ($commod)= @_;
sub { });
for_commods(sub {
my ($commod)= @_;
- my $srcs= $commods{$commod};
+ my $srcs= $commods{$commod}
{Srcs}
;
compare_sources_one($srcs, "commodity $commod");
});
}
compare_sources_one($srcs, "commodity $commod");
});
}
@@
-168,7
+168,7
@@
sub main__island () {
my $ocean= get_ocean();
parse_info_clientside();
my $ocean= get_ocean();
parse_info_clientside();
- get_arches_islands_pctb($ocean);
+ get_arches_islands_pctb($ocean)
if $pctb
;
for_islands($ocean,
sub {
for_islands($ocean,
sub {
@@
-184,6
+184,15
@@
sub main__island () {
});
}
});
}
+sub main__timestamp () {
+ my %o;
+ $o{'requesttimestamp'}= '1';
+ my $respcontent= yarrgpostform($ua, \%o);
+ $respcontent =~ m/^OK ([1-9]\d{1,20})\./ or die "$respcontent ?";
+ print "$1\n";
+ exit(0);
+}
+
sub main__sunshinewidget () {
print <<END
Land {On land} {
sub main__sunshinewidget () {
print <<END
Land {On land} {