Index: branches/ariel/xmldumps-backup/worker.py |
— | — | @@ -296,6 +296,13 @@ |
297 | 297 | "All pages with complete page edit history (.bz2)", |
298 | 298 | "These dumps can be *very* large, uncompressing up to 20 times the archive download size. " + |
299 | 299 | "Suitable for archival and statistical use, most mirror sites won't want or need this.", self._prefetch, self._spawn, self.chunkInfo.getPagesPerChunkHistory())) |
| 300 | + if (self.chunkInfo.chunksEnabled()): |
| 301 | + self.dumpItems.append( |
| 302 | + RecombineXmlDump("meta-history", |
| 303 | + "metahistorybz2dumprecombine", |
| 304 | + "Recombine all pages with complete edit history (.bz2)", |
| 305 | + "These dumps can be *very* large, uncompressing up to 100 times the archive download size. " + |
| 306 | + "Suitable for archival and statistical use, most mirror sites won't want or need this.", self.chunkInfo.getPagesPerChunkHistory())) |
300 | 307 | self.dumpItems.append( |
301 | 308 | XmlRecompressDump("meta-history", |
302 | 309 | "metahistory7zdump", |
— | — | @@ -446,6 +453,9 @@ |
447 | 454 | if (job == "metahistory7zdumprecombine"): |
448 | 455 | if (not self.jobDoneSuccessfully("metahistory7zdump")): |
449 | 456 | return False |
| 457 | + if (job == "metahistorybz2dumprecombine"): |
| 458 | + if (not self.jobDoneSuccessfully("metahistorybz2dump")): |
| 459 | + return False |
450 | 460 | if (job == "metahistory7zdump"): |
451 | 461 | if (not self.jobDoneSuccessfully("xmlstubsdump") or not self.jobDoneSuccessfully("metahistorybz2dump")): |
452 | 462 | return False |