From: Pierre Choffet Date: Tue, 25 May 2021 22:12:31 +0000 (-0400) Subject: Rewrite almanach merge logic X-Git-Url: https://git.wikimedia.ca/?p=eccc_to_commons.git;a=commitdiff_plain;h=HEAD Rewrite almanach merge logic Partial input/merge files use was flawed: missing days were triggering errors. Some traps were added to make sure we won't generate files with unexpected corner cases. --- diff --git a/eccc_merger_almanach.xslt b/eccc_merger_almanach.xslt index 38db64e..0f70b05 100644 --- a/eccc_merger_almanach.xslt +++ b/eccc_merger_almanach.xslt @@ -91,17 +91,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -113,17 +125,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -135,17 +159,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -157,17 +193,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -179,37 +227,43 @@ - + + - + + - + + - - 1 - + + - + + - - + + + 1 + + - Trapping case not supposed to happend. + Trapping case not supposed to happen. @@ -221,17 +275,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -243,17 +309,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -265,17 +343,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -287,17 +377,29 @@ - + + - + + + + + + + + Trapping case not supposed to happen. @@ -309,37 +411,43 @@ - + + - + + - + + - - 1 - + + - + + - - + + + 1 + + - Trapping case not supposed to happend. + Trapping case not supposed to happen.