aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-23better error handling and start checking symlinksn-peugnet
2021-09-23use repo wrappers for files and recipen-peugnet
2021-09-23add String to Delta struct and use it in logsn-peugnet
Also switch to external package for slice_test as it was already a case of "black box testing".
2021-09-23add SetLevel function to logger packagen-peugnet
2021-09-23better tests (util/io subtests + check log output)n-peugnet
2021-09-22fix mystical bug by making multiple passesn-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-22add tests for io utilsn-peugnet
2021-09-22rename and remove unused utilsn-peugnet
2021-09-22fix calling with source "."n-peugnet
2021-09-22export unprefix in utils and fix error msgn-peugnet
2021-09-22fix for stream smaller than chunkSizen-peugnet
2021-09-22add debug log leveln-peugnet
2021-09-22trying to fix the mystical bugn-peugnet
If prev is not null and no match if found, always encode both remaining chunks. Previously some chunks of chunkSize could have been stored as TempChunks in the recipe instead of as StoredChunks with hashes and an Id. This did not fix the mystical bug. But it helped finding where it came from.
2021-09-22misc log messages and refactoringn-peugnet
2021-09-22misc tests and log messagesn-peugnet
2021-09-22fix findSimilarChunk max is not updatedn-peugnet
2021-09-22fix slice.Patch with empty deltan-peugnet
2021-09-21store file listing incrementallyn-peugnet
2021-09-21define name of gob registered structsn-peugnet
also store uncompressed delta for now and add wrapper parameter
2021-09-21fix recipe diff deepequal replaces everything...n-peugnet
...by hydrating the chunks in loadRecipes instead of in restoreStream. Otherwise repo is not set in r.recipe chunks. Also added a generic loadDeltas for future use in loadFileLists
2021-09-21fix same delta chunk is not found on second commitn-peugnet
2021-09-21store recipes incrementallyn-peugnet
2021-09-21print stack trace to logger outputn-peugnet
2021-09-21change recipe into a generic slice patch/diff packagen-peugnet
2021-09-21export asserts into a packagen-peugnet
2021-09-21logger perf don't call Sprint and Sprintf if quietn-peugnet
2021-09-21add patch and diff logic for recipesn-peugnet
2021-09-21Use assertSame instead of assertSlicen-peugnet
2021-09-20add test for load hashes and storageWorkern-peugnet
2021-09-20update todolistn-peugnet
2021-09-20store recipe compressedn-peugnet
for now using zlib on a 556Mo dir: recipe: 11668558 o -> 5540831 o size divided by 2
2021-09-20remove errored files from fileListn-peugnet
and add tests with non existing link
2021-09-20update recipe to match latest versionn-peugnet
2021-09-20store fileList compressedn-peugnet
for now using zlib on a 556Mo dir: files: 1469447 o -> 207289 o size divided by 7
2021-09-20less noisy file read errorsn-peugnet
2021-09-15add perf outputn-peugnet
2021-09-15add storeWorker and use it to store chunk content and hashesn-peugnet
2021-09-15add build build status to readmen-peugnet
2021-09-15fix tests on windows...n-peugnet
2021-09-15logger fixes and better testsn-peugnet
2021-09-14perf: move hash parallelism from sketch to repon-peugnet
2021-09-14fix error with link should not cause panicn-peugnet
2021-09-14close some unclosed filesn-peugnet
try to consistently fix windows tests
2021-09-14add load/store sketches+fingerprints & store themn-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-14logger add SetOutput + basic testsn-peugnet
2021-09-14logger add panic + colors & remove ln variants & use itn-peugnet
2021-09-14add basic loggern-peugnet
2021-09-13fix typo in noten-peugnet
2021-09-13first tests on real datan-peugnet
2021-09-13fix loadChunks by using cache instead of reading filen-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.