Revision 9816
Added by Aaron Marcuse-Kubitza over 11 years ago
inputs/GBIF/table.run | ||
---|---|---|
12 | 12 |
table.tsv.gz/upload() |
13 | 13 |
{ |
14 | 14 |
echo_func; set_make_vars |
15 |
live=1 overwrite=1 inplace=1 sync_upload "$target" |
|
16 |
# overwrite=1 because the mtime of an aborted inplace upload is newer |
|
15 |
live=1 sync_upload "$target" |
|
17 | 16 |
} |
18 | 17 |
|
19 | 18 |
table.tsv.gz/make() |
Also available in: Unified diff
bugfix: inputs/GBIF/table.run: table.tsv.gz/upload(): don't use inplace mode because it leaves a newer mtime when aborted, causing rsync to think that the partial upload is actually newer than the source. note that rsync's --partial-dir mode is just as capable of resuming an aborted upload (it will just use a file in .rsync-tmp instead). inplace mode is primarily designed for fixed-offset files which don't change much between edits, but this is not true for exports (or the gzips of them), which will change the file offsets of most data if even one row or column is added or removed.