Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-30 | fix symlink tests for windows | n-peugnet | |
ye olde filepath.Separator | |||
2021-09-30 | properly manage relative symlinks will CI pass ?? | n-peugnet | |
2021-09-29 | okay EvalSymlinks() should be what we want instead of Clean() | n-peugnet | |
2021-09-29 | ok this should do the trick for macos symlink test | n-peugnet | |
fingerscrossed | |||
2021-09-29 | this time symlink test should be fixed for macos | n-peugnet | |
2021-09-29 | echo actual logger output in symlink test | n-peugnet | |
2021-09-29 | catch all symlink test errors | n-peugnet | |
2021-09-29 | add debug print for symlink test | n-peugnet | |
2021-09-29 | try to fix symlink tests for MacOS | n-peugnet | |
2021-09-29 | support symlinks if it is internal to source | n-peugnet | |
adapt tests | |||
2021-09-29 | move old funcs to repo_test and add roundtrip test | n-peugnet | |
2021-09-24 | fix symlink tests on windows | n-peugnet | |
split into symlink and NotReadable tests and do not build nowindows_test on windows. | |||
2021-09-23 | Testing with Fdelta as the differ | n-peugnet | |
2021-09-23 | better error handling and start checking symlinks | n-peugnet | |
2021-09-23 | better tests (util/io subtests + check log output) | n-peugnet | |
2021-09-22 | fix mystical bug by making multiple passes | n-peugnet | |
We make ne passes while new blocks have been added. This way we are assured that the result will be the same on following runs. result : 161 /tmp/test-1/00001/recipe 161 /tmp/test-1/00001/files 0 /tmp/test-1/00001/hashes 40 /tmp/test-1/00001/chunks 482 /tmp/test-1/00001 9904052 /tmp/test-1/00000/recipe 5377304 /tmp/test-1/00000/files 2061331 /tmp/test-1/00000/hashes 207958371 /tmp/test-1/00000/chunks 225301178 /tmp/test-1/00000 225301740 /tmp/test-1 | |||
2021-09-21 | store file listing incrementally | n-peugnet | |
2021-09-21 | store recipes incrementally | n-peugnet | |
2021-09-21 | export asserts into a package | n-peugnet | |
2021-09-21 | Use assertSame instead of assertSlice | n-peugnet | |
2021-09-20 | add test for load hashes and storageWorker | n-peugnet | |
2021-09-20 | remove errored files from fileList | n-peugnet | |
and add tests with non existing link | |||
2021-09-20 | store fileList compressed | n-peugnet | |
for now using zlib on a 556Mo dir: files: 1469447 o -> 207289 o size divided by 7 | |||
2021-09-15 | add storeWorker and use it to store chunk content and hashes | n-peugnet | |
2021-09-14 | add load/store sketches+fingerprints & store them | n-peugnet | |
Fix corresponding Commit tests by adding sketches and fingerprints files in repo_8k and repo_8k_zlib. Also enhance CommitTests by checking recipe files | |||
2021-09-14 | logger add panic + colors & remove ln variants & use it | n-peugnet | |
2021-09-13 | fix loadChunks by using cache instead of reading file | n-peugnet | |
This way there is only one place where we read chunks and where the read/write wrapper is used. This also allows to remove LoadedChunk as it is not used anymore. | |||
2021-09-13 | fix windows test by converting testdata files path | n-peugnet | |
2021-09-13 | fix for windows, use filepath instead of path | n-peugnet | |
2021-09-13 | fix golint ci errors | n-peugnet | |
2021-09-13 | add read write wrappers to compress chunks' content | n-peugnet | |
2021-09-09 | better commit and restore tests (almost complete) | n-peugnet | |
added some file path management function for prfixes and trailing slash | |||
2021-09-09 | first add of restore function to Repo | n-peugnet | |
2021-09-09 | remove merge and extract tempchunks | n-peugnet | |
2021-09-09 | move unused functions from repo to repo_test | n-peugnet | |
2021-09-09 | export sketch in its own package | n-peugnet | |
so that tests can be cached and to make sure it is independant of the rest of the code also move tests in testdata as this folder is ignored by go test by default | |||
2021-09-07 | prepare for recipe encoding by exporting fileds | n-peugnet | |
2021-09-06 | initial chunk storage | n-peugnet | |
2021-09-02 | hash and store chunks left by matchStream | n-peugnet | |
2021-09-02 | move maps inside repo | n-peugnet | |
2021-09-02 | find similar chunks while matching stream | n-peugnet | |
2021-09-01 | move some consts into repo | n-peugnet | |
2021-09-01 | split bsdiff test into smaller functions | n-peugnet | |
2021-08-31 | split extractTempChunks into 2 funcs | n-peugnet | |
2021-08-31 | join too small temp chunks with previous one if possible | n-peugnet | |
2021-08-31 | do not fill partial cunks with padding | n-peugnet | |
this way a partial chunk may have less superfeatures than a complete one | |||
2021-08-30 | better diff test | n-peugnet | |
2021-08-30 | findSimilarChunk returns an Id if found | n-peugnet | |
2021-08-28 | refactor(chunks): use more interfaces | n-peugnet | |
2021-08-27 | add findSimilarChunks method to test sketches | n-peugnet | |
Still missing a real test... |