exiv2 icon indicating copy to clipboard operation
exiv2 copied to clipboard

Enable git LFS for storing binary files for testing

Open piponazo opened this issue 4 years ago • 1 comments

Currently there are few issues in which we could not progress due to the limitation of adding big files into the reposiroty (see #2042 and #930). I am experimenting with Git LFS which I think could be an interesting solution for being able to upload bigger test data files in our repository (This is useful when we need the original files and not the .exv with the extracted metadata).

I have been following the steps explained here, and it seems to work quite nicely!

At the moment I only tracked the .jpg files in the repository (with the command: git lfs track *.jpg). One can see the tracked files with: git lfs ls-file And aparently I could migrate the existing jpg files from normal git objects to LFS ones with git lfs migrate import --include="*.jpg"

It is the first time I work with git LFS so I would appreciate any feedback/suggestions with people with more experience in this topic. So far it looks easy to use.

Note: I had to update all the CI jobs needing to run the tests to indicate that the checkout action should use LFS.

piponazo avatar Mar 19 '22 14:03 piponazo

Codecov Report

Merging #2159 (b08aee4) into main (5d5354e) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2159   +/-   ##
=======================================
  Coverage   62.65%   62.65%           
=======================================
  Files          97       97           
  Lines       19721    19721           
  Branches     9710     9710           
=======================================
  Hits        12357    12357           
  Misses       5132     5132           
  Partials     2232     2232           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d5354e...b08aee4. Read the comment docs.

codecov[bot] avatar Mar 19 '22 14:03 codecov[bot]