Repository navigation
Commit c2ba5e3
committed
mirror: convert CRLite v3 filters to v4
It's going to be some time (at least one ESR cycle) before the upstream
Mozilla clubcard data in the default channel is encoded in v4 format. To
aid ecosystem convergence on v4, re-encode the legacy filters before
mirroring them.
Repeated mirror runs should produce the same hashes for the same content,
including when converting v3 to v4, so sort the coverage entries during
conversion.
Lastly, the existing CI mirror job maintains the legacy data and
manifest format at the mirror root for clients that don't support v4.
A new `--encoding` flag lets CI explicitly request the older v3 encoding
for this part of the mirror.1 parent 6f839ef commit c2ba5e3
4 files changed
Lines changed: 317 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
0 commit comments