Commit Graph

  • 2a2fb74ba8 Merge pull request #569 from restic/fix-568 Alexander Neumann 2016-08-19 17:53:09 +02:00
  • bd819a5e81 Fix panic Alexander Neumann 2016-08-16 21:59:43 +02:00
  • 162629571d Add BenchmarkFindUsedBlobs Alexander Neumann 2016-08-15 21:37:19 +02:00
  • 2c04ad3c29 TestCreateSnapshot: free buffer Alexander Neumann 2016-08-15 21:37:11 +02:00
  • 238d3807e9 prune: Format duplicate bytes properly Alexander Neumann 2016-08-15 21:13:38 +02:00
  • 7f9d227725 Use progress in prune command Alexander Neumann 2016-08-15 21:10:20 +02:00
  • 8de6e5a627 Add progress option to index Alexander Neumann 2016-08-15 21:10:12 +02:00
  • 8d735cf6a9 Explicitely specify supersedes for new index Alexander Neumann 2016-08-15 20:49:01 +02:00
  • 29bb845f0e Rebuild index at the end of prune Alexander Neumann 2016-08-15 20:46:24 +02:00
  • 1bb2d59e38 Add Save() method to Index Alexander Neumann 2016-08-15 20:46:14 +02:00
  • 3ceb2ad3cf Progress: Call OnUpdate before OnDone Alexander Neumann 2016-08-15 20:15:17 +02:00
  • 009c803c8a prune: Use new Index Alexander Neumann 2016-08-15 20:13:56 +02:00
  • c0ef1ec6fd Add RemovePack for index Alexander Neumann 2016-08-15 18:55:52 +02:00
  • 69c2e8ce7e Add first version of the prune command Alexander Neumann 2016-08-04 19:42:40 +02:00
  • f102406cd7 ID: move Str() to non-pointer receiver Alexander Neumann 2016-08-14 18:56:13 +02:00
  • 302619a11a Move interfaces to package restic/types Alexander Neumann 2016-08-14 18:12:07 +02:00
  • 80bcae44e2 Decouple ListAllPacks from repository Alexander Neumann 2016-08-14 17:59:20 +02:00
  • 1f263a7683 Decouple index/ and repository/ Alexander Neumann 2016-08-14 16:11:59 +02:00
  • 3b57075109 Add global interface Repository Alexander Neumann 2016-08-14 16:04:34 +02:00
  • 3fa7304e94 Add interfaces to ListAllPacks Alexander Neumann 2016-08-14 16:01:42 +02:00
  • 47950b82a0 Add test for loading index from documentation Alexander Neumann 2016-08-14 14:47:02 +02:00
  • 9ecf7070af Implement Lookup() and Save() for new Index Alexander Neumann 2016-08-14 13:38:59 +02:00
  • 2310773798 Compute negative offsets ourselves in the s3 backend Alexander Neumann 2016-08-08 21:58:26 +02:00
  • a60e3b5030 Make backend tests less verbose Alexander Neumann 2016-08-08 21:58:09 +02:00
  • b350b443d0 Stop backend tests early on failure Alexander Neumann 2016-08-08 21:57:50 +02:00
  • 2c517e4a33 Add Index structures for Blobs Alexander Neumann 2016-08-07 22:18:20 +02:00
  • 4bdd59b4ad Index: Add DuplicateBlobs() Alexander Neumann 2016-08-07 21:57:31 +02:00
  • f5daf33322 Add pack size to ListAllPacks Alexander Neumann 2016-08-07 21:56:42 +02:00
  • 1058a91b39 Add option to create duplicate blobs in TestCreateSnapshot Alexander Neumann 2016-08-07 21:56:06 +02:00
  • 240b8f273a Add more index tests Alexander Neumann 2016-08-07 18:45:25 +02:00
  • 6808523d34 Add String() for Blob Alexander Neumann 2016-08-07 18:42:58 +02:00
  • bad6184ab5 Add new Index data structure Alexander Neumann 2016-08-07 17:19:00 +02:00
  • 6b384287f3 Return error when it occurs Alexander Neumann 2016-08-07 17:18:45 +02:00
  • ef33cf12ca Fix Unpacker for packs < 2048 byte Alexander Neumann 2016-08-07 16:24:02 +02:00
  • a5cbbb8b5a Fix BufferLoader for negative offset Alexander Neumann 2016-08-07 15:53:00 +02:00
  • 71924fb7c0 Add tests for Load() with negative offset Alexander Neumann 2016-08-07 15:52:31 +02:00
  • b0565015cc Remove ReadSeeker Alexander Neumann 2016-08-07 14:51:19 +02:00
  • fa283c6ecd Remove unused GetReader() Alexander Neumann 2016-08-07 14:50:41 +02:00
  • 94d157d97a Introduce interface pack.Loader Alexander Neumann 2016-08-07 14:50:24 +02:00
  • f72f3dbc6a Buffer last 2048 bytes of a file for unpack Alexander Neumann 2016-08-07 13:12:52 +02:00
  • 3c3a180417 Move RandomID() to backend package Alexander Neumann 2016-08-07 12:36:24 +02:00
  • fd6c854a21 Add TestResetRepository and BenchmarkCreateSnapshot Alexander Neumann 2016-08-06 17:29:08 +02:00
  • e9cddc0be5 Fix TestFindUsedBlobs Alexander Neumann 2016-08-04 22:30:23 +02:00
  • d7e5f11b78 Export FindUsedBlobs Alexander Neumann 2016-08-15 17:58:32 +02:00
  • 2b1b6d8c2a Export ListAllPacks Alexander Neumann 2016-08-04 21:21:32 +02:00
  • acc2fa5816 Fix TestRepack Alexander Neumann 2016-08-04 20:42:11 +02:00
  • 6285f31604 Use pack.BlobSet instead of backend.IDSet Alexander Neumann 2016-08-04 18:59:26 +02:00
  • 3cca831b2e Fix invalid type in newly created packs Alexander Neumann 2016-08-04 18:40:31 +02:00
  • cff6fea32a Fix 'cat' command Alexander Neumann 2016-08-04 18:02:32 +02:00
  • 17e1872544 Switch order of parameters to repo.LoadBlob() Alexander Neumann 2016-08-03 22:44:45 +02:00
  • 246302375d Index: Add multiple packs per blob, pack.Type Alexander Neumann 2016-08-03 22:38:05 +02:00
  • 231da4ff80 Remove old repacking code Alexander Neumann 2016-08-03 22:06:55 +02:00
  • 1b4b469440 Add pack.Handle and pack.Handles Alexander Neumann 2016-08-03 21:51:20 +02:00
  • 35e3762e37 Remove dead code Alexander Neumann 2016-08-03 21:05:42 +02:00
  • 7e732dbd2d Allow multiple entries in the index Alexander Neumann 2016-08-03 20:03:52 +02:00
  • 8b4d4ec25f Fix TestCreateSnapshot, do not store duplicate data Alexander Neumann 2016-08-02 22:07:06 +02:00
  • 035d0aeb31 Do not create duplicate content for tests Alexander Neumann 2016-08-01 21:30:46 +02:00
  • f1bc181c5b Add more checks for tests Alexander Neumann 2016-08-01 21:12:23 +02:00
  • 50b724ca23 Fix stylistic issues with FindUsedBlobs Alexander Neumann 2016-08-01 20:44:02 +02:00
  • 6227821b4e Move functions to correct file Alexander Neumann 2016-08-01 20:24:15 +02:00
  • 810056c2bc Correct packages for tests Alexander Neumann 2016-08-01 20:04:23 +02:00
  • 34b3e3a095 Split index/repack functions to different files Alexander Neumann 2016-08-01 18:55:07 +02:00
  • bdd085e9f1 Prevent loops when finding used blobs Alexander Neumann 2016-08-01 18:45:03 +02:00
  • ffc3503e6f Add first version of FindUsedBlobs Alexander Neumann 2016-08-01 18:40:08 +02:00
  • 51b16ad57d Add handy functions to backend.IDSet Alexander Neumann 2016-08-01 18:35:13 +02:00
  • 723592d923 Move FindUsedBlobs to package restic Alexander Neumann 2016-08-01 18:31:44 +02:00
  • 22aa17091b Add test for FindUsedBlobs Alexander Neumann 2016-07-31 21:26:56 +02:00
  • 4720a7d807 Allow specifying chunker polynomial for tests Alexander Neumann 2016-07-31 17:45:22 +02:00
  • d5323223f4 Change repository Init() function to allow better testing Alexander Neumann 2016-07-31 16:27:36 +02:00
  • fe79177b40 Make TestCreateSnapshot return the snapshot itself Alexander Neumann 2016-07-31 16:12:19 +02:00
  • 5c32ae15c2 Move test checking repo code to checker package Alexander Neumann 2016-07-31 12:09:44 +02:00
  • 6c2334f505 Make TestCreateSnapshot less verbose Alexander Neumann 2016-07-31 12:09:26 +02:00
  • b55ac2afd6 Make test files in test repo less random Alexander Neumann 2016-07-31 11:04:04 +02:00
  • d9012b4a64 Add trees recursively to test snapshot Alexander Neumann 2016-07-31 10:58:09 +02:00
  • 952f124238 Use RandReader instead of rand directly Alexander Neumann 2016-07-31 10:30:57 +02:00
  • 14db71d3fa Move RandReader to repository package Alexander Neumann 2016-07-31 10:29:53 +02:00
  • f59ffcaeae Correct comment Alexander Neumann 2016-07-30 13:58:27 +02:00
  • d609e4a986 Extended plaintext buffer if necessary Alexander Neumann 2016-07-28 21:41:18 +02:00
  • 0e6c72ad1d Implement Repack() Alexander Neumann 2016-08-15 18:10:39 +02:00
  • d5f42201c5 Fix test for Repack Alexander Neumann 2016-05-11 23:00:21 +02:00
  • 122a0944a6 Do not repack blobs that shouldn't be kept Alexander Neumann 2016-05-11 22:43:56 +02:00
  • fa26ecc8f9 Make rebuild-index use the code in package repository Alexander Neumann 2016-05-11 22:30:32 +02:00
  • 00139648a0 Implement Repack() Alexander Neumann 2016-05-11 22:28:56 +02:00
  • 6ba38e9a38 Add tests for Repack() Alexander Neumann 2016-05-11 21:35:57 +02:00
  • 812cb0ba77 Update Go version in manual Alexander Neumann 2016-08-16 21:24:48 +02:00
  • b5c397435c Merge pull request #571 from restic/raise-go-version Alexander Neumann 2016-08-16 21:20:59 +02:00
  • 043424824c Only test cross-compilation on Go 1.7 Alexander Neumann 2016-08-16 21:02:30 +02:00
  • c88c48a29f Do not build toolchain with gox for Go >= 1.5 Alexander Neumann 2016-08-16 20:51:46 +02:00
  • 2fa93b291a Update default Go version in Dockerfile Alexander Neumann 2016-08-16 20:51:31 +02:00
  • 1ad4d1aafd Require Go 1.6 or greater Alexander Neumann 2016-08-16 20:32:18 +02:00
  • b108966b12 Fix 567 (#570) Jan Stürtz 2016-08-15 21:59:13 +02:00
  • 1fe8deeb6e Use new URI syntax in documentation Alexander Neumann 2016-08-11 20:37:49 +02:00
  • fa4570bde8 Always use forward slashes in file names Alexander Neumann 2016-08-11 19:41:47 +02:00
  • f6c2787d80 Use the platform-independent function for joining Alexander Neumann 2016-08-11 19:10:51 +02:00
  • 4b8b625b90 Merge pull request #562 from damekr/implement-gomaxprocs-env Alexander Neumann 2016-08-11 19:09:54 +02:00
  • be00d91967 Respect GOMAXPROCS variable damekr 2016-08-03 20:29:08 +02:00
  • e4a9905d6f Merge pull request #563 from restic/fix-build-script Alexander Neumann 2016-08-04 19:37:30 +02:00
  • 68ec29e7ec Invert go version test for ldflags Alexander Neumann 2016-08-03 20:58:59 +02:00
  • d860ce0570 Merge pull request #559 from vrischmann/master Alexander Neumann 2016-08-02 22:12:18 +02:00
  • fc9b27c533 Revert "Fix TestCreateSnapshot, do not generate duplicate data" Alexander Neumann 2016-08-02 22:11:55 +02:00