diff --git a/Makefile b/Makefile index 7d55740..584fb35 100644 --- a/Makefile +++ b/Makefile @@ -177,14 +177,14 @@ wrapup-and-checksum: tar --mtime='1970-01-01' --sort=name \ --transform 's/$(ARTIFACTDIR)/zrepl-$(_ZREPL_VERSION)-noarch/' \ --transform 's#dist#zrepl-$(_ZREPL_VERSION)-noarch/dist#' \ - --transform 's#config/samples#zrepl-$(_ZREPL_VERSION)-noarch/config#' \ + --transform 's#internal/config/samples#zrepl-$(_ZREPL_VERSION)-noarch/config#' \ -acf $(NOARCH_TARBALL) \ $(ARTIFACTDIR)/docs/html \ $(ARTIFACTDIR)/bash_completion \ $(ARTIFACTDIR)/_zrepl.zsh_completion \ $(ARTIFACTDIR)/go_env.txt \ dist \ - config/samples + internal/config/samples rm -rf "$(ARTIFACTDIR)/release" mkdir -p "$(ARTIFACTDIR)/release" cp -l $(ARTIFACTDIR)/zrepl* \ @@ -282,7 +282,7 @@ cover-platform: TEST_PLATFORM_BIN_PATH := $(ARTIFACTDIR)/platformtest-$(ZREPL_TARGET_TUPLE) test-platform-bin: - $(GO_BUILD) -o "$(TEST_PLATFORM_BIN_PATH)" ./platformtest/harness + $(GO_BUILD) -o "$(TEST_PLATFORM_BIN_PATH)" ./internal/platformtest/harness test-platform: export _TEST_PLATFORM_CMD="\"$(TEST_PLATFORM_BIN_PATH)\""; \ $(MAKE) _test-or-cover-platform-impl @@ -299,7 +299,7 @@ ifndef _TEST_PLATFORM_CMD endif rm -f "$(ZREPL_PLATFORMTEST_ZFS_LOG)" rm -f "$(ARTIFACTDIR)/platformtest.cover" - platformtest/logmockzfs/logzfsenv "$(ZREPL_PLATFORMTEST_ZFS_LOG)" `which zfs` \ + internal/platformtest/logmockzfs/logzfsenv "$(ZREPL_PLATFORMTEST_ZFS_LOG)" `which zfs` \ $(_TEST_PLATFORM_CMD) \ -poolname "$(ZREPL_PLATFORMTEST_POOLNAME)" \ -imagepath "$(ZREPL_PLATFORMTEST_IMAGEPATH)" \ diff --git a/docs/conf.py b/docs/conf.py index 28a9a41..79e3cab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -181,7 +181,7 @@ texinfo_documents = [ extlinks = { 'issue':('https://github.com/zrepl/zrepl/issues/%s', 'issue #%s'), 'repomasterlink':('https://github.com/zrepl/zrepl/blob/master/%s', '%s'), - 'sampleconf':('https://github.com/zrepl/zrepl/blob/master/config/samples%s', 'config/samples%s'), + 'sampleconf':('https://github.com/zrepl/zrepl/blob/master/internal/config/samples%s', 'internal/config/samples%s'), 'commit':('https://github.com/zrepl/zrepl/commit/%s', 'commit %s'), } diff --git a/docs/quickstart/backup_to_external_disk.rst b/docs/quickstart/backup_to_external_disk.rst index 6019bcf..5e47545 100644 --- a/docs/quickstart/backup_to_external_disk.rst +++ b/docs/quickstart/backup_to_external_disk.rst @@ -31,7 +31,7 @@ A few additional requirements: The following config snippet implements the setup described above. You will likely want to customize some aspects mentioned in the top comment in the file. -.. literalinclude:: ../../config/samples/quickstart_backup_to_external_disk.yml +.. literalinclude:: ../../internal/config/samples/quickstart_backup_to_external_disk.yml Offline Backups with two (or more) External Disks @@ -43,7 +43,7 @@ To accomplish this, * create one zpool per external HDD, each with a unique name, and * define a pair of ``push`` and ``sink`` job **for each** of these zpools, each with a unique ``name``, ``listener_name``, and ``root_fs``. -The unique names ensure that the jobs don't step on each others' toes when managing :ref:`zrepl's ZFS abstractions ` . +The unique names ensure that the jobs don't step on each others' toes when managing :ref:`zrepl's ZFS abstractions ` . -:ref:`Click here ` to go back to the quickstart guide. \ No newline at end of file +:ref:`Click here ` to go back to the quickstart guide. diff --git a/docs/quickstart/continuous_server_backup.rst b/docs/quickstart/continuous_server_backup.rst index ef76d8c..2f01810 100644 --- a/docs/quickstart/continuous_server_backup.rst +++ b/docs/quickstart/continuous_server_backup.rst @@ -77,7 +77,7 @@ Configure server ``prod`` We define a **push job** named ``prod_to_backups`` in ``/etc/zrepl/zrepl.yml`` on host ``prod`` : -.. literalinclude:: ../../config/samples/quickstart_continuous_server_backup_sender.yml +.. literalinclude:: ../../internal/config/samples/quickstart_continuous_server_backup_sender.yml .. _tutorial-configure-prod: @@ -86,7 +86,7 @@ Configure server ``backups`` We define a corresponding **sink job** named ``sink`` in ``/etc/zrepl/zrepl.yml`` on host ``backups`` : -.. literalinclude:: ../../config/samples/quickstart_continuous_server_backup_receiver.yml +.. literalinclude:: ../../internal/config/samples/quickstart_continuous_server_backup_receiver.yml Go Back To Quickstart Guide --------------------------- diff --git a/docs/quickstart/fan_out_replication.rst b/docs/quickstart/fan_out_replication.rst index 6c546e9..d986777 100644 --- a/docs/quickstart/fan_out_replication.rst +++ b/docs/quickstart/fan_out_replication.rst @@ -80,12 +80,12 @@ Mutual TLS via the :ref:`TLS client authentication transport