Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 43a5afe56e | |||
| d916c93cf9 | |||
| 46d9be415c | |||
| b93a06d237 |
@@ -126,13 +126,17 @@ The procedure to issue a release is as follows:
|
|||||||
claude --permission-mode default '/draft-release v0.7.0'
|
claude --permission-mode default '/draft-release v0.7.0'
|
||||||
```
|
```
|
||||||
This command will verify that artifacts are ready, create the draft release, and upload all artifacts.
|
This command will verify that artifacts are ready, create the draft release, and upload all artifacts.
|
||||||
* Review the draft release on GitHub, then publish.
|
* Review the draft release on GitHub, then publish,
|
||||||
|
with the box checked to create a GitHub "Discussion" for the release.
|
||||||
|
* Immediately after hitting publish.
|
||||||
|
* Update the release on GitHub to link to the discussion.
|
||||||
|
* Update `docs/changelog.rst` to link to the GitHub release.
|
||||||
|
* Update `docs/_templates/versions.html` to link to the GitHub release.
|
||||||
|
* Announce release in the zrepl Matrix channel & other socials as applicable.
|
||||||
|
Link to the GitHub release as the entrypoint.
|
||||||
|
* After a couple of days
|
||||||
* Add the .rpm and .deb files to the official zrepl repos.
|
* Add the .rpm and .deb files to the official zrepl repos.
|
||||||
* Code for management of these repos: https://github.com/zrepl/package-repo-ops (private repo at this time)
|
* Code for management of these repos: https://github.com/zrepl/package-repo-ops (private repo at this time)
|
||||||
* Update docs version list:
|
|
||||||
* Update `docs/_templates/versions.html` with the new release.
|
|
||||||
* Verify the link to `zrepl-noarch.tar` in the GitHub release works.
|
|
||||||
* Merge to `master` (docs auto-publish).
|
|
||||||
|
|
||||||
#### Patch releases, Go toolchain updates, APT/RPM Package rebuilds
|
#### Patch releases, Go toolchain updates, APT/RPM Package rebuilds
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
@@ -7,6 +7,7 @@
|
|||||||
<div class="rst-other-versions">
|
<div class="rst-other-versions">
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Releases</dt>
|
<dt>Releases</dt>
|
||||||
|
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.7.0">v0.7.0</a></dd>
|
||||||
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.6.1">v0.6.1</a></dd>
|
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.6.1">v0.6.1</a></dd>
|
||||||
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.5.0">v0.5.0</a></dd>
|
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.5.0">v0.5.0</a></dd>
|
||||||
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.4.0">v0.4.0</a></dd>
|
<dd><a href="https://github.com/zrepl/zrepl/releases/tag/v0.4.0">v0.4.0</a></dd>
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ Changelog
|
|||||||
0.7.0
|
0.7.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
`GitHub Release <https://github.com/zrepl/zrepl/releases/tag/v0.7.0>`_
|
||||||
|
|
||||||
* |feature| Config file inclusion using ``include`` directive.
|
* |feature| Config file inclusion using ``include`` directive.
|
||||||
This allows distributing zrepl job definitions across multiple YAML files in a ``conf.d`` style directory.
|
This allows distributing zrepl job definitions across multiple YAML files in a ``conf.d`` style directory.
|
||||||
(:commit:`4d6583e`, thanks, `@ZeyadTamimi <https://github.com/zeyadtamimi>`_).
|
(:commit:`4d6583e`, thanks, `@ZeyadTamimi <https://github.com/zeyadtamimi>`_).
|
||||||
|
|||||||
@@ -3,56 +3,10 @@
|
|||||||
User Privileges
|
User Privileges
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
zrepl can run as an unprivileged user with `ZFS delegation <https://www.freebsd.org/doc/handbook/zfs-zfs-allow.html>`_.
|
It is possible to run zrepl as an unprivileged user in combination with
|
||||||
**Help us document working setups on this page** by opening a PR!
|
`ZFS delegation <https://www.freebsd.org/doc/handbook/zfs-zfs-allow.html>`_.
|
||||||
|
Also, there is the possibility to run it in a jail on FreeBSD by delegating a dataset to the jail.
|
||||||
|
|
||||||
.. NOTE::
|
.. TIP::
|
||||||
|
|
||||||
Keep in mind that ``zfs send``/``recv`` was never designed with
|
Note: check out the :ref:`installation-freebsd-jail-with-iocage` for FreeBSD jail setup instructions.
|
||||||
untrusted input in mind. An attacker controlling the send-recv stream could probably crash the
|
|
||||||
receive-side kernel, exploit bugs to get code execution, or induce stateful damage to the receive-side pool.
|
|
||||||
|
|
||||||
|
|
||||||
Known Working Setups
|
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
.. list-table::
|
|
||||||
:header-rows: 1
|
|
||||||
:widths: 15 40 20
|
|
||||||
|
|
||||||
* - OS
|
|
||||||
- Use Case
|
|
||||||
- Last Tested Version
|
|
||||||
* - Linux
|
|
||||||
- sink job (receiving)
|
|
||||||
- v0.7.0
|
|
||||||
|
|
||||||
.. _installation-user-privileges-my-example-setup:
|
|
||||||
|
|
||||||
My Example Setup
|
|
||||||
^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
I'm on Linux (Ubuntu ...) and run ``zrepl daemon`` as an unprivileged user, using a custom systemd unit file.
|
|
||||||
|
|
||||||
:: code-block:: bash
|
|
||||||
...
|
|
||||||
[Service]
|
|
||||||
User=zrepl
|
|
||||||
Group=zrepl
|
|
||||||
...
|
|
||||||
|
|
||||||
I set up the ZFS persmissions as follows:
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
# receiving side root filesystem
|
|
||||||
zfs allow -u zrepl bookmark,create,destroy,hold,mount,mountpoint,receive,refreservation,userprop backuppool/zrepl
|
|
||||||
# sending side
|
|
||||||
zfs allow -u zrepl bookmark,destroy,hold,send,userprop prodpool
|
|
||||||
|
|
||||||
**Notes:**
|
|
||||||
|
|
||||||
* ``snapshot`` is NOT needed for receiving (only for pruning operations)
|
|
||||||
* ``refreservation`` avoids non-sparse volume issues on receiving side
|
|
||||||
* Add ``snapshot`` if your jobs perform sender or receiver-side pruning
|
|
||||||
* Encryption and other features may require additional permissions
|
|
||||||
|
|||||||
@@ -35,6 +35,11 @@ We would like to thank the following people and organizations for supporting zre
|
|||||||
..
|
..
|
||||||
The list below is (roughly) sorted by date of latest contribution, newest first.
|
The list below is (roughly) sorted by date of latest contribution, newest first.
|
||||||
|
|
||||||
|
..
|
||||||
|
↓ post v0.7.0
|
||||||
|
|
||||||
|
* |supporter-std| `drbawb <https://git.sr.ht/~hime>`_
|
||||||
|
|
||||||
..
|
..
|
||||||
↓ claude --permission-mode default /update-supporters v0.6.1..v0.7.0
|
↓ claude --permission-mode default /update-supporters v0.6.1..v0.7.0
|
||||||
|
|
||||||
|
|||||||
Generated
+3
-3
@@ -283,11 +283,11 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "urllib3"
|
name = "urllib3"
|
||||||
version = "2.6.3"
|
version = "2.7.0"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556, upload-time = "2026-01-07T16:24:43.925Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584, upload-time = "2026-01-07T16:24:42.685Z" },
|
{ url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ cp -a internal/config/samples %{buildroot}%{_datadir}/
|
|||||||
%{_bindir}/zrepl
|
%{_bindir}/zrepl
|
||||||
%config %{_unitdir}/zrepl.service
|
%config %{_unitdir}/zrepl.service
|
||||||
%dir %{_sysconfdir}/zrepl
|
%dir %{_sysconfdir}/zrepl
|
||||||
%config %{_sysconfdir}/zrepl/zrepl.yml
|
%config(noreplace) %{_sysconfdir}/zrepl/zrepl.yml
|
||||||
%{_datadir}/zsh/site-functions/_zrepl
|
%{_datadir}/zsh/site-functions/_zrepl
|
||||||
%{_datadir}/bash-completion/completions/zrepl
|
%{_datadir}/bash-completion/completions/zrepl
|
||||||
%{_datadir}/doc/zrepl
|
%{_datadir}/doc/zrepl
|
||||||
|
|||||||
Reference in New Issue
Block a user