The changeset comments temporary should be cleaned too.
authorMatt Amos <zerebubuth@gmail.com>
Thu, 11 Jun 2015 17:38:45 +0000 (18:38 +0100)
committerMatt Amos <zerebubuth@gmail.com>
Thu, 11 Jun 2015 17:38:45 +0000 (18:38 +0100)
This is the cause of, and fixes zerebubuth/planet-dump-ng#12 -
the temporary data for changeset comments dates from February.

I had thought that having the temporaries resumable would make
sense, but it seems that it's more confusing to have it keep old
data around like that...

cookbooks/planet/templates/default/planetdump.erb

index bea56372cc813349fb88f975fc38df23eafab21e..2cedcf4bb529225d60c337f9492e8d10a2477395 100644 (file)
@@ -60,7 +60,7 @@ cd /store/planetdump
 
 # Cleanup
 rm -rf users
-rm -rf changesets changeset_tags
+rm -rf changesets changeset_tags changeset_comments
 rm -rf nodes node_tags
 rm -rf ways way_tags way_nodes
 rm -rf relations relation_tags relation_members