Closed clecat closed 1 year ago
The names I have chosen for my modifications, raw_payload
and of_bin_string_unsafe
, might not be the most appropriate and I simply didn't come with something better, please feel free to give any suggestions about them
Now way cleaner, I removed the code duplication and used instead the version with the checksum, the only thing avoided is the upgrade to the latest version (since we do not want it).
I also merged irmin-tezos-utils
& irmin-pack-tools
.
While waiting for the classification of the Volume, the tool will ask for an argument (either Upper or Volume).
Merging #2197 (2c91dcc) into main (84dcea5) will decrease coverage by
0.03%
. The diff coverage is18.18%
.:exclamation: Current head 2c91dcc differs from pull request most recent head da17778. Consider uploading reports for the commit da17778 to get more accurate results
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@ Coverage Diff @@
## main #2197 +/- ##
==========================================
- Coverage 68.14% 68.11% -0.03%
==========================================
Files 135 135
Lines 16294 16305 +11
==========================================
+ Hits 11103 11106 +3
- Misses 5191 5199 +8
Impacted Files | Coverage Δ | |
---|---|---|
src/irmin-pack/unix/control_file.ml | 87.80% <0.00%> (-3.73%) |
:arrow_down: |
src/irmin-pack/unix/control_file_intf.ml | 82.14% <33.33%> (-13.32%) |
:arrow_down: |
src/irmin-fs/unix/irmin_fs_unix.ml | 68.38% <0.00%> (+0.64%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
This PR is meant to give a tool for an easy reading of the control file. It contains:
irmin-pack-utils
package for irmin-pack related tools.irmin-ppcf
which prints the content of a given control file in a json format (which can then be pretty printed with tools likejq
).irmin-ppcf
: Because it is meant to be a debugging tool, we want to avoid most of the unnecessary computations/computations which would fail on a corrupted control file; for now, the checksum verification and the auto-upgrade to the latest version of the control file.