From c0bd660a9eedccd161577115378a7cd69d3a23c7 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 14 Feb 2016 15:29:28 +0100 Subject: [PATCH] Rename package * github.com/restic/restic -> restic --- src/{github.com/restic => }/restic/archiver.go | 10 +++++----- .../restic/archiver_duplication_test.go | 8 ++++---- .../restic => }/restic/archiver_int_test.go | 2 +- .../restic => }/restic/archiver_test.go | 14 +++++++------- src/{github.com/restic => }/restic/backend/doc.go | 0 .../restic => }/restic/backend/generic.go | 0 .../restic => }/restic/backend/generic_test.go | 4 ++-- .../restic => }/restic/backend/handle.go | 0 .../restic => }/restic/backend/handle_test.go | 0 src/{github.com/restic => }/restic/backend/id.go | 0 .../restic => }/restic/backend/id_int_test.go | 0 .../restic => }/restic/backend/id_test.go | 4 ++-- src/{github.com/restic => }/restic/backend/ids.go | 0 .../restic => }/restic/backend/ids_test.go | 4 ++-- .../restic => }/restic/backend/idset.go | 0 .../restic => }/restic/backend/idset_test.go | 4 ++-- .../restic => }/restic/backend/interface.go | 0 .../restic/backend/local/backend_test.go | 2 +- .../restic => }/restic/backend/local/config.go | 0 .../restic => }/restic/backend/local/doc.go | 0 .../restic => }/restic/backend/local/local.go | 4 ++-- .../restic/backend/local/local_test.go | 6 +++--- .../restic/backend/local/local_unix.go | 0 .../restic/backend/local/local_windows.go | 0 .../restic/backend/mem/backend_test.go | 2 +- .../restic => }/restic/backend/mem/mem_backend.go | 4 ++-- .../restic/backend/mem/mem_backend_test.go | 6 +++--- .../restic => }/restic/backend/mock_backend.go | 0 .../restic => }/restic/backend/paths.go | 0 .../restic => }/restic/backend/s3/backend_test.go | 2 +- .../restic => }/restic/backend/s3/config.go | 0 .../restic => }/restic/backend/s3/config_test.go | 0 .../restic => }/restic/backend/s3/s3.go | 4 ++-- .../restic => }/restic/backend/s3/s3_test.go | 8 ++++---- .../restic/backend/sftp/backend_test.go | 2 +- .../restic => }/restic/backend/sftp/config.go | 0 .../restic/backend/sftp/config_test.go | 0 .../restic => }/restic/backend/sftp/doc.go | 0 .../restic => }/restic/backend/sftp/sftp.go | 4 ++-- .../restic/backend/sftp/sftp_backend_test.go | 8 ++++---- .../restic => }/restic/backend/sftp/sftp_unix.go | 0 .../restic/backend/sftp/sftp_windows.go | 0 .../restic/backend/test/backend_test.go | 2 +- .../restic/backend/test/generate_backend_tests.go | 2 +- .../restic => }/restic/backend/test/tests.go | 4 ++-- .../restic => }/restic/backend/test/tests_test.go | 6 +++--- .../restic => }/restic/backend/utils.go | 0 .../restic => }/restic/backend/utils_test.go | 6 +++--- src/{github.com/restic => }/restic/build.go | 0 src/{github.com/restic => }/restic/cache.go | 6 +++--- src/{github.com/restic => }/restic/cache_test.go | 4 ++-- .../restic => }/restic/checker/checker.go | 12 ++++++------ .../restic => }/restic/checker/checker_test.go | 12 ++++++------ .../restic => }/restic/checker/repacker.go | 6 +++--- .../restic => }/restic/checker/repacker_test.go | 6 +++--- .../checker/testdata/checker-test-repo.tar.gz | Bin .../duplicate-packs-in-index-test-repo.tar.gz | Bin .../restic => }/restic/cmd/restic/.gitignore | 0 .../restic => }/restic/cmd/restic/cleanup.go | 2 +- .../restic => }/restic/cmd/restic/cmd_backup.go | 10 +++++----- .../restic => }/restic/cmd/restic/cmd_cache.go | 2 +- .../restic => }/restic/cmd/restic/cmd_cat.go | 10 +++++----- .../restic => }/restic/cmd/restic/cmd_check.go | 4 ++-- .../restic => }/restic/cmd/restic/cmd_dump.go | 8 ++++---- .../restic => }/restic/cmd/restic/cmd_find.go | 8 ++++---- .../restic => }/restic/cmd/restic/cmd_init.go | 2 +- .../restic => }/restic/cmd/restic/cmd_key.go | 4 ++-- .../restic => }/restic/cmd/restic/cmd_list.go | 2 +- .../restic => }/restic/cmd/restic/cmd_ls.go | 6 +++--- .../restic => }/restic/cmd/restic/cmd_mount.go | 2 +- .../restic => }/restic/cmd/restic/cmd_optimize.go | 4 ++-- .../restic/cmd/restic/cmd_rebuild_index.go | 8 ++++---- .../restic => }/restic/cmd/restic/cmd_restore.go | 6 +++--- .../restic/cmd/restic/cmd_snapshots.go | 4 ++-- .../restic => }/restic/cmd/restic/cmd_unlock.go | 2 +- .../restic => }/restic/cmd/restic/cmd_version.go | 0 .../restic => }/restic/cmd/restic/doc.go | 0 .../restic => }/restic/cmd/restic/global.go | 14 +++++++------- .../restic/cmd/restic/integration_fuse_test.go | 8 ++++---- .../restic/cmd/restic/integration_helpers_test.go | 2 +- .../cmd/restic/integration_helpers_unix_test.go | 0 .../restic/integration_helpers_windows_test.go | 0 .../restic/cmd/restic/integration_test.go | 10 +++++----- .../restic => }/restic/cmd/restic/lock.go | 6 +++--- .../restic => }/restic/cmd/restic/main.go | 4 ++-- .../restic/cmd/restic/testdata/backup-data.tar.gz | Bin .../cmd/restic/testdata/old-index-repo.tar.gz | Bin .../testdata/repo-restore-permissions-test.tar.gz | Bin .../restic/cmd/restic/testdata/small-repo.tar.gz | Bin .../restic => }/restic/crypto/buffer_pool.go | 0 .../restic => }/restic/crypto/crypto.go | 0 .../restic => }/restic/crypto/crypto_int_test.go | 0 .../restic => }/restic/crypto/crypto_test.go | 4 ++-- src/{github.com/restic => }/restic/crypto/doc.go | 0 .../restic => }/restic/crypto/reader.go | 0 .../restic => }/restic/crypto/writer.go | 0 src/{github.com/restic => }/restic/debug/debug.go | 0 .../restic => }/restic/debug/debug_release.go | 0 src/{github.com/restic => }/restic/debug/doc.go | 0 src/{github.com/restic => }/restic/debug/hooks.go | 0 .../restic => }/restic/debug/hooks_release.go | 0 src/{github.com/restic => }/restic/doc.go | 0 src/{github.com/restic => }/restic/doc/Design.md | 0 src/{github.com/restic => }/restic/doc/PKGBUILD | 0 .../restic/doc/logo/font/Lemon-Regular.ttf | Bin .../restic => }/restic/doc/logo/font/OFL.txt | 0 .../restic => }/restic/doc/logo/logo.png | Bin .../restic => }/restic/doc/logo/logo.svg | 0 .../restic => }/restic/doc/structure.svg | 0 .../restic/doc/test_irreducibility.gap | 0 src/{github.com/restic => }/restic/filter/doc.go | 0 .../restic => }/restic/filter/filter.go | 0 .../restic => }/restic/filter/filter_test.go | 2 +- .../restic/filter/testdata/libreoffice.txt.bz2 | Bin src/{github.com/restic => }/restic/fuse/dir.go | 4 ++-- src/{github.com/restic => }/restic/fuse/file.go | 6 +++--- .../restic => }/restic/fuse/file_test.go | 8 ++++---- src/{github.com/restic => }/restic/fuse/fuse.go | 2 +- src/{github.com/restic => }/restic/fuse/link.go | 4 ++-- .../restic => }/restic/fuse/snapshot.go | 6 +++--- .../restic => }/restic/location/location.go | 6 +++--- .../restic => }/restic/location/location_test.go | 4 ++-- src/{github.com/restic => }/restic/lock.go | 6 +++--- src/{github.com/restic => }/restic/lock_test.go | 8 ++++---- src/{github.com/restic => }/restic/lock_unix.go | 2 +- .../restic => }/restic/lock_windows.go | 2 +- src/{github.com/restic => }/restic/node.go | 8 ++++---- src/{github.com/restic => }/restic/node_darwin.go | 0 .../restic => }/restic/node_freebsd.go | 0 src/{github.com/restic => }/restic/node_linux.go | 0 .../restic => }/restic/node_openbsd.go | 0 src/{github.com/restic => }/restic/node_test.go | 6 +++--- src/{github.com/restic => }/restic/node_unix.go | 0 .../restic => }/restic/node_windows.go | 0 src/{github.com/restic => }/restic/pack/doc.go | 0 src/{github.com/restic => }/restic/pack/pack.go | 4 ++-- .../restic => }/restic/pack/pack_test.go | 8 ++++---- src/{github.com/restic => }/restic/pipe/doc.go | 0 src/{github.com/restic => }/restic/pipe/pipe.go | 2 +- .../restic => }/restic/pipe/pipe_test.go | 6 +++--- src/{github.com/restic => }/restic/progress.go | 0 .../restic => }/restic/repository/blob.go | 2 +- .../restic => }/restic/repository/config.go | 4 ++-- .../restic => }/restic/repository/config_test.go | 6 +++--- .../restic => }/restic/repository/doc.go | 0 .../restic => }/restic/repository/index.go | 8 ++++---- .../restic => }/restic/repository/index_test.go | 8 ++++---- .../restic => }/restic/repository/key.go | 6 +++--- .../restic => }/restic/repository/master_index.go | 6 +++--- .../restic/repository/packer_manager.go | 8 ++++---- .../restic => }/restic/repository/parallel.go | 2 +- .../restic/repository/parallel_test.go | 6 +++--- .../restic => }/restic/repository/pool.go | 0 .../restic => }/restic/repository/repository.go | 8 ++++---- .../restic/repository/repository_test.go | 10 +++++----- .../restic/repository/testdata/test-repo.tar.gz | Bin src/{github.com/restic => }/restic/restorer.go | 6 +++--- .../restic => }/restic/run_integration_tests.go | 0 src/{github.com/restic => }/restic/snapshot.go | 4 ++-- .../restic => }/restic/snapshot_test.go | 4 ++-- .../restic => }/restic/test/backend.go | 8 ++++---- src/{github.com/restic => }/restic/test/doc.go | 0 .../restic => }/restic/test/helpers.go | 6 +++--- .../restic/testdata/walktree-test-repo.tar.gz | Bin src/{github.com/restic => }/restic/tree.go | 6 +++--- src/{github.com/restic => }/restic/tree_test.go | 6 +++--- src/{github.com/restic => }/restic/walk.go | 6 +++--- src/{github.com/restic => }/restic/walk_test.go | 12 ++++++------ 168 files changed, 263 insertions(+), 263 deletions(-) rename src/{github.com/restic => }/restic/archiver.go (99%) rename src/{github.com/restic => }/restic/archiver_duplication_test.go (94%) rename src/{github.com/restic => }/restic/archiver_int_test.go (98%) rename src/{github.com/restic => }/restic/archiver_test.go (96%) rename src/{github.com/restic => }/restic/backend/doc.go (100%) rename src/{github.com/restic => }/restic/backend/generic.go (100%) rename src/{github.com/restic => }/restic/backend/generic_test.go (95%) rename src/{github.com/restic => }/restic/backend/handle.go (100%) rename src/{github.com/restic => }/restic/backend/handle_test.go (100%) rename src/{github.com/restic => }/restic/backend/id.go (100%) rename src/{github.com/restic => }/restic/backend/id_int_test.go (100%) rename src/{github.com/restic => }/restic/backend/id_test.go (93%) rename src/{github.com/restic => }/restic/backend/ids.go (100%) rename src/{github.com/restic => }/restic/backend/ids_test.go (96%) rename src/{github.com/restic => }/restic/backend/idset.go (100%) rename src/{github.com/restic => }/restic/backend/idset_test.go (94%) rename src/{github.com/restic => }/restic/backend/interface.go (100%) rename src/{github.com/restic => }/restic/backend/local/backend_test.go (97%) rename src/{github.com/restic => }/restic/backend/local/config.go (100%) rename src/{github.com/restic => }/restic/backend/local/doc.go (100%) rename src/{github.com/restic => }/restic/backend/local/local.go (98%) rename src/{github.com/restic => }/restic/backend/local/local_test.go (88%) rename src/{github.com/restic => }/restic/backend/local/local_unix.go (100%) rename src/{github.com/restic => }/restic/backend/local/local_windows.go (100%) rename src/{github.com/restic => }/restic/backend/mem/backend_test.go (97%) rename src/{github.com/restic => }/restic/backend/mem/mem_backend.go (98%) rename src/{github.com/restic => }/restic/backend/mem/mem_backend_test.go (81%) rename src/{github.com/restic => }/restic/backend/mock_backend.go (100%) rename src/{github.com/restic => }/restic/backend/paths.go (100%) rename src/{github.com/restic => }/restic/backend/s3/backend_test.go (97%) rename src/{github.com/restic => }/restic/backend/s3/config.go (100%) rename src/{github.com/restic => }/restic/backend/s3/config_test.go (100%) rename src/{github.com/restic => }/restic/backend/s3/s3.go (98%) rename src/{github.com/restic => }/restic/backend/s3/s3_test.go (88%) rename src/{github.com/restic => }/restic/backend/sftp/backend_test.go (97%) rename src/{github.com/restic => }/restic/backend/sftp/config.go (100%) rename src/{github.com/restic => }/restic/backend/sftp/config_test.go (100%) rename src/{github.com/restic => }/restic/backend/sftp/doc.go (100%) rename src/{github.com/restic => }/restic/backend/sftp/sftp.go (99%) rename src/{github.com/restic => }/restic/backend/sftp/sftp_backend_test.go (89%) rename src/{github.com/restic => }/restic/backend/sftp/sftp_unix.go (100%) rename src/{github.com/restic => }/restic/backend/sftp/sftp_windows.go (100%) rename src/{github.com/restic => }/restic/backend/test/backend_test.go (97%) rename src/{github.com/restic => }/restic/backend/test/generate_backend_tests.go (98%) rename src/{github.com/restic => }/restic/backend/test/tests.go (99%) rename src/{github.com/restic => }/restic/backend/test/tests_test.go (81%) rename src/{github.com/restic => }/restic/backend/utils.go (100%) rename src/{github.com/restic => }/restic/backend/utils_test.go (94%) rename src/{github.com/restic => }/restic/build.go (100%) rename src/{github.com/restic => }/restic/cache.go (98%) rename src/{github.com/restic => }/restic/cache_test.go (86%) rename src/{github.com/restic => }/restic/checker/checker.go (98%) rename src/{github.com/restic => }/restic/checker/checker_test.go (96%) rename src/{github.com/restic => }/restic/checker/repacker.go (97%) rename src/{github.com/restic => }/restic/checker/repacker_test.go (97%) rename src/{github.com/restic => }/restic/checker/testdata/checker-test-repo.tar.gz (100%) rename src/{github.com/restic => }/restic/checker/testdata/duplicate-packs-in-index-test-repo.tar.gz (100%) rename src/{github.com/restic => }/restic/cmd/restic/.gitignore (100%) rename src/{github.com/restic => }/restic/cmd/restic/cleanup.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_backup.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_cache.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_cat.go (95%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_check.go (98%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_dump.go (95%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_find.go (96%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_init.go (96%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_key.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_list.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_ls.go (95%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_mount.go (98%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_optimize.go (95%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_rebuild_index.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_restore.go (96%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_snapshots.go (97%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_unlock.go (95%) rename src/{github.com/restic => }/restic/cmd/restic/cmd_version.go (100%) rename src/{github.com/restic => }/restic/cmd/restic/doc.go (100%) rename src/{github.com/restic => }/restic/cmd/restic/global.go (96%) rename src/{github.com/restic => }/restic/cmd/restic/integration_fuse_test.go (96%) rename src/{github.com/restic => }/restic/cmd/restic/integration_helpers_test.go (99%) rename src/{github.com/restic => }/restic/cmd/restic/integration_helpers_unix_test.go (100%) rename src/{github.com/restic => }/restic/cmd/restic/integration_helpers_windows_test.go (100%) rename src/{github.com/restic => }/restic/cmd/restic/integration_test.go (99%) rename src/{github.com/restic => }/restic/cmd/restic/lock.go (96%) rename src/{github.com/restic => }/restic/cmd/restic/main.go (93%) rename src/{github.com/restic => }/restic/cmd/restic/testdata/backup-data.tar.gz (100%) rename src/{github.com/restic => }/restic/cmd/restic/testdata/old-index-repo.tar.gz (100%) rename src/{github.com/restic => }/restic/cmd/restic/testdata/repo-restore-permissions-test.tar.gz (100%) rename src/{github.com/restic => }/restic/cmd/restic/testdata/small-repo.tar.gz (100%) rename src/{github.com/restic => }/restic/crypto/buffer_pool.go (100%) rename src/{github.com/restic => }/restic/crypto/crypto.go (100%) rename src/{github.com/restic => }/restic/crypto/crypto_int_test.go (100%) rename src/{github.com/restic => }/restic/crypto/crypto_test.go (99%) rename src/{github.com/restic => }/restic/crypto/doc.go (100%) rename src/{github.com/restic => }/restic/crypto/reader.go (100%) rename src/{github.com/restic => }/restic/crypto/writer.go (100%) rename src/{github.com/restic => }/restic/debug/debug.go (100%) rename src/{github.com/restic => }/restic/debug/debug_release.go (100%) rename src/{github.com/restic => }/restic/debug/doc.go (100%) rename src/{github.com/restic => }/restic/debug/hooks.go (100%) rename src/{github.com/restic => }/restic/debug/hooks_release.go (100%) rename src/{github.com/restic => }/restic/doc.go (100%) rename src/{github.com/restic => }/restic/doc/Design.md (100%) rename src/{github.com/restic => }/restic/doc/PKGBUILD (100%) rename src/{github.com/restic => }/restic/doc/logo/font/Lemon-Regular.ttf (100%) rename src/{github.com/restic => }/restic/doc/logo/font/OFL.txt (100%) rename src/{github.com/restic => }/restic/doc/logo/logo.png (100%) rename src/{github.com/restic => }/restic/doc/logo/logo.svg (100%) rename src/{github.com/restic => }/restic/doc/structure.svg (100%) rename src/{github.com/restic => }/restic/doc/test_irreducibility.gap (100%) rename src/{github.com/restic => }/restic/filter/doc.go (100%) rename src/{github.com/restic => }/restic/filter/filter.go (100%) rename src/{github.com/restic => }/restic/filter/filter_test.go (99%) rename src/{github.com/restic => }/restic/filter/testdata/libreoffice.txt.bz2 (100%) rename src/{github.com/restic => }/restic/fuse/dir.go (97%) rename src/{github.com/restic => }/restic/fuse/file.go (96%) rename src/{github.com/restic => }/restic/fuse/file_test.go (96%) rename src/{github.com/restic => }/restic/fuse/fuse.go (90%) rename src/{github.com/restic => }/restic/fuse/link.go (92%) rename src/{github.com/restic => }/restic/fuse/snapshot.go (96%) rename src/{github.com/restic => }/restic/location/location.go (92%) rename src/{github.com/restic => }/restic/location/location_test.go (97%) rename src/{github.com/restic => }/restic/lock.go (98%) rename src/{github.com/restic => }/restic/lock_test.go (97%) rename src/{github.com/restic => }/restic/lock_unix.go (96%) rename src/{github.com/restic => }/restic/lock_windows.go (93%) rename src/{github.com/restic => }/restic/node.go (98%) rename src/{github.com/restic => }/restic/node_darwin.go (100%) rename src/{github.com/restic => }/restic/node_freebsd.go (100%) rename src/{github.com/restic => }/restic/node_linux.go (100%) rename src/{github.com/restic => }/restic/node_openbsd.go (100%) rename src/{github.com/restic => }/restic/node_test.go (98%) rename src/{github.com/restic => }/restic/node_unix.go (100%) rename src/{github.com/restic => }/restic/node_windows.go (100%) rename src/{github.com/restic => }/restic/pack/doc.go (100%) rename src/{github.com/restic => }/restic/pack/pack.go (98%) rename src/{github.com/restic => }/restic/pack/pack_test.go (93%) rename src/{github.com/restic => }/restic/pipe/doc.go (100%) rename src/{github.com/restic => }/restic/pipe/pipe.go (99%) rename src/{github.com/restic => }/restic/pipe/pipe_test.go (99%) rename src/{github.com/restic => }/restic/progress.go (100%) rename src/{github.com/restic => }/restic/repository/blob.go (95%) rename src/{github.com/restic => }/restic/repository/config.go (96%) rename src/{github.com/restic => }/restic/repository/config_test.go (91%) rename src/{github.com/restic => }/restic/repository/doc.go (100%) rename src/{github.com/restic => }/restic/repository/index.go (99%) rename src/{github.com/restic => }/restic/repository/index_test.go (98%) rename src/{github.com/restic => }/restic/repository/key.go (97%) rename src/{github.com/restic => }/restic/repository/master_index.go (98%) rename src/{github.com/restic => }/restic/repository/packer_manager.go (94%) rename src/{github.com/restic => }/restic/repository/parallel.go (98%) rename src/{github.com/restic => }/restic/repository/parallel_test.go (97%) rename src/{github.com/restic => }/restic/repository/pool.go (100%) rename src/{github.com/restic => }/restic/repository/repository.go (99%) rename src/{github.com/restic => }/restic/repository/repository_test.go (97%) rename src/{github.com/restic => }/restic/repository/testdata/test-repo.tar.gz (100%) rename src/{github.com/restic => }/restic/restorer.go (96%) rename src/{github.com/restic => }/restic/run_integration_tests.go (100%) rename src/{github.com/restic => }/restic/snapshot.go (96%) rename src/{github.com/restic => }/restic/snapshot_test.go (72%) rename src/{github.com/restic => }/restic/test/backend.go (93%) rename src/{github.com/restic => }/restic/test/doc.go (100%) rename src/{github.com/restic => }/restic/test/helpers.go (97%) rename src/{github.com/restic => }/restic/testdata/walktree-test-repo.tar.gz (100%) rename src/{github.com/restic => }/restic/tree.go (95%) rename src/{github.com/restic => }/restic/tree_test.go (95%) rename src/{github.com/restic => }/restic/walk.go (97%) rename src/{github.com/restic => }/restic/walk_test.go (99%) diff --git a/src/github.com/restic/restic/archiver.go b/src/restic/archiver.go similarity index 99% rename from src/github.com/restic/restic/archiver.go rename to src/restic/archiver.go index a8e94e516..d005bb8f4 100644 --- a/src/github.com/restic/restic/archiver.go +++ b/src/restic/archiver.go @@ -12,11 +12,11 @@ import ( "time" "github.com/restic/chunker" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" - "github.com/restic/restic/pipe" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/pack" + "restic/pipe" + "restic/repository" "github.com/juju/errors" ) diff --git a/src/github.com/restic/restic/archiver_duplication_test.go b/src/restic/archiver_duplication_test.go similarity index 94% rename from src/github.com/restic/restic/archiver_duplication_test.go rename to src/restic/archiver_duplication_test.go index f3e4c5475..3edc70cb3 100644 --- a/src/github.com/restic/restic/archiver_duplication_test.go +++ b/src/restic/archiver_duplication_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/pack" + "restic/repository" ) const parallelSaves = 50 diff --git a/src/github.com/restic/restic/archiver_int_test.go b/src/restic/archiver_int_test.go similarity index 98% rename from src/github.com/restic/restic/archiver_int_test.go rename to src/restic/archiver_int_test.go index d26a9ce53..9e4426889 100644 --- a/src/github.com/restic/restic/archiver_int_test.go +++ b/src/restic/archiver_int_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/restic/restic/pipe" + "restic/pipe" ) var treeJobs = []string{ diff --git a/src/github.com/restic/restic/archiver_test.go b/src/restic/archiver_test.go similarity index 96% rename from src/github.com/restic/restic/archiver_test.go rename to src/restic/archiver_test.go index 75b1176cb..d38a73b80 100644 --- a/src/github.com/restic/restic/archiver_test.go +++ b/src/restic/archiver_test.go @@ -8,13 +8,13 @@ import ( "time" "github.com/restic/chunker" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/checker" - "github.com/restic/restic/crypto" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/checker" + "restic/crypto" + "restic/pack" + "restic/repository" + . "restic/test" ) var testPol = chunker.Pol(0x3DA3358B4DC173) diff --git a/src/github.com/restic/restic/backend/doc.go b/src/restic/backend/doc.go similarity index 100% rename from src/github.com/restic/restic/backend/doc.go rename to src/restic/backend/doc.go diff --git a/src/github.com/restic/restic/backend/generic.go b/src/restic/backend/generic.go similarity index 100% rename from src/github.com/restic/restic/backend/generic.go rename to src/restic/backend/generic.go diff --git a/src/github.com/restic/restic/backend/generic_test.go b/src/restic/backend/generic_test.go similarity index 95% rename from src/github.com/restic/restic/backend/generic_test.go rename to src/restic/backend/generic_test.go index ca5b78982..7c42e2859 100644 --- a/src/github.com/restic/restic/backend/generic_test.go +++ b/src/restic/backend/generic_test.go @@ -3,8 +3,8 @@ package backend_test import ( "testing" - "github.com/restic/restic/backend" - . "github.com/restic/restic/test" + "restic/backend" + . "restic/test" ) type mockBackend struct { diff --git a/src/github.com/restic/restic/backend/handle.go b/src/restic/backend/handle.go similarity index 100% rename from src/github.com/restic/restic/backend/handle.go rename to src/restic/backend/handle.go diff --git a/src/github.com/restic/restic/backend/handle_test.go b/src/restic/backend/handle_test.go similarity index 100% rename from src/github.com/restic/restic/backend/handle_test.go rename to src/restic/backend/handle_test.go diff --git a/src/github.com/restic/restic/backend/id.go b/src/restic/backend/id.go similarity index 100% rename from src/github.com/restic/restic/backend/id.go rename to src/restic/backend/id.go diff --git a/src/github.com/restic/restic/backend/id_int_test.go b/src/restic/backend/id_int_test.go similarity index 100% rename from src/github.com/restic/restic/backend/id_int_test.go rename to src/restic/backend/id_int_test.go diff --git a/src/github.com/restic/restic/backend/id_test.go b/src/restic/backend/id_test.go similarity index 93% rename from src/github.com/restic/restic/backend/id_test.go rename to src/restic/backend/id_test.go index 727cb5be2..47d12d319 100644 --- a/src/github.com/restic/restic/backend/id_test.go +++ b/src/restic/backend/id_test.go @@ -3,8 +3,8 @@ package backend_test import ( "testing" - "github.com/restic/restic/backend" - . "github.com/restic/restic/test" + "restic/backend" + . "restic/test" ) var TestStrings = []struct { diff --git a/src/github.com/restic/restic/backend/ids.go b/src/restic/backend/ids.go similarity index 100% rename from src/github.com/restic/restic/backend/ids.go rename to src/restic/backend/ids.go diff --git a/src/github.com/restic/restic/backend/ids_test.go b/src/restic/backend/ids_test.go similarity index 96% rename from src/github.com/restic/restic/backend/ids_test.go rename to src/restic/backend/ids_test.go index eac56d30c..f4e3162ca 100644 --- a/src/github.com/restic/restic/backend/ids_test.go +++ b/src/restic/backend/ids_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/restic/restic/backend" - . "github.com/restic/restic/test" + "restic/backend" + . "restic/test" ) var uniqTests = []struct { diff --git a/src/github.com/restic/restic/backend/idset.go b/src/restic/backend/idset.go similarity index 100% rename from src/github.com/restic/restic/backend/idset.go rename to src/restic/backend/idset.go diff --git a/src/github.com/restic/restic/backend/idset_test.go b/src/restic/backend/idset_test.go similarity index 94% rename from src/github.com/restic/restic/backend/idset_test.go rename to src/restic/backend/idset_test.go index 6659c2229..32dce0e0d 100644 --- a/src/github.com/restic/restic/backend/idset_test.go +++ b/src/restic/backend/idset_test.go @@ -3,8 +3,8 @@ package backend_test import ( "testing" - "github.com/restic/restic/backend" - . "github.com/restic/restic/test" + "restic/backend" + . "restic/test" ) var idsetTests = []struct { diff --git a/src/github.com/restic/restic/backend/interface.go b/src/restic/backend/interface.go similarity index 100% rename from src/github.com/restic/restic/backend/interface.go rename to src/restic/backend/interface.go diff --git a/src/github.com/restic/restic/backend/local/backend_test.go b/src/restic/backend/local/backend_test.go similarity index 97% rename from src/github.com/restic/restic/backend/local/backend_test.go rename to src/restic/backend/local/backend_test.go index b2d5e7b0f..8607f01b7 100644 --- a/src/github.com/restic/restic/backend/local/backend_test.go +++ b/src/restic/backend/local/backend_test.go @@ -4,7 +4,7 @@ package local_test import ( "testing" - "github.com/restic/restic/backend/test" + "restic/backend/test" ) var SkipMessage string diff --git a/src/github.com/restic/restic/backend/local/config.go b/src/restic/backend/local/config.go similarity index 100% rename from src/github.com/restic/restic/backend/local/config.go rename to src/restic/backend/local/config.go diff --git a/src/github.com/restic/restic/backend/local/doc.go b/src/restic/backend/local/doc.go similarity index 100% rename from src/github.com/restic/restic/backend/local/doc.go rename to src/restic/backend/local/doc.go diff --git a/src/github.com/restic/restic/backend/local/local.go b/src/restic/backend/local/local.go similarity index 98% rename from src/github.com/restic/restic/backend/local/local.go rename to src/restic/backend/local/local.go index 521ffde79..8bf4f1803 100644 --- a/src/github.com/restic/restic/backend/local/local.go +++ b/src/restic/backend/local/local.go @@ -8,8 +8,8 @@ import ( "os" "path/filepath" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" + "restic/backend" + "restic/debug" ) // Local is a backend in a local directory. diff --git a/src/github.com/restic/restic/backend/local/local_test.go b/src/restic/backend/local/local_test.go similarity index 88% rename from src/github.com/restic/restic/backend/local/local_test.go rename to src/restic/backend/local/local_test.go index 3335cbfa8..b139b0aca 100644 --- a/src/github.com/restic/restic/backend/local/local_test.go +++ b/src/restic/backend/local/local_test.go @@ -5,9 +5,9 @@ import ( "io/ioutil" "os" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/local" - "github.com/restic/restic/backend/test" + "restic/backend" + "restic/backend/local" + "restic/backend/test" ) var tempBackendDir string diff --git a/src/github.com/restic/restic/backend/local/local_unix.go b/src/restic/backend/local/local_unix.go similarity index 100% rename from src/github.com/restic/restic/backend/local/local_unix.go rename to src/restic/backend/local/local_unix.go diff --git a/src/github.com/restic/restic/backend/local/local_windows.go b/src/restic/backend/local/local_windows.go similarity index 100% rename from src/github.com/restic/restic/backend/local/local_windows.go rename to src/restic/backend/local/local_windows.go diff --git a/src/github.com/restic/restic/backend/mem/backend_test.go b/src/restic/backend/mem/backend_test.go similarity index 97% rename from src/github.com/restic/restic/backend/mem/backend_test.go rename to src/restic/backend/mem/backend_test.go index 31f86e4fc..13e95f115 100644 --- a/src/github.com/restic/restic/backend/mem/backend_test.go +++ b/src/restic/backend/mem/backend_test.go @@ -4,7 +4,7 @@ package mem_test import ( "testing" - "github.com/restic/restic/backend/test" + "restic/backend/test" ) var SkipMessage string diff --git a/src/github.com/restic/restic/backend/mem/mem_backend.go b/src/restic/backend/mem/mem_backend.go similarity index 98% rename from src/github.com/restic/restic/backend/mem/mem_backend.go rename to src/restic/backend/mem/mem_backend.go index adac5b332..2dde7e320 100644 --- a/src/github.com/restic/restic/backend/mem/mem_backend.go +++ b/src/restic/backend/mem/mem_backend.go @@ -5,8 +5,8 @@ import ( "io" "sync" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" + "restic/backend" + "restic/debug" ) type entry struct { diff --git a/src/github.com/restic/restic/backend/mem/mem_backend_test.go b/src/restic/backend/mem/mem_backend_test.go similarity index 81% rename from src/github.com/restic/restic/backend/mem/mem_backend_test.go rename to src/restic/backend/mem/mem_backend_test.go index 8c3745aa2..a65cdc246 100644 --- a/src/github.com/restic/restic/backend/mem/mem_backend_test.go +++ b/src/restic/backend/mem/mem_backend_test.go @@ -3,9 +3,9 @@ package mem_test import ( "errors" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/mem" - "github.com/restic/restic/backend/test" + "restic/backend" + "restic/backend/mem" + "restic/backend/test" ) var be backend.Backend diff --git a/src/github.com/restic/restic/backend/mock_backend.go b/src/restic/backend/mock_backend.go similarity index 100% rename from src/github.com/restic/restic/backend/mock_backend.go rename to src/restic/backend/mock_backend.go diff --git a/src/github.com/restic/restic/backend/paths.go b/src/restic/backend/paths.go similarity index 100% rename from src/github.com/restic/restic/backend/paths.go rename to src/restic/backend/paths.go diff --git a/src/github.com/restic/restic/backend/s3/backend_test.go b/src/restic/backend/s3/backend_test.go similarity index 97% rename from src/github.com/restic/restic/backend/s3/backend_test.go rename to src/restic/backend/s3/backend_test.go index 8db0a31f9..82eca2631 100644 --- a/src/github.com/restic/restic/backend/s3/backend_test.go +++ b/src/restic/backend/s3/backend_test.go @@ -4,7 +4,7 @@ package s3_test import ( "testing" - "github.com/restic/restic/backend/test" + "restic/backend/test" ) var SkipMessage string diff --git a/src/github.com/restic/restic/backend/s3/config.go b/src/restic/backend/s3/config.go similarity index 100% rename from src/github.com/restic/restic/backend/s3/config.go rename to src/restic/backend/s3/config.go diff --git a/src/github.com/restic/restic/backend/s3/config_test.go b/src/restic/backend/s3/config_test.go similarity index 100% rename from src/github.com/restic/restic/backend/s3/config_test.go rename to src/restic/backend/s3/config_test.go diff --git a/src/github.com/restic/restic/backend/s3/s3.go b/src/restic/backend/s3/s3.go similarity index 98% rename from src/github.com/restic/restic/backend/s3/s3.go rename to src/restic/backend/s3/s3.go index a6657fd2b..609a07064 100644 --- a/src/github.com/restic/restic/backend/s3/s3.go +++ b/src/restic/backend/s3/s3.go @@ -8,8 +8,8 @@ import ( "github.com/minio/minio-go" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" + "restic/backend" + "restic/debug" ) const connLimit = 10 diff --git a/src/github.com/restic/restic/backend/s3/s3_test.go b/src/restic/backend/s3/s3_test.go similarity index 88% rename from src/github.com/restic/restic/backend/s3/s3_test.go rename to src/restic/backend/s3/s3_test.go index 050e4300a..586398de9 100644 --- a/src/github.com/restic/restic/backend/s3/s3_test.go +++ b/src/restic/backend/s3/s3_test.go @@ -6,10 +6,10 @@ import ( "net/url" "os" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/s3" - "github.com/restic/restic/backend/test" - . "github.com/restic/restic/test" + "restic/backend" + "restic/backend/s3" + "restic/backend/test" + . "restic/test" ) //go:generate go run ../test/generate_backend_tests.go diff --git a/src/github.com/restic/restic/backend/sftp/backend_test.go b/src/restic/backend/sftp/backend_test.go similarity index 97% rename from src/github.com/restic/restic/backend/sftp/backend_test.go rename to src/restic/backend/sftp/backend_test.go index afab17e60..a812f8cd0 100644 --- a/src/github.com/restic/restic/backend/sftp/backend_test.go +++ b/src/restic/backend/sftp/backend_test.go @@ -4,7 +4,7 @@ package sftp_test import ( "testing" - "github.com/restic/restic/backend/test" + "restic/backend/test" ) var SkipMessage string diff --git a/src/github.com/restic/restic/backend/sftp/config.go b/src/restic/backend/sftp/config.go similarity index 100% rename from src/github.com/restic/restic/backend/sftp/config.go rename to src/restic/backend/sftp/config.go diff --git a/src/github.com/restic/restic/backend/sftp/config_test.go b/src/restic/backend/sftp/config_test.go similarity index 100% rename from src/github.com/restic/restic/backend/sftp/config_test.go rename to src/restic/backend/sftp/config_test.go diff --git a/src/github.com/restic/restic/backend/sftp/doc.go b/src/restic/backend/sftp/doc.go similarity index 100% rename from src/github.com/restic/restic/backend/sftp/doc.go rename to src/restic/backend/sftp/doc.go diff --git a/src/github.com/restic/restic/backend/sftp/sftp.go b/src/restic/backend/sftp/sftp.go similarity index 99% rename from src/github.com/restic/restic/backend/sftp/sftp.go rename to src/restic/backend/sftp/sftp.go index ddd35a56f..4279b8d5a 100644 --- a/src/github.com/restic/restic/backend/sftp/sftp.go +++ b/src/restic/backend/sftp/sftp.go @@ -13,8 +13,8 @@ import ( "github.com/juju/errors" "github.com/pkg/sftp" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" + "restic/backend" + "restic/debug" ) const ( diff --git a/src/github.com/restic/restic/backend/sftp/sftp_backend_test.go b/src/restic/backend/sftp/sftp_backend_test.go similarity index 89% rename from src/github.com/restic/restic/backend/sftp/sftp_backend_test.go rename to src/restic/backend/sftp/sftp_backend_test.go index bfb8e4e75..1d7199a88 100644 --- a/src/github.com/restic/restic/backend/sftp/sftp_backend_test.go +++ b/src/restic/backend/sftp/sftp_backend_test.go @@ -7,11 +7,11 @@ import ( "path/filepath" "strings" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/sftp" - "github.com/restic/restic/backend/test" + "restic/backend" + "restic/backend/sftp" + "restic/backend/test" - . "github.com/restic/restic/test" + . "restic/test" ) var tempBackendDir string diff --git a/src/github.com/restic/restic/backend/sftp/sftp_unix.go b/src/restic/backend/sftp/sftp_unix.go similarity index 100% rename from src/github.com/restic/restic/backend/sftp/sftp_unix.go rename to src/restic/backend/sftp/sftp_unix.go diff --git a/src/github.com/restic/restic/backend/sftp/sftp_windows.go b/src/restic/backend/sftp/sftp_windows.go similarity index 100% rename from src/github.com/restic/restic/backend/sftp/sftp_windows.go rename to src/restic/backend/sftp/sftp_windows.go diff --git a/src/github.com/restic/restic/backend/test/backend_test.go b/src/restic/backend/test/backend_test.go similarity index 97% rename from src/github.com/restic/restic/backend/test/backend_test.go rename to src/restic/backend/test/backend_test.go index c1bee84c7..b495ce663 100644 --- a/src/github.com/restic/restic/backend/test/backend_test.go +++ b/src/restic/backend/test/backend_test.go @@ -4,7 +4,7 @@ package test_test import ( "testing" - "github.com/restic/restic/backend/test" + "restic/backend/test" ) var SkipMessage string diff --git a/src/github.com/restic/restic/backend/test/generate_backend_tests.go b/src/restic/backend/test/generate_backend_tests.go similarity index 98% rename from src/github.com/restic/restic/backend/test/generate_backend_tests.go rename to src/restic/backend/test/generate_backend_tests.go index 0631f72c8..4d1e9b478 100644 --- a/src/github.com/restic/restic/backend/test/generate_backend_tests.go +++ b/src/restic/backend/test/generate_backend_tests.go @@ -30,7 +30,7 @@ package {{ .Package }} import ( "testing" - "github.com/restic/restic/backend/test" + "restic/backend/test" ) var SkipMessage string diff --git a/src/github.com/restic/restic/backend/test/tests.go b/src/restic/backend/test/tests.go similarity index 99% rename from src/github.com/restic/restic/backend/test/tests.go rename to src/restic/backend/test/tests.go index e178d39d8..6313f39f6 100644 --- a/src/github.com/restic/restic/backend/test/tests.go +++ b/src/restic/backend/test/tests.go @@ -10,8 +10,8 @@ import ( "sort" "testing" - "github.com/restic/restic/backend" - . "github.com/restic/restic/test" + "restic/backend" + . "restic/test" ) // CreateFn is a function that creates a temporary repository for the tests. diff --git a/src/github.com/restic/restic/backend/test/tests_test.go b/src/restic/backend/test/tests_test.go similarity index 81% rename from src/github.com/restic/restic/backend/test/tests_test.go rename to src/restic/backend/test/tests_test.go index 22e769745..1674f1f5e 100644 --- a/src/github.com/restic/restic/backend/test/tests_test.go +++ b/src/restic/backend/test/tests_test.go @@ -3,9 +3,9 @@ package test_test import ( "errors" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/mem" - "github.com/restic/restic/backend/test" + "restic/backend" + "restic/backend/mem" + "restic/backend/test" ) var be backend.Backend diff --git a/src/github.com/restic/restic/backend/utils.go b/src/restic/backend/utils.go similarity index 100% rename from src/github.com/restic/restic/backend/utils.go rename to src/restic/backend/utils.go diff --git a/src/github.com/restic/restic/backend/utils_test.go b/src/restic/backend/utils_test.go similarity index 94% rename from src/github.com/restic/restic/backend/utils_test.go rename to src/restic/backend/utils_test.go index 00d7f5cab..ad39c3b1d 100644 --- a/src/github.com/restic/restic/backend/utils_test.go +++ b/src/restic/backend/utils_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/mem" - . "github.com/restic/restic/test" + "restic/backend" + "restic/backend/mem" + . "restic/test" ) const KiB = 1 << 10 diff --git a/src/github.com/restic/restic/build.go b/src/restic/build.go similarity index 100% rename from src/github.com/restic/restic/build.go rename to src/restic/build.go diff --git a/src/github.com/restic/restic/cache.go b/src/restic/cache.go similarity index 98% rename from src/github.com/restic/restic/cache.go rename to src/restic/cache.go index bf3fc2d05..1b00e2f95 100644 --- a/src/github.com/restic/restic/cache.go +++ b/src/restic/cache.go @@ -9,9 +9,9 @@ import ( "runtime" "strings" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/repository" ) // Cache is used to locally cache items from a repository. diff --git a/src/github.com/restic/restic/cache_test.go b/src/restic/cache_test.go similarity index 86% rename from src/github.com/restic/restic/cache_test.go rename to src/restic/cache_test.go index b480b5869..d4157b1b5 100644 --- a/src/github.com/restic/restic/cache_test.go +++ b/src/restic/cache_test.go @@ -3,8 +3,8 @@ package restic_test import ( "testing" - "github.com/restic/restic" - . "github.com/restic/restic/test" + "restic" + . "restic/test" ) func TestCache(t *testing.T) { diff --git a/src/github.com/restic/restic/checker/checker.go b/src/restic/checker/checker.go similarity index 98% rename from src/github.com/restic/restic/checker/checker.go rename to src/restic/checker/checker.go index 11becdeb7..68a8147dd 100644 --- a/src/github.com/restic/restic/checker/checker.go +++ b/src/restic/checker/checker.go @@ -6,12 +6,12 @@ import ( "fmt" "sync" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/crypto" + "restic/debug" + "restic/pack" + "restic/repository" ) // Checker runs various checks on a repository. It is advisable to create an diff --git a/src/github.com/restic/restic/checker/checker_test.go b/src/restic/checker/checker_test.go similarity index 96% rename from src/github.com/restic/restic/checker/checker_test.go rename to src/restic/checker/checker_test.go index 10b37e219..85135a98c 100644 --- a/src/github.com/restic/restic/checker/checker_test.go +++ b/src/restic/checker/checker_test.go @@ -7,12 +7,12 @@ import ( "sort" "testing" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/mem" - "github.com/restic/restic/checker" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/backend/mem" + "restic/checker" + "restic/repository" + . "restic/test" ) var checkerTestData = filepath.Join("testdata", "checker-test-repo.tar.gz") diff --git a/src/github.com/restic/restic/checker/repacker.go b/src/restic/checker/repacker.go similarity index 97% rename from src/github.com/restic/restic/checker/repacker.go rename to src/restic/checker/repacker.go index f3b158d0c..8aedfc089 100644 --- a/src/github.com/restic/restic/checker/repacker.go +++ b/src/restic/checker/repacker.go @@ -3,9 +3,9 @@ package checker import ( "errors" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/repository" ) // Repacker extracts still used blobs from packs with unused blobs and creates diff --git a/src/github.com/restic/restic/checker/repacker_test.go b/src/restic/checker/repacker_test.go similarity index 97% rename from src/github.com/restic/restic/checker/repacker_test.go rename to src/restic/checker/repacker_test.go index dcf7b2040..821828c8b 100644 --- a/src/github.com/restic/restic/checker/repacker_test.go +++ b/src/restic/checker/repacker_test.go @@ -3,10 +3,10 @@ package checker_test import ( "testing" - "github.com/restic/restic/backend" - "github.com/restic/restic/checker" + "restic/backend" + "restic/checker" - . "github.com/restic/restic/test" + . "restic/test" ) var findPackTests = []struct { diff --git a/src/github.com/restic/restic/checker/testdata/checker-test-repo.tar.gz b/src/restic/checker/testdata/checker-test-repo.tar.gz similarity index 100% rename from src/github.com/restic/restic/checker/testdata/checker-test-repo.tar.gz rename to src/restic/checker/testdata/checker-test-repo.tar.gz diff --git a/src/github.com/restic/restic/checker/testdata/duplicate-packs-in-index-test-repo.tar.gz b/src/restic/checker/testdata/duplicate-packs-in-index-test-repo.tar.gz similarity index 100% rename from src/github.com/restic/restic/checker/testdata/duplicate-packs-in-index-test-repo.tar.gz rename to src/restic/checker/testdata/duplicate-packs-in-index-test-repo.tar.gz diff --git a/src/github.com/restic/restic/cmd/restic/.gitignore b/src/restic/cmd/restic/.gitignore similarity index 100% rename from src/github.com/restic/restic/cmd/restic/.gitignore rename to src/restic/cmd/restic/.gitignore diff --git a/src/github.com/restic/restic/cmd/restic/cleanup.go b/src/restic/cmd/restic/cleanup.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cleanup.go rename to src/restic/cmd/restic/cleanup.go index b4d4771d5..32caef7b8 100644 --- a/src/github.com/restic/restic/cmd/restic/cleanup.go +++ b/src/restic/cmd/restic/cleanup.go @@ -7,7 +7,7 @@ import ( "sync" "syscall" - "github.com/restic/restic/debug" + "restic/debug" ) var cleanupHandlers struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_backup.go b/src/restic/cmd/restic/cmd_backup.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cmd_backup.go rename to src/restic/cmd/restic/cmd_backup.go index 4524001c2..3d241ef52 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_backup.go +++ b/src/restic/cmd/restic/cmd_backup.go @@ -8,12 +8,12 @@ import ( "strings" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/filter" - "github.com/restic/restic/repository" "golang.org/x/crypto/ssh/terminal" + "restic" + "restic/backend" + "restic/debug" + "restic/filter" + "restic/repository" ) type CmdBackup struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_cache.go b/src/restic/cmd/restic/cmd_cache.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cmd_cache.go rename to src/restic/cmd/restic/cmd_cache.go index 39733b997..0a7e0c5e9 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_cache.go +++ b/src/restic/cmd/restic/cmd_cache.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "github.com/restic/restic" + "restic" ) type CmdCache struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_cat.go b/src/restic/cmd/restic/cmd_cat.go similarity index 95% rename from src/github.com/restic/restic/cmd/restic/cmd_cat.go rename to src/restic/cmd/restic/cmd_cat.go index 1a7423d18..e3fdebe4c 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_cat.go +++ b/src/restic/cmd/restic/cmd_cat.go @@ -6,11 +6,11 @@ import ( "fmt" "os" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/debug" + "restic/pack" + "restic/repository" ) type CmdCat struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_check.go b/src/restic/cmd/restic/cmd_check.go similarity index 98% rename from src/github.com/restic/restic/cmd/restic/cmd_check.go rename to src/restic/cmd/restic/cmd_check.go index 8c59c2ffe..25e3ff325 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_check.go +++ b/src/restic/cmd/restic/cmd_check.go @@ -8,8 +8,8 @@ import ( "golang.org/x/crypto/ssh/terminal" - "github.com/restic/restic" - "github.com/restic/restic/checker" + "restic" + "restic/checker" ) type CmdCheck struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_dump.go b/src/restic/cmd/restic/cmd_dump.go similarity index 95% rename from src/github.com/restic/restic/cmd/restic/cmd_dump.go rename to src/restic/cmd/restic/cmd_dump.go index b7d456e4e..b75d85a6e 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_dump.go +++ b/src/restic/cmd/restic/cmd_dump.go @@ -9,10 +9,10 @@ import ( "os" "github.com/juju/errors" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/pack" + "restic/repository" ) type CmdDump struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_find.go b/src/restic/cmd/restic/cmd_find.go similarity index 96% rename from src/github.com/restic/restic/cmd/restic/cmd_find.go rename to src/restic/cmd/restic/cmd_find.go index fa2d7859e..9f96187e1 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_find.go +++ b/src/restic/cmd/restic/cmd_find.go @@ -5,10 +5,10 @@ import ( "path/filepath" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/debug" + "restic/repository" ) type findResult struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_init.go b/src/restic/cmd/restic/cmd_init.go similarity index 96% rename from src/github.com/restic/restic/cmd/restic/cmd_init.go rename to src/restic/cmd/restic/cmd_init.go index 827684b3e..ec790fe90 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_init.go +++ b/src/restic/cmd/restic/cmd_init.go @@ -3,7 +3,7 @@ package main import ( "errors" - "github.com/restic/restic/repository" + "restic/repository" ) type CmdInit struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_key.go b/src/restic/cmd/restic/cmd_key.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cmd_key.go rename to src/restic/cmd/restic/cmd_key.go index c585ae4cd..46e5b6bfd 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_key.go +++ b/src/restic/cmd/restic/cmd_key.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" + "restic/backend" + "restic/repository" ) type CmdKey struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_list.go b/src/restic/cmd/restic/cmd_list.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cmd_list.go rename to src/restic/cmd/restic/cmd_list.go index fc13ff5a1..3bfb5af9f 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_list.go +++ b/src/restic/cmd/restic/cmd_list.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/restic/restic/backend" + "restic/backend" ) type CmdList struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_ls.go b/src/restic/cmd/restic/cmd_ls.go similarity index 95% rename from src/github.com/restic/restic/cmd/restic/cmd_ls.go rename to src/restic/cmd/restic/cmd_ls.go index e3bf0242b..2f1cccf4d 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_ls.go +++ b/src/restic/cmd/restic/cmd_ls.go @@ -5,9 +5,9 @@ import ( "os" "path/filepath" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/repository" ) type CmdLs struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_mount.go b/src/restic/cmd/restic/cmd_mount.go similarity index 98% rename from src/github.com/restic/restic/cmd/restic/cmd_mount.go rename to src/restic/cmd/restic/cmd_mount.go index b8d8cb277..5baf1419a 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_mount.go +++ b/src/restic/cmd/restic/cmd_mount.go @@ -7,7 +7,7 @@ import ( "fmt" "os" - "github.com/restic/restic/fuse" + "restic/fuse" systemFuse "bazil.org/fuse" "bazil.org/fuse/fs" diff --git a/src/github.com/restic/restic/cmd/restic/cmd_optimize.go b/src/restic/cmd/restic/cmd_optimize.go similarity index 95% rename from src/github.com/restic/restic/cmd/restic/cmd_optimize.go rename to src/restic/cmd/restic/cmd_optimize.go index 1e29ce1d7..bd6f26ddf 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_optimize.go +++ b/src/restic/cmd/restic/cmd_optimize.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/restic/restic/backend" - "github.com/restic/restic/checker" + "restic/backend" + "restic/checker" ) type CmdOptimize struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_rebuild_index.go b/src/restic/cmd/restic/cmd_rebuild_index.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cmd_rebuild_index.go rename to src/restic/cmd/restic/cmd_rebuild_index.go index 27dae2392..e9d803e51 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_rebuild_index.go +++ b/src/restic/cmd/restic/cmd_rebuild_index.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/pack" + "restic/repository" ) type CmdRebuildIndex struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_restore.go b/src/restic/cmd/restic/cmd_restore.go similarity index 96% rename from src/github.com/restic/restic/cmd/restic/cmd_restore.go rename to src/restic/cmd/restic/cmd_restore.go index 0daf74966..64626e1c2 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_restore.go +++ b/src/restic/cmd/restic/cmd_restore.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" - "github.com/restic/restic" - "github.com/restic/restic/debug" - "github.com/restic/restic/filter" + "restic" + "restic/debug" + "restic/filter" ) type CmdRestore struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_snapshots.go b/src/restic/cmd/restic/cmd_snapshots.go similarity index 97% rename from src/github.com/restic/restic/cmd/restic/cmd_snapshots.go rename to src/restic/cmd/restic/cmd_snapshots.go index f1dcf72bd..95bd598a8 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_snapshots.go +++ b/src/restic/cmd/restic/cmd_snapshots.go @@ -8,8 +8,8 @@ import ( "sort" "strings" - "github.com/restic/restic" - "github.com/restic/restic/backend" + "restic" + "restic/backend" ) type Table struct { diff --git a/src/github.com/restic/restic/cmd/restic/cmd_unlock.go b/src/restic/cmd/restic/cmd_unlock.go similarity index 95% rename from src/github.com/restic/restic/cmd/restic/cmd_unlock.go rename to src/restic/cmd/restic/cmd_unlock.go index 47345350c..fa9a4c2a3 100644 --- a/src/github.com/restic/restic/cmd/restic/cmd_unlock.go +++ b/src/restic/cmd/restic/cmd_unlock.go @@ -1,6 +1,6 @@ package main -import "github.com/restic/restic" +import "restic" type CmdUnlock struct { RemoveAll bool `long:"remove-all" description:"Remove all locks, even stale ones"` diff --git a/src/github.com/restic/restic/cmd/restic/cmd_version.go b/src/restic/cmd/restic/cmd_version.go similarity index 100% rename from src/github.com/restic/restic/cmd/restic/cmd_version.go rename to src/restic/cmd/restic/cmd_version.go diff --git a/src/github.com/restic/restic/cmd/restic/doc.go b/src/restic/cmd/restic/doc.go similarity index 100% rename from src/github.com/restic/restic/cmd/restic/doc.go rename to src/restic/cmd/restic/doc.go diff --git a/src/github.com/restic/restic/cmd/restic/global.go b/src/restic/cmd/restic/global.go similarity index 96% rename from src/github.com/restic/restic/cmd/restic/global.go rename to src/restic/cmd/restic/global.go index 09ce319ab..b86138f29 100644 --- a/src/github.com/restic/restic/cmd/restic/global.go +++ b/src/restic/cmd/restic/global.go @@ -9,14 +9,14 @@ import ( "syscall" "github.com/jessevdk/go-flags" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/local" - "github.com/restic/restic/backend/s3" - "github.com/restic/restic/backend/sftp" - "github.com/restic/restic/debug" - "github.com/restic/restic/location" - "github.com/restic/restic/repository" "golang.org/x/crypto/ssh/terminal" + "restic/backend" + "restic/backend/local" + "restic/backend/s3" + "restic/backend/sftp" + "restic/debug" + "restic/location" + "restic/repository" ) var version = "compiled manually" diff --git a/src/github.com/restic/restic/cmd/restic/integration_fuse_test.go b/src/restic/cmd/restic/integration_fuse_test.go similarity index 96% rename from src/github.com/restic/restic/cmd/restic/integration_fuse_test.go rename to src/restic/cmd/restic/integration_fuse_test.go index 1e696706b..6688770e4 100644 --- a/src/github.com/restic/restic/cmd/restic/integration_fuse_test.go +++ b/src/restic/cmd/restic/integration_fuse_test.go @@ -11,10 +11,10 @@ import ( "testing" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/repository" + . "restic/test" ) const ( diff --git a/src/github.com/restic/restic/cmd/restic/integration_helpers_test.go b/src/restic/cmd/restic/integration_helpers_test.go similarity index 99% rename from src/github.com/restic/restic/cmd/restic/integration_helpers_test.go rename to src/restic/cmd/restic/integration_helpers_test.go index b3bada889..d6615f6b0 100644 --- a/src/github.com/restic/restic/cmd/restic/integration_helpers_test.go +++ b/src/restic/cmd/restic/integration_helpers_test.go @@ -8,7 +8,7 @@ import ( "runtime" "testing" - . "github.com/restic/restic/test" + . "restic/test" ) type dirEntry struct { diff --git a/src/github.com/restic/restic/cmd/restic/integration_helpers_unix_test.go b/src/restic/cmd/restic/integration_helpers_unix_test.go similarity index 100% rename from src/github.com/restic/restic/cmd/restic/integration_helpers_unix_test.go rename to src/restic/cmd/restic/integration_helpers_unix_test.go diff --git a/src/github.com/restic/restic/cmd/restic/integration_helpers_windows_test.go b/src/restic/cmd/restic/integration_helpers_windows_test.go similarity index 100% rename from src/github.com/restic/restic/cmd/restic/integration_helpers_windows_test.go rename to src/restic/cmd/restic/integration_helpers_windows_test.go diff --git a/src/github.com/restic/restic/cmd/restic/integration_test.go b/src/restic/cmd/restic/integration_test.go similarity index 99% rename from src/github.com/restic/restic/cmd/restic/integration_test.go rename to src/restic/cmd/restic/integration_test.go index bc734bf0a..aa0408c20 100644 --- a/src/github.com/restic/restic/cmd/restic/integration_test.go +++ b/src/restic/cmd/restic/integration_test.go @@ -15,11 +15,11 @@ import ( "testing" "time" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/filter" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic/backend" + "restic/debug" + "restic/filter" + "restic/repository" + . "restic/test" ) func parseIDsFromReader(t testing.TB, rd io.Reader) backend.IDs { diff --git a/src/github.com/restic/restic/cmd/restic/lock.go b/src/restic/cmd/restic/lock.go similarity index 96% rename from src/github.com/restic/restic/cmd/restic/lock.go rename to src/restic/cmd/restic/lock.go index ec4368003..283545e6e 100644 --- a/src/github.com/restic/restic/cmd/restic/lock.go +++ b/src/restic/cmd/restic/lock.go @@ -6,9 +6,9 @@ import ( "sync" "time" - "github.com/restic/restic" - "github.com/restic/restic/debug" - "github.com/restic/restic/repository" + "restic" + "restic/debug" + "restic/repository" ) var globalLocks struct { diff --git a/src/github.com/restic/restic/cmd/restic/main.go b/src/restic/cmd/restic/main.go similarity index 93% rename from src/github.com/restic/restic/cmd/restic/main.go rename to src/restic/cmd/restic/main.go index 32598fe23..3fcce230f 100644 --- a/src/github.com/restic/restic/cmd/restic/main.go +++ b/src/restic/cmd/restic/main.go @@ -6,8 +6,8 @@ import ( "runtime" "github.com/jessevdk/go-flags" - "github.com/restic/restic" - "github.com/restic/restic/debug" + "restic" + "restic/debug" ) func init() { diff --git a/src/github.com/restic/restic/cmd/restic/testdata/backup-data.tar.gz b/src/restic/cmd/restic/testdata/backup-data.tar.gz similarity index 100% rename from src/github.com/restic/restic/cmd/restic/testdata/backup-data.tar.gz rename to src/restic/cmd/restic/testdata/backup-data.tar.gz diff --git a/src/github.com/restic/restic/cmd/restic/testdata/old-index-repo.tar.gz b/src/restic/cmd/restic/testdata/old-index-repo.tar.gz similarity index 100% rename from src/github.com/restic/restic/cmd/restic/testdata/old-index-repo.tar.gz rename to src/restic/cmd/restic/testdata/old-index-repo.tar.gz diff --git a/src/github.com/restic/restic/cmd/restic/testdata/repo-restore-permissions-test.tar.gz b/src/restic/cmd/restic/testdata/repo-restore-permissions-test.tar.gz similarity index 100% rename from src/github.com/restic/restic/cmd/restic/testdata/repo-restore-permissions-test.tar.gz rename to src/restic/cmd/restic/testdata/repo-restore-permissions-test.tar.gz diff --git a/src/github.com/restic/restic/cmd/restic/testdata/small-repo.tar.gz b/src/restic/cmd/restic/testdata/small-repo.tar.gz similarity index 100% rename from src/github.com/restic/restic/cmd/restic/testdata/small-repo.tar.gz rename to src/restic/cmd/restic/testdata/small-repo.tar.gz diff --git a/src/github.com/restic/restic/crypto/buffer_pool.go b/src/restic/crypto/buffer_pool.go similarity index 100% rename from src/github.com/restic/restic/crypto/buffer_pool.go rename to src/restic/crypto/buffer_pool.go diff --git a/src/github.com/restic/restic/crypto/crypto.go b/src/restic/crypto/crypto.go similarity index 100% rename from src/github.com/restic/restic/crypto/crypto.go rename to src/restic/crypto/crypto.go diff --git a/src/github.com/restic/restic/crypto/crypto_int_test.go b/src/restic/crypto/crypto_int_test.go similarity index 100% rename from src/github.com/restic/restic/crypto/crypto_int_test.go rename to src/restic/crypto/crypto_int_test.go diff --git a/src/github.com/restic/restic/crypto/crypto_test.go b/src/restic/crypto/crypto_test.go similarity index 99% rename from src/github.com/restic/restic/crypto/crypto_test.go rename to src/restic/crypto/crypto_test.go index 311eb1835..f5e175f33 100644 --- a/src/github.com/restic/restic/crypto/crypto_test.go +++ b/src/restic/crypto/crypto_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/restic/chunker" - "github.com/restic/restic/crypto" - . "github.com/restic/restic/test" + "restic/crypto" + . "restic/test" ) const testLargeCrypto = false diff --git a/src/github.com/restic/restic/crypto/doc.go b/src/restic/crypto/doc.go similarity index 100% rename from src/github.com/restic/restic/crypto/doc.go rename to src/restic/crypto/doc.go diff --git a/src/github.com/restic/restic/crypto/reader.go b/src/restic/crypto/reader.go similarity index 100% rename from src/github.com/restic/restic/crypto/reader.go rename to src/restic/crypto/reader.go diff --git a/src/github.com/restic/restic/crypto/writer.go b/src/restic/crypto/writer.go similarity index 100% rename from src/github.com/restic/restic/crypto/writer.go rename to src/restic/crypto/writer.go diff --git a/src/github.com/restic/restic/debug/debug.go b/src/restic/debug/debug.go similarity index 100% rename from src/github.com/restic/restic/debug/debug.go rename to src/restic/debug/debug.go diff --git a/src/github.com/restic/restic/debug/debug_release.go b/src/restic/debug/debug_release.go similarity index 100% rename from src/github.com/restic/restic/debug/debug_release.go rename to src/restic/debug/debug_release.go diff --git a/src/github.com/restic/restic/debug/doc.go b/src/restic/debug/doc.go similarity index 100% rename from src/github.com/restic/restic/debug/doc.go rename to src/restic/debug/doc.go diff --git a/src/github.com/restic/restic/debug/hooks.go b/src/restic/debug/hooks.go similarity index 100% rename from src/github.com/restic/restic/debug/hooks.go rename to src/restic/debug/hooks.go diff --git a/src/github.com/restic/restic/debug/hooks_release.go b/src/restic/debug/hooks_release.go similarity index 100% rename from src/github.com/restic/restic/debug/hooks_release.go rename to src/restic/debug/hooks_release.go diff --git a/src/github.com/restic/restic/doc.go b/src/restic/doc.go similarity index 100% rename from src/github.com/restic/restic/doc.go rename to src/restic/doc.go diff --git a/src/github.com/restic/restic/doc/Design.md b/src/restic/doc/Design.md similarity index 100% rename from src/github.com/restic/restic/doc/Design.md rename to src/restic/doc/Design.md diff --git a/src/github.com/restic/restic/doc/PKGBUILD b/src/restic/doc/PKGBUILD similarity index 100% rename from src/github.com/restic/restic/doc/PKGBUILD rename to src/restic/doc/PKGBUILD diff --git a/src/github.com/restic/restic/doc/logo/font/Lemon-Regular.ttf b/src/restic/doc/logo/font/Lemon-Regular.ttf similarity index 100% rename from src/github.com/restic/restic/doc/logo/font/Lemon-Regular.ttf rename to src/restic/doc/logo/font/Lemon-Regular.ttf diff --git a/src/github.com/restic/restic/doc/logo/font/OFL.txt b/src/restic/doc/logo/font/OFL.txt similarity index 100% rename from src/github.com/restic/restic/doc/logo/font/OFL.txt rename to src/restic/doc/logo/font/OFL.txt diff --git a/src/github.com/restic/restic/doc/logo/logo.png b/src/restic/doc/logo/logo.png similarity index 100% rename from src/github.com/restic/restic/doc/logo/logo.png rename to src/restic/doc/logo/logo.png diff --git a/src/github.com/restic/restic/doc/logo/logo.svg b/src/restic/doc/logo/logo.svg similarity index 100% rename from src/github.com/restic/restic/doc/logo/logo.svg rename to src/restic/doc/logo/logo.svg diff --git a/src/github.com/restic/restic/doc/structure.svg b/src/restic/doc/structure.svg similarity index 100% rename from src/github.com/restic/restic/doc/structure.svg rename to src/restic/doc/structure.svg diff --git a/src/github.com/restic/restic/doc/test_irreducibility.gap b/src/restic/doc/test_irreducibility.gap similarity index 100% rename from src/github.com/restic/restic/doc/test_irreducibility.gap rename to src/restic/doc/test_irreducibility.gap diff --git a/src/github.com/restic/restic/filter/doc.go b/src/restic/filter/doc.go similarity index 100% rename from src/github.com/restic/restic/filter/doc.go rename to src/restic/filter/doc.go diff --git a/src/github.com/restic/restic/filter/filter.go b/src/restic/filter/filter.go similarity index 100% rename from src/github.com/restic/restic/filter/filter.go rename to src/restic/filter/filter.go diff --git a/src/github.com/restic/restic/filter/filter_test.go b/src/restic/filter/filter_test.go similarity index 99% rename from src/github.com/restic/restic/filter/filter_test.go rename to src/restic/filter/filter_test.go index 15892e910..d44dc14e8 100644 --- a/src/github.com/restic/restic/filter/filter_test.go +++ b/src/restic/filter/filter_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/restic/restic/filter" + "restic/filter" ) var matchTests = []struct { diff --git a/src/github.com/restic/restic/filter/testdata/libreoffice.txt.bz2 b/src/restic/filter/testdata/libreoffice.txt.bz2 similarity index 100% rename from src/github.com/restic/restic/filter/testdata/libreoffice.txt.bz2 rename to src/restic/filter/testdata/libreoffice.txt.bz2 diff --git a/src/github.com/restic/restic/fuse/dir.go b/src/restic/fuse/dir.go similarity index 97% rename from src/github.com/restic/restic/fuse/dir.go rename to src/restic/fuse/dir.go index a8bfeba07..0289a982f 100644 --- a/src/github.com/restic/restic/fuse/dir.go +++ b/src/restic/fuse/dir.go @@ -10,8 +10,8 @@ import ( "bazil.org/fuse/fs" "golang.org/x/net/context" - "github.com/restic/restic" - "github.com/restic/restic/repository" + "restic" + "restic/repository" ) // Statically ensure that *dir implement those interface diff --git a/src/github.com/restic/restic/fuse/file.go b/src/restic/fuse/file.go similarity index 96% rename from src/github.com/restic/restic/fuse/file.go rename to src/restic/fuse/file.go index 60e206fd5..ce7204249 100644 --- a/src/github.com/restic/restic/fuse/file.go +++ b/src/restic/fuse/file.go @@ -6,9 +6,9 @@ package fuse import ( "sync" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" + "restic" + "restic/backend" + "restic/pack" "bazil.org/fuse" "bazil.org/fuse/fs" diff --git a/src/github.com/restic/restic/fuse/file_test.go b/src/restic/fuse/file_test.go similarity index 96% rename from src/github.com/restic/restic/fuse/file_test.go rename to src/restic/fuse/file_test.go index 7abeac7c2..b334f0bc6 100644 --- a/src/github.com/restic/restic/fuse/file_test.go +++ b/src/restic/fuse/file_test.go @@ -12,10 +12,10 @@ import ( "bazil.org/fuse" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/pack" + . "restic/test" ) type MockRepo struct { diff --git a/src/github.com/restic/restic/fuse/fuse.go b/src/restic/fuse/fuse.go similarity index 90% rename from src/github.com/restic/restic/fuse/fuse.go rename to src/restic/fuse/fuse.go index da64f3938..6ef3e48cc 100644 --- a/src/github.com/restic/restic/fuse/fuse.go +++ b/src/restic/fuse/fuse.go @@ -6,7 +6,7 @@ package fuse import ( "encoding/binary" - "github.com/restic/restic/backend" + "restic/backend" ) // inodeFromBackendId returns a unique uint64 from a backend id. diff --git a/src/github.com/restic/restic/fuse/link.go b/src/restic/fuse/link.go similarity index 92% rename from src/github.com/restic/restic/fuse/link.go rename to src/restic/fuse/link.go index f963b5832..1cf02df0f 100644 --- a/src/github.com/restic/restic/fuse/link.go +++ b/src/restic/fuse/link.go @@ -6,9 +6,9 @@ package fuse import ( "bazil.org/fuse" "bazil.org/fuse/fs" - "github.com/restic/restic" - "github.com/restic/restic/repository" "golang.org/x/net/context" + "restic" + "restic/repository" ) // Statically ensure that *file implements the given interface diff --git a/src/github.com/restic/restic/fuse/snapshot.go b/src/restic/fuse/snapshot.go similarity index 96% rename from src/github.com/restic/restic/fuse/snapshot.go rename to src/restic/fuse/snapshot.go index 80476cc78..162873d84 100644 --- a/src/github.com/restic/restic/fuse/snapshot.go +++ b/src/restic/fuse/snapshot.go @@ -11,9 +11,9 @@ import ( "bazil.org/fuse" "bazil.org/fuse/fs" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/repository" "golang.org/x/net/context" ) diff --git a/src/github.com/restic/restic/location/location.go b/src/restic/location/location.go similarity index 92% rename from src/github.com/restic/restic/location/location.go rename to src/restic/location/location.go index 1f3aba1a4..8e4a8f1e2 100644 --- a/src/github.com/restic/restic/location/location.go +++ b/src/restic/location/location.go @@ -4,9 +4,9 @@ package location import ( "strings" - "github.com/restic/restic/backend/local" - "github.com/restic/restic/backend/s3" - "github.com/restic/restic/backend/sftp" + "restic/backend/local" + "restic/backend/s3" + "restic/backend/sftp" ) // Location specifies the location of a repository, including the method of diff --git a/src/github.com/restic/restic/location/location_test.go b/src/restic/location/location_test.go similarity index 97% rename from src/github.com/restic/restic/location/location_test.go rename to src/restic/location/location_test.go index ef827dcdd..8d9046348 100644 --- a/src/github.com/restic/restic/location/location_test.go +++ b/src/restic/location/location_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/restic/restic/backend/s3" - "github.com/restic/restic/backend/sftp" + "restic/backend/s3" + "restic/backend/sftp" ) var parseTests = []struct { diff --git a/src/github.com/restic/restic/lock.go b/src/restic/lock.go similarity index 98% rename from src/github.com/restic/restic/lock.go rename to src/restic/lock.go index c305e19e2..ed1593444 100644 --- a/src/github.com/restic/restic/lock.go +++ b/src/restic/lock.go @@ -9,9 +9,9 @@ import ( "syscall" "time" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/repository" ) // Lock represents a process locking the repository for an operation. diff --git a/src/github.com/restic/restic/lock_test.go b/src/restic/lock_test.go similarity index 97% rename from src/github.com/restic/restic/lock_test.go rename to src/restic/lock_test.go index 6890c44da..da8fb7a40 100644 --- a/src/github.com/restic/restic/lock_test.go +++ b/src/restic/lock_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/repository" + . "restic/test" ) func TestLock(t *testing.T) { diff --git a/src/github.com/restic/restic/lock_unix.go b/src/restic/lock_unix.go similarity index 96% rename from src/github.com/restic/restic/lock_unix.go rename to src/restic/lock_unix.go index aaf0cfdd5..04395c9a6 100644 --- a/src/github.com/restic/restic/lock_unix.go +++ b/src/restic/lock_unix.go @@ -8,7 +8,7 @@ import ( "strconv" "syscall" - "github.com/restic/restic/debug" + "restic/debug" ) // uidGidInt returns uid, gid of the user as a number. diff --git a/src/github.com/restic/restic/lock_windows.go b/src/restic/lock_windows.go similarity index 93% rename from src/github.com/restic/restic/lock_windows.go rename to src/restic/lock_windows.go index fc700a9b5..4db91e09f 100644 --- a/src/github.com/restic/restic/lock_windows.go +++ b/src/restic/lock_windows.go @@ -4,7 +4,7 @@ import ( "os" "os/user" - "github.com/restic/restic/debug" + "restic/debug" ) // uidGidInt always returns 0 on Windows, since uid isn't numbers diff --git a/src/github.com/restic/restic/node.go b/src/restic/node.go similarity index 98% rename from src/github.com/restic/restic/node.go rename to src/restic/node.go index 579027b87..38c21b204 100644 --- a/src/github.com/restic/restic/node.go +++ b/src/restic/node.go @@ -13,10 +13,10 @@ import ( "runtime" "github.com/juju/errors" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/pack" + "restic/repository" ) // Node is a file, directory or other item in a backup. diff --git a/src/github.com/restic/restic/node_darwin.go b/src/restic/node_darwin.go similarity index 100% rename from src/github.com/restic/restic/node_darwin.go rename to src/restic/node_darwin.go diff --git a/src/github.com/restic/restic/node_freebsd.go b/src/restic/node_freebsd.go similarity index 100% rename from src/github.com/restic/restic/node_freebsd.go rename to src/restic/node_freebsd.go diff --git a/src/github.com/restic/restic/node_linux.go b/src/restic/node_linux.go similarity index 100% rename from src/github.com/restic/restic/node_linux.go rename to src/restic/node_linux.go diff --git a/src/github.com/restic/restic/node_openbsd.go b/src/restic/node_openbsd.go similarity index 100% rename from src/github.com/restic/restic/node_openbsd.go rename to src/restic/node_openbsd.go diff --git a/src/github.com/restic/restic/node_test.go b/src/restic/node_test.go similarity index 98% rename from src/github.com/restic/restic/node_test.go rename to src/restic/node_test.go index 57bd6f550..e3b458c47 100644 --- a/src/github.com/restic/restic/node_test.go +++ b/src/restic/node_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + . "restic/test" ) func BenchmarkNodeFillUser(t *testing.B) { diff --git a/src/github.com/restic/restic/node_unix.go b/src/restic/node_unix.go similarity index 100% rename from src/github.com/restic/restic/node_unix.go rename to src/restic/node_unix.go diff --git a/src/github.com/restic/restic/node_windows.go b/src/restic/node_windows.go similarity index 100% rename from src/github.com/restic/restic/node_windows.go rename to src/restic/node_windows.go diff --git a/src/github.com/restic/restic/pack/doc.go b/src/restic/pack/doc.go similarity index 100% rename from src/github.com/restic/restic/pack/doc.go rename to src/restic/pack/doc.go diff --git a/src/github.com/restic/restic/pack/pack.go b/src/restic/pack/pack.go similarity index 98% rename from src/github.com/restic/restic/pack/pack.go rename to src/restic/pack/pack.go index 8a96a942d..7aa8360be 100644 --- a/src/github.com/restic/restic/pack/pack.go +++ b/src/restic/pack/pack.go @@ -8,8 +8,8 @@ import ( "io" "sync" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" + "restic/backend" + "restic/crypto" ) // BlobType specifies what a blob stored in a pack is. diff --git a/src/github.com/restic/restic/pack/pack_test.go b/src/restic/pack/pack_test.go similarity index 93% rename from src/github.com/restic/restic/pack/pack_test.go rename to src/restic/pack/pack_test.go index 0d5c1f155..97075d52d 100644 --- a/src/github.com/restic/restic/pack/pack_test.go +++ b/src/restic/pack/pack_test.go @@ -10,10 +10,10 @@ import ( "io/ioutil" "testing" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" - "github.com/restic/restic/pack" - . "github.com/restic/restic/test" + "restic/backend" + "restic/crypto" + "restic/pack" + . "restic/test" ) var lengths = []int{23, 31650, 25860, 10928, 13769, 19862, 5211, 127, 13690, 30231} diff --git a/src/github.com/restic/restic/pipe/doc.go b/src/restic/pipe/doc.go similarity index 100% rename from src/github.com/restic/restic/pipe/doc.go rename to src/restic/pipe/doc.go diff --git a/src/github.com/restic/restic/pipe/pipe.go b/src/restic/pipe/pipe.go similarity index 99% rename from src/github.com/restic/restic/pipe/pipe.go rename to src/restic/pipe/pipe.go index 45bb8a905..e46adc8a4 100644 --- a/src/github.com/restic/restic/pipe/pipe.go +++ b/src/restic/pipe/pipe.go @@ -7,7 +7,7 @@ import ( "path/filepath" "sort" - "github.com/restic/restic/debug" + "restic/debug" ) type Result interface{} diff --git a/src/github.com/restic/restic/pipe/pipe_test.go b/src/restic/pipe/pipe_test.go similarity index 99% rename from src/github.com/restic/restic/pipe/pipe_test.go rename to src/restic/pipe/pipe_test.go index 2f43fac81..719670aaa 100644 --- a/src/github.com/restic/restic/pipe/pipe_test.go +++ b/src/restic/pipe/pipe_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/restic/restic/debug" - "github.com/restic/restic/pipe" - . "github.com/restic/restic/test" + "restic/debug" + "restic/pipe" + . "restic/test" ) func isFile(fi os.FileInfo) bool { diff --git a/src/github.com/restic/restic/progress.go b/src/restic/progress.go similarity index 100% rename from src/github.com/restic/restic/progress.go rename to src/restic/progress.go diff --git a/src/github.com/restic/restic/repository/blob.go b/src/restic/repository/blob.go similarity index 95% rename from src/github.com/restic/restic/repository/blob.go rename to src/restic/repository/blob.go index 232cb613c..13cb022d1 100644 --- a/src/github.com/restic/restic/repository/blob.go +++ b/src/restic/repository/blob.go @@ -3,7 +3,7 @@ package repository import ( "fmt" - "github.com/restic/restic/backend" + "restic/backend" ) type Blob struct { diff --git a/src/github.com/restic/restic/repository/config.go b/src/restic/repository/config.go similarity index 96% rename from src/github.com/restic/restic/repository/config.go rename to src/restic/repository/config.go index 91163359d..a41517f3c 100644 --- a/src/github.com/restic/restic/repository/config.go +++ b/src/restic/repository/config.go @@ -8,8 +8,8 @@ import ( "io" "github.com/restic/chunker" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" + "restic/backend" + "restic/debug" ) // Config contains the configuration for a repository. diff --git a/src/github.com/restic/restic/repository/config_test.go b/src/restic/repository/config_test.go similarity index 91% rename from src/github.com/restic/restic/repository/config_test.go rename to src/restic/repository/config_test.go index 3b5dc381d..10fc61d94 100644 --- a/src/github.com/restic/restic/repository/config_test.go +++ b/src/restic/repository/config_test.go @@ -3,9 +3,9 @@ package repository_test import ( "testing" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic/backend" + "restic/repository" + . "restic/test" ) type saver func(backend.Type, interface{}) (backend.ID, error) diff --git a/src/github.com/restic/restic/repository/doc.go b/src/restic/repository/doc.go similarity index 100% rename from src/github.com/restic/restic/repository/doc.go rename to src/restic/repository/doc.go diff --git a/src/github.com/restic/restic/repository/index.go b/src/restic/repository/index.go similarity index 99% rename from src/github.com/restic/restic/repository/index.go rename to src/restic/repository/index.go index 87a53c8ac..c5c75a403 100644 --- a/src/github.com/restic/restic/repository/index.go +++ b/src/restic/repository/index.go @@ -9,10 +9,10 @@ import ( "sync" "time" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" + "restic/backend" + "restic/crypto" + "restic/debug" + "restic/pack" ) // Index holds a lookup table for id -> pack. diff --git a/src/github.com/restic/restic/repository/index_test.go b/src/restic/repository/index_test.go similarity index 98% rename from src/github.com/restic/restic/repository/index_test.go rename to src/restic/repository/index_test.go index 2e8a51e84..0fafc409c 100644 --- a/src/github.com/restic/restic/repository/index_test.go +++ b/src/restic/repository/index_test.go @@ -6,10 +6,10 @@ import ( "io" "testing" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic/backend" + "restic/pack" + "restic/repository" + . "restic/test" ) func randomID() backend.ID { diff --git a/src/github.com/restic/restic/repository/key.go b/src/restic/repository/key.go similarity index 97% rename from src/github.com/restic/restic/repository/key.go rename to src/restic/repository/key.go index c44b43710..42c5a591a 100644 --- a/src/github.com/restic/restic/repository/key.go +++ b/src/restic/repository/key.go @@ -9,9 +9,9 @@ import ( "os/user" "time" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" - "github.com/restic/restic/debug" + "restic/backend" + "restic/crypto" + "restic/debug" ) var ( diff --git a/src/github.com/restic/restic/repository/master_index.go b/src/restic/repository/master_index.go similarity index 98% rename from src/github.com/restic/restic/repository/master_index.go rename to src/restic/repository/master_index.go index 432754c53..5fcf63378 100644 --- a/src/github.com/restic/restic/repository/master_index.go +++ b/src/restic/repository/master_index.go @@ -4,9 +4,9 @@ import ( "fmt" "sync" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" + "restic/backend" + "restic/debug" + "restic/pack" ) // MasterIndex is a collection of indexes and IDs of chunks that are in the process of being saved. diff --git a/src/github.com/restic/restic/repository/packer_manager.go b/src/restic/repository/packer_manager.go similarity index 94% rename from src/github.com/restic/restic/repository/packer_manager.go rename to src/restic/repository/packer_manager.go index 4e9ea4bc0..51a8ae888 100644 --- a/src/github.com/restic/restic/repository/packer_manager.go +++ b/src/restic/repository/packer_manager.go @@ -4,10 +4,10 @@ import ( "sync" "github.com/restic/chunker" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" + "restic/backend" + "restic/crypto" + "restic/debug" + "restic/pack" ) // packerManager keeps a list of open packs and creates new on demand. diff --git a/src/github.com/restic/restic/repository/parallel.go b/src/restic/repository/parallel.go similarity index 98% rename from src/github.com/restic/restic/repository/parallel.go rename to src/restic/repository/parallel.go index 19ba567c5..ff659f1fe 100644 --- a/src/github.com/restic/restic/repository/parallel.go +++ b/src/restic/repository/parallel.go @@ -3,7 +3,7 @@ package repository import ( "sync" - "github.com/restic/restic/backend" + "restic/backend" ) func closeIfOpen(ch chan struct{}) { diff --git a/src/github.com/restic/restic/repository/parallel_test.go b/src/restic/repository/parallel_test.go similarity index 97% rename from src/github.com/restic/restic/repository/parallel_test.go rename to src/restic/repository/parallel_test.go index fb33e8677..dfcce0a15 100644 --- a/src/github.com/restic/restic/repository/parallel_test.go +++ b/src/restic/repository/parallel_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic/backend" + "restic/repository" + . "restic/test" ) type testIDs []string diff --git a/src/github.com/restic/restic/repository/pool.go b/src/restic/repository/pool.go similarity index 100% rename from src/github.com/restic/restic/repository/pool.go rename to src/restic/repository/pool.go diff --git a/src/github.com/restic/restic/repository/repository.go b/src/restic/repository/repository.go similarity index 99% rename from src/github.com/restic/restic/repository/repository.go rename to src/restic/repository/repository.go index 27fe5d9c6..cc34682e8 100644 --- a/src/github.com/restic/restic/repository/repository.go +++ b/src/restic/repository/repository.go @@ -9,10 +9,10 @@ import ( "io/ioutil" "os" - "github.com/restic/restic/backend" - "github.com/restic/restic/crypto" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" + "restic/backend" + "restic/crypto" + "restic/debug" + "restic/pack" ) // Repository is used to access a repository in a backend. diff --git a/src/github.com/restic/restic/repository/repository_test.go b/src/restic/repository/repository_test.go similarity index 97% rename from src/github.com/restic/restic/repository/repository_test.go rename to src/restic/repository/repository_test.go index 81378742b..3ca9582df 100644 --- a/src/github.com/restic/restic/repository/repository_test.go +++ b/src/restic/repository/repository_test.go @@ -10,11 +10,11 @@ import ( "path/filepath" "testing" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/pack" + "restic/repository" + . "restic/test" ) type testJSONStruct struct { diff --git a/src/github.com/restic/restic/repository/testdata/test-repo.tar.gz b/src/restic/repository/testdata/test-repo.tar.gz similarity index 100% rename from src/github.com/restic/restic/repository/testdata/test-repo.tar.gz rename to src/restic/repository/testdata/test-repo.tar.gz diff --git a/src/github.com/restic/restic/restorer.go b/src/restic/restorer.go similarity index 96% rename from src/github.com/restic/restic/restorer.go rename to src/restic/restorer.go index d9c6ba0e3..a093b5e40 100644 --- a/src/github.com/restic/restic/restorer.go +++ b/src/restic/restorer.go @@ -5,9 +5,9 @@ import ( "os" "path/filepath" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/repository" + "restic/backend" + "restic/debug" + "restic/repository" "github.com/juju/errors" ) diff --git a/src/github.com/restic/restic/run_integration_tests.go b/src/restic/run_integration_tests.go similarity index 100% rename from src/github.com/restic/restic/run_integration_tests.go rename to src/restic/run_integration_tests.go diff --git a/src/github.com/restic/restic/snapshot.go b/src/restic/snapshot.go similarity index 96% rename from src/github.com/restic/restic/snapshot.go rename to src/restic/snapshot.go index 91c40a62d..6b4e87298 100644 --- a/src/github.com/restic/restic/snapshot.go +++ b/src/restic/snapshot.go @@ -7,8 +7,8 @@ import ( "path/filepath" "time" - "github.com/restic/restic/backend" - "github.com/restic/restic/repository" + "restic/backend" + "restic/repository" ) type Snapshot struct { diff --git a/src/github.com/restic/restic/snapshot_test.go b/src/restic/snapshot_test.go similarity index 72% rename from src/github.com/restic/restic/snapshot_test.go rename to src/restic/snapshot_test.go index 649e9a1f4..35474eb2b 100644 --- a/src/github.com/restic/restic/snapshot_test.go +++ b/src/restic/snapshot_test.go @@ -3,8 +3,8 @@ package restic_test import ( "testing" - "github.com/restic/restic" - . "github.com/restic/restic/test" + "restic" + . "restic/test" ) func TestNewSnapshot(t *testing.T) { diff --git a/src/github.com/restic/restic/test/backend.go b/src/restic/test/backend.go similarity index 93% rename from src/github.com/restic/restic/test/backend.go rename to src/restic/test/backend.go index 4da1f24f9..ca9ee45b0 100644 --- a/src/github.com/restic/restic/test/backend.go +++ b/src/restic/test/backend.go @@ -7,10 +7,10 @@ import ( "path/filepath" "testing" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/local" - "github.com/restic/restic/repository" + "restic" + "restic/backend" + "restic/backend/local" + "restic/repository" ) var ( diff --git a/src/github.com/restic/restic/test/doc.go b/src/restic/test/doc.go similarity index 100% rename from src/github.com/restic/restic/test/doc.go rename to src/restic/test/doc.go diff --git a/src/github.com/restic/restic/test/helpers.go b/src/restic/test/helpers.go similarity index 97% rename from src/github.com/restic/restic/test/helpers.go rename to src/restic/test/helpers.go index 636dddd8f..4c3280fba 100644 --- a/src/github.com/restic/restic/test/helpers.go +++ b/src/restic/test/helpers.go @@ -16,9 +16,9 @@ import ( mrand "math/rand" - "github.com/restic/restic/backend" - "github.com/restic/restic/backend/local" - "github.com/restic/restic/repository" + "restic/backend" + "restic/backend/local" + "restic/repository" ) // Assert fails the test if the condition is false. diff --git a/src/github.com/restic/restic/testdata/walktree-test-repo.tar.gz b/src/restic/testdata/walktree-test-repo.tar.gz similarity index 100% rename from src/github.com/restic/restic/testdata/walktree-test-repo.tar.gz rename to src/restic/testdata/walktree-test-repo.tar.gz diff --git a/src/github.com/restic/restic/tree.go b/src/restic/tree.go similarity index 95% rename from src/github.com/restic/restic/tree.go rename to src/restic/tree.go index b4d340ee2..067dc6b7e 100644 --- a/src/github.com/restic/restic/tree.go +++ b/src/restic/tree.go @@ -5,9 +5,9 @@ import ( "fmt" "sort" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" + "restic/backend" + "restic/debug" + "restic/pack" ) type Tree struct { diff --git a/src/github.com/restic/restic/tree_test.go b/src/restic/tree_test.go similarity index 95% rename from src/github.com/restic/restic/tree_test.go rename to src/restic/tree_test.go index ad8f7f5fa..2f85819fb 100644 --- a/src/github.com/restic/restic/tree_test.go +++ b/src/restic/tree_test.go @@ -7,9 +7,9 @@ import ( "path/filepath" "testing" - "github.com/restic/restic" - "github.com/restic/restic/pack" - . "github.com/restic/restic/test" + "restic" + "restic/pack" + . "restic/test" ) var testFiles = []struct { diff --git a/src/github.com/restic/restic/walk.go b/src/restic/walk.go similarity index 97% rename from src/github.com/restic/restic/walk.go rename to src/restic/walk.go index 699a60071..2978e8500 100644 --- a/src/github.com/restic/restic/walk.go +++ b/src/restic/walk.go @@ -6,9 +6,9 @@ import ( "path/filepath" "sync" - "github.com/restic/restic/backend" - "github.com/restic/restic/debug" - "github.com/restic/restic/pack" + "restic/backend" + "restic/debug" + "restic/pack" ) // WalkTreeJob is a job sent from the tree walker. diff --git a/src/github.com/restic/restic/walk_test.go b/src/restic/walk_test.go similarity index 99% rename from src/github.com/restic/restic/walk_test.go rename to src/restic/walk_test.go index 43cb9c24d..cce0e2300 100644 --- a/src/github.com/restic/restic/walk_test.go +++ b/src/restic/walk_test.go @@ -7,12 +7,12 @@ import ( "testing" "time" - "github.com/restic/restic" - "github.com/restic/restic/backend" - "github.com/restic/restic/pack" - "github.com/restic/restic/pipe" - "github.com/restic/restic/repository" - . "github.com/restic/restic/test" + "restic" + "restic/backend" + "restic/pack" + "restic/pipe" + "restic/repository" + . "restic/test" ) func TestWalkTree(t *testing.T) {