slsa-verifier
slsa-verifier copied to clipboard
Remove large files
I'm seeing some warnings when using the git command:
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File 278574a27b5008ce50cfe31c787cd00f0d7e6ea4 is 54.86 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
@asraa can we re-generate these test files to be smaller and purge the commit history?
git filter-branch --index-filter 'git rm --cached --ignore-unmatch -r *THE_FILE' branchname
seems to work to purge the history. (https://stackoverflow.com/questions/6490454/find-commits-that-modify-file-names-matching-a-pattern-in-a-git-repository)
I can take a look at this sometime soon -- now that we have a verifier e2e workflow it's easier for me to recreate test cases.
./cli/slsa-verifier/testdata/binary-linux-amd64-sharded
is what I'm seeing above 10M. This was a special case one. Was there other ones?