Compare commits
6 Commits
v0.2.0-rc1
...
v0.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 84eefa57bc | |||
| ad77371e38 | |||
| c524acb2df | |||
| 3edfe535c6 | |||
| d3b99e8e39 | |||
| 3c03f21419 |
Vendored
+4
-2
@@ -21,8 +21,10 @@ RestrictRealtime=yes
|
|||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
|
|
||||||
# BEGIN ProtectHome
|
# BEGIN ProtectHome
|
||||||
ProtectHome=read-only # DEBIAN STRETCH
|
# DEBIAN STRETCH
|
||||||
# ProtectHome=tmpfs # FEDORA 28 / 29
|
ProtectHome=read-only
|
||||||
|
# FEDORA 28 / 29
|
||||||
|
# ProtectHome=tmpfs
|
||||||
# END ProtectHome
|
# END ProtectHome
|
||||||
|
|
||||||
# BEGIN SystemCallFilter
|
# BEGIN SystemCallFilter
|
||||||
|
|||||||
+2
-1
@@ -56,7 +56,8 @@ We use the following annotations for classifying changes:
|
|||||||
| zrepl is a spare-time project primarily developed by `Christian Schwarz <https://cschwarz.com>`_.
|
| zrepl is a spare-time project primarily developed by `Christian Schwarz <https://cschwarz.com>`_.
|
||||||
| You can support maintenance and feature development through one of the following services:
|
| You can support maintenance and feature development through one of the following services:
|
||||||
| |Donate via Patreon| |Donate via Liberapay| |Donate via PayPal|
|
| |Donate via Patreon| |Donate via Liberapay| |Donate via PayPal|
|
||||||
| For commerical support, please `contact Christian directly <https://cschwarz.com>`_.
|
| Note that PayPal processing fees are relatively high for small donations.
|
||||||
|
| For SEPA wire transfer and **commerical support**, please `contact Christian directly <https://cschwarz.com>`_.
|
||||||
|
|
||||||
|
|
||||||
0.1.1
|
0.1.1
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ Main Features
|
|||||||
* **Filesystem replication**
|
* **Filesystem replication**
|
||||||
|
|
||||||
* [x] Pull & Push mode
|
* [x] Pull & Push mode
|
||||||
* [x] Multiple transport :ref:`transports <transport>`: TCP, TCP + TLS client auth, SSH
|
* [x] Multiple :ref:`transport modes <transport>`: TCP, TCP + TLS client auth, SSH
|
||||||
|
|
||||||
* Advanced replication features
|
* Advanced replication features
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,9 @@ The following list may be incomplete, feel free to submit a PR with an update:
|
|||||||
* - MacOS
|
* - MacOS
|
||||||
- ``brew install zrepl``
|
- ``brew install zrepl``
|
||||||
- Available on `homebrew <https://brew.sh>`_
|
- Available on `homebrew <https://brew.sh>`_
|
||||||
|
* - Arch Linux
|
||||||
|
- ``yay install zrepl-bin``
|
||||||
|
- Available on `AUR <https://aur.archlinux.org/packages/zrepl-bin>`_
|
||||||
* - Others
|
* - Others
|
||||||
-
|
-
|
||||||
- Use `binary releases`_ or build from source.
|
- Use `binary releases`_ or build from source.
|
||||||
|
|||||||
+2
-2
@@ -55,8 +55,8 @@ set -e
|
|||||||
sphinx-versioning build \
|
sphinx-versioning build \
|
||||||
--show-banner \
|
--show-banner \
|
||||||
--whitelist-branches '^master$' \
|
--whitelist-branches '^master$' \
|
||||||
--whitelist-tags '(v)?\d+\.\d+\.\d+$' \
|
--whitelist-tags '(v)?\d+\.[1-9][0-9]*.\d+$' \
|
||||||
--whitelist-tags '(v)?0.1.0-rc(3|4)$' \
|
--whitelist-tags '(v)?0.2.0-rc.*$' \
|
||||||
docs ./public_git \
|
docs ./public_git \
|
||||||
-- -c sphinxconf # older conf.py throw errors because they used
|
-- -c sphinxconf # older conf.py throw errors because they used
|
||||||
# version = subprocess.show_output(["git", "describe"])
|
# version = subprocess.show_output(["git", "describe"])
|
||||||
|
|||||||
+2
-1
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
zrepl is a spare-time project primarily developed by `Christian Schwarz <https://cschwarz.com>`_.
|
zrepl is a spare-time project primarily developed by `Christian Schwarz <https://cschwarz.com>`_.
|
||||||
You can support maintenance and feature development through one of the services listed above.
|
You can support maintenance and feature development through one of the services listed above.
|
||||||
For commerical support, please `contact Christian directly <https://cschwarz.com>`_.
|
For SEPA wire transfer and **commerical support**, please `contact Christian directly <https://cschwarz.com>`_.
|
||||||
|
|
||||||
**Thanks for your support!**
|
**Thanks for your support!**
|
||||||
|
|
||||||
@@ -20,6 +20,7 @@ Supporters
|
|||||||
|
|
||||||
We would like to thank the following people / organizations for supporting zrepl through monetary and other means:
|
We would like to thank the following people / organizations for supporting zrepl through monetary and other means:
|
||||||
|
|
||||||
|
* `Marshall Clyburn <https://github.com/mdclyburn>`_
|
||||||
* `Ross Williams <https://github.com/overhacked>`_
|
* `Ross Williams <https://github.com/overhacked>`_
|
||||||
* Mike T.
|
* Mike T.
|
||||||
* `Justin Scholz <https://github.com/JMoVS>`_
|
* `Justin Scholz <https://github.com/JMoVS>`_
|
||||||
|
|||||||
+1
-1
@@ -96,7 +96,7 @@ We define a **push job** named ``prod_to_backups`` in ``/etc/zrepl/zrepl.yml`` o
|
|||||||
key: /etc/zrepl/prod.key
|
key: /etc/zrepl/prod.key
|
||||||
server_cn: "backups"
|
server_cn: "backups"
|
||||||
filesystems: {
|
filesystems: {
|
||||||
"zroot/var/db:": true,
|
"zroot/var/db": true,
|
||||||
"zroot/usr/home<": true,
|
"zroot/usr/home<": true,
|
||||||
"zroot/usr/home/paranoid": false
|
"zroot/usr/home/paranoid": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,9 +36,7 @@ func ClientConn(cn transport.Connecter, log Logger) *grpc.ClientConn {
|
|||||||
})
|
})
|
||||||
dialerOption := grpc.WithDialer(grpcclientidentity.NewDialer(log, cn))
|
dialerOption := grpc.WithDialer(grpcclientidentity.NewDialer(log, cn))
|
||||||
cred := grpc.WithTransportCredentials(grpcclientidentity.NewTransportCredentials(log))
|
cred := grpc.WithTransportCredentials(grpcclientidentity.NewTransportCredentials(log))
|
||||||
ctx, cancel := context.WithTimeout(context.TODO(), 5*time.Second) // FIXME constant
|
cc, err := grpc.DialContext(context.Background(), "doesn't matter done by dialer", dialerOption, cred, ka)
|
||||||
defer cancel()
|
|
||||||
cc, err := grpc.DialContext(ctx, "doesn't matter done by dialer", dialerOption, cred, ka)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Error("cannot create gRPC client conn (non-blocking)")
|
log.WithError(err).Error("cannot create gRPC client conn (non-blocking)")
|
||||||
// It's ok to panic here: the we call grpc.DialContext without the
|
// It's ok to panic here: the we call grpc.DialContext without the
|
||||||
|
|||||||
Reference in New Issue
Block a user