mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 13:21:59 +03:00
8b34cd374c
* Fix metadata copying * Introduce a new metadata field `agg_tiles_hash_after_apply` for diff files * Added a lot of new info and debug logging * Simplified Copying interface - not much value in having all the complex builder pattern here it seems, might as well use a simple object. ## Testing * Generate SQLite DBs in memory on the fly to validate just what we need * Use `insta` for validating DB content There is now a function `dump(connection) -> Vec<Entry>` to dump the content of the entire SQLite DB into text with `serde`. At many steps through the testing, the DB content is validated with the corresponding .snap file with `insta` crate (which makes this process mega-simple, including a simple way to "bless" (update) any changes). ## Discovered bugs * Seems like normalized files do not get copied properly - they contain extras that should be removed. |
||
---|---|---|
.. | ||
query-0a4540e8c33c71222a68ff5ecc1a167b406de9961ac3cc69649c6152a6d7a9b7.json | ||
query-4d952966a8d8a030d2467c0701a6e16068c9897dd25d0ebd32929db9960596b4.json | ||
query-5b298df51dccbf0d8a22433a99febc59c27dbf204d09a9c1fb0b3bf9aaad284b.json | ||
query-77b2f46851c4e991230ec6a5d33aaca18373bbdd548a8378ae7fbeed351b4b87.json | ||
query-85b46712c445679053e768cc98b22ea61633c21afb45d3d2b9aeec068d72cce0.json | ||
query-176e99c6945b0789119d0d21a99de564de47dde1d588f17e68ec58115ac73a39.json | ||
query-386a375cf65c3e5aef51deffc99d23bd852ba445c1058aed380fe83bed618c29.json | ||
query-428a035a55a07cbb9daac42c3ab05f2a7999788167f41c685af3ca6f5a1359f4.json | ||
query-809e89c3b223e28c6716d405e13ba30fbf018805fe9ca2acd2b2e225183d1f13.json | ||
query-7341bfc10beb4719811556a57ae8098085994c8fba93e0293359afd43079c50c.json | ||
query-60264fa07915878b3f7ba0067f48c3a379e96acbdf5fc52d14e29bc726fefab7.json | ||
query-748436831449877b242d6e167a2f8fe1b1e7b6fb87c4e04ad7406a2bbfd35bec.json | ||
query-c8ef3dc53f1f6fd80e266aab2bf007c66a1cc45bdfcdc38f93d6ba759125a9aa.json | ||
query-d6ac76a234c97d0dc1fc4331d8b2cd90903d5401f8f0956245e5163bedd23a4d.json | ||
query-f547ff198e3bb604550a3f191e4ad8c695c4c2350f294aefd210eccec603d905.json |