Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] synapse: update to 1.50.0.
@ 2022-01-18 13:45 TinfoilSubmarine
  2022-01-18 17:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-18 13:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]

There is a new pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11343 bytes --]

From aac8a9efdcf930538e86f4b25676250a39bf5883 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From ae5266246193492c36d16c4283747f859e27b1e2 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From 4b5324b84d83a76ffd0043b2445376f29d09f937 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b03e995ae1b5
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+distfiles="${PYPI_SITE}/t/txredisapi/txredisapi-${version}.tar.gz"
+checksum=e6cc43f51e35d608abdca8f8c7d20e148fe1d82679f6e584baea613ebec812bb

From 0bd04a94385696c1cc81857bb4de2ce5551d35ca Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.0.

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      |  9 +-
 5 files changed, 7 insertions(+), 108 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..e428cf06bbde 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,21 +11,22 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=90ddc7d910f62036b04ab2afa2f676772475731dc0fcfc71ba0a0640d1007ed6
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
 do_check() {

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
@ 2022-01-18 17:43 ` TinfoilSubmarine
  2022-01-20  0:25 ` [PR REVIEW] synapse: update to 1.50.1 paper42
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-18 17:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11343 bytes --]

From aac8a9efdcf930538e86f4b25676250a39bf5883 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From ae5266246193492c36d16c4283747f859e27b1e2 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From 4b5324b84d83a76ffd0043b2445376f29d09f937 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b03e995ae1b5
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+distfiles="${PYPI_SITE}/t/txredisapi/txredisapi-${version}.tar.gz"
+checksum=e6cc43f51e35d608abdca8f8c7d20e148fe1d82679f6e584baea613ebec812bb

From c11cdfab5c2c87dc762fb780b158760cc3da7715 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.1.

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      |  9 +-
 5 files changed, 7 insertions(+), 108 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..dee5e2d215df 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,21 +11,22 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=cc35b442a4356cf85b2bc4d140d2de0d3b92bcc9176adc1526a46798b3569c86
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
 do_check() {

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (2 preceding siblings ...)
  2022-01-20  0:25 ` paper42
@ 2022-01-20  0:25 ` paper42
  2022-01-20 14:51 ` TinfoilSubmarine
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20  0:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788247933

Comment:
Could you test if tests work when with python3-pytest?

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
  2022-01-18 17:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-01-20  0:25 ` paper42
  2022-01-20  0:25 ` paper42
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20  0:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788248166

Comment:
```suggestion
homepage="https://github.com/IlyaSkriblovsky/txredisapi"
changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/txredisapi/txredisapi-${version}.tar.gz"
```

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
  2022-01-18 17:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
  2022-01-20  0:25 ` [PR REVIEW] synapse: update to 1.50.1 paper42
@ 2022-01-20  0:25 ` paper42
  2022-01-20  0:25 ` paper42
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20  0:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788253744

Comment:
python3-matrix-common should be in $depends according to https://github.com/matrix-org/synapse/blob/84bfe47b01402cf037417f0026ed4077223ed259/synapse/python_dependencies.py#L91

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (3 preceding siblings ...)
  2022-01-20  0:25 ` paper42
@ 2022-01-20 14:51 ` TinfoilSubmarine
  2022-01-20 15:32 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 14:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788839640

Comment:
I'm confused what you're asking, I did include it in depends...

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (4 preceding siblings ...)
  2022-01-20 14:51 ` TinfoilSubmarine
@ 2022-01-20 15:32 ` TinfoilSubmarine
  2022-01-20 15:32 ` [PR REVIEW] " TinfoilSubmarine
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 15:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11764 bytes --]

From 89649ba24477c6c38ec71af4a41d15cd2e51e0eb Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From f55846f4ac0e098aebaf8a8ddc3a625cff936181 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From f3a7bc034b62dae82eee69c1502366dd4c5b0d4f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..55637485c251
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/t/txredisapi/txredisapi-${version}.tar.gz"
+checksum=e6cc43f51e35d608abdca8f8c7d20e148fe1d82679f6e584baea613ebec812bb

From cd906f2c203b3031d287a9d3fd8da11090e2f666 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.1.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..f39294e0f1dd 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.1
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=cc35b442a4356cf85b2bc4d140d2de0d3b92bcc9176adc1526a46798b3569c86
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (5 preceding siblings ...)
  2022-01-20 15:32 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-01-20 15:32 ` TinfoilSubmarine
  2022-01-20 17:36 ` paper42
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 15:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788881849

Comment:
Yep, indeed it does work with pytest, thanks.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (6 preceding siblings ...)
  2022-01-20 15:32 ` [PR REVIEW] " TinfoilSubmarine
@ 2022-01-20 17:36 ` paper42
  2022-01-20 17:38 ` paper42
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20 17:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788998201

Comment:
My bad, I thought this line was in checkdepends

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (7 preceding siblings ...)
  2022-01-20 17:36 ` paper42
@ 2022-01-20 17:38 ` paper42
  2022-01-20 17:50 ` TinfoilSubmarine
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20 17:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r788999826

Comment:
Then we should add python3-pytest to checkdepends. xbps-src runs tests with pytest when pytest is installed, otherwise it falls back to setup.py.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (8 preceding siblings ...)
  2022-01-20 17:38 ` paper42
@ 2022-01-20 17:50 ` TinfoilSubmarine
  2022-01-20 17:58 ` TinfoilSubmarine
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 17:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789008971

Comment:
Ah whoops, I thought you were asking about synapse here, which did work with pytest (unlike the last time I tried). python3-txredisapi does not work with pytest, I just checked.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (9 preceding siblings ...)
  2022-01-20 17:50 ` TinfoilSubmarine
@ 2022-01-20 17:58 ` TinfoilSubmarine
  2022-01-20 18:19 ` TinfoilSubmarine
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 17:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789014944

Comment:
Actually, I don't think any tests are included in the PyPi source. With distfiles directly from GitHub, tests do seem to work, I'll push an update for that in a little bit.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (10 preceding siblings ...)
  2022-01-20 17:58 ` TinfoilSubmarine
@ 2022-01-20 18:19 ` TinfoilSubmarine
  2022-01-20 18:40 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 18:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789037296

Comment:
It might be too complex to add, txredisapi needs a running instance of Redis in order to test. I tried the naive approach:
```
do_check() {
  redis-server &
  python3 -m pytest
  redis-cli flushall
}
```
but I'm getting a bunch of errors about type mismatches:
```
self = <tests.test_unix_connection.TestUnixConnectionMethods testMethod=test_UnixConnectionDB1>
result = <TestCaseFunction test_UnixConnectionDB1>

    def run(self, result):
        """
        Run the test case, storing the results in C{result}.

        First runs C{setUp} on self, then runs the test method (defined in the
        constructor), then runs C{tearDown}.  As with the standard library
        L{unittest.TestCase}, the return value of these methods is disregarded.
        In particular, returning a L{Deferred<twisted.internet.defer.Deferred>}
        has no special additional consequences.

        @param result: A L{TestResult} object.
        """
        log.msg("--> %s <--" % (self.id()))
        new_result = itrial.IReporter(result, None)
        if new_result is None:
            result = PyUnitResultAdapter(result)
        else:
            result = new_result
        result.startTest(self)
        if self.getSkip(): # don't run test methods that are marked as .skip
>           result.addSkip(self, self.getSkip())
E           TypeError: Skipped expected string as 'msg' parameter, got 'bool' instead.
E           Perhaps you meant to use a mark?

/usr/lib/python3.10/site-packages/twisted/trial/_synctest.py:1062: TypeError
```

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (11 preceding siblings ...)
  2022-01-20 18:19 ` TinfoilSubmarine
@ 2022-01-20 18:40 ` TinfoilSubmarine
  2022-01-20 18:40 ` [PR REVIEW] " paper42
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 18:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 12381 bytes --]

From 89649ba24477c6c38ec71af4a41d15cd2e51e0eb Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From f55846f4ac0e098aebaf8a8ddc3a625cff936181 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From eb3ac931a7b3fd0416407018ea24637eb5b3339b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 dump.rdb                            | Bin 0 -> 92 bytes
 srcpkgs/python3-txredisapi/template |  23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 dump.rdb
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/dump.rdb b/dump.rdb
new file mode 100644
index 0000000000000000000000000000000000000000..2ed67d8b0790f8886a982c0b6dfdc11f15e948ed
GIT binary patch
literal 92
zcmWG?b@2=~Ffg$E#aWb^l3A=<mRiJWre~mM`HKr8kd#?ce8AxsYjR0uZt5Y?)h`o&
sag-LPrs(FT<{ml`$;0rACow-wx1cCBF*hkE^#H?ve)EK$BiZ$p06YsMg8%>k

literal 0
HcmV?d00001

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b3db1c07c64c
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends redis python3-pytest python3-mock"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
+checksum=dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e
+
+do_check() {
+	redis-server &
+	python3 -m pytest --ignore tests/test_unix_connection.py
+	redis-cli flushall
+	redis-cli shutdown
+}

From f95ef8f7db987633b9d25a6f9e200a39f462b022 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.1.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..f39294e0f1dd 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.1
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=cc35b442a4356cf85b2bc4d140d2de0d3b92bcc9176adc1526a46798b3569c86
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (12 preceding siblings ...)
  2022-01-20 18:40 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-01-20 18:40 ` paper42
  2022-01-20 18:41 ` TinfoilSubmarine
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20 18:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789053082

Comment:
ok, thanks for investigating, in that case add with make_check=no with an appropriate comment

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (13 preceding siblings ...)
  2022-01-20 18:40 ` [PR REVIEW] " paper42
@ 2022-01-20 18:41 ` TinfoilSubmarine
  2022-01-20 18:44 ` paper42
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 18:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789053570

Comment:
Nevermind, I got it working by skipping those tests, since Redis doesn't have a Unix socket enabled by default.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (14 preceding siblings ...)
  2022-01-20 18:41 ` TinfoilSubmarine
@ 2022-01-20 18:44 ` paper42
  2022-01-20 18:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-20 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789056036

Comment:
I think you didn't want to commit dump.rdb

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (15 preceding siblings ...)
  2022-01-20 18:44 ` paper42
@ 2022-01-20 18:48 ` TinfoilSubmarine
  2022-01-20 18:51 ` [PR REVIEW] " TinfoilSubmarine
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 18:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11969 bytes --]

From 89649ba24477c6c38ec71af4a41d15cd2e51e0eb Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From f55846f4ac0e098aebaf8a8ddc3a625cff936181 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From 7b148da907859367558cb3e639f3fc03c560231c Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b3db1c07c64c
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends redis python3-pytest python3-mock"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
+checksum=dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e
+
+do_check() {
+	redis-server &
+	python3 -m pytest --ignore tests/test_unix_connection.py
+	redis-cli flushall
+	redis-cli shutdown
+}

From 77991cc74bd889b3d6684c5afdc75984c16a2b3f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.1.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..f39294e0f1dd 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.1
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=cc35b442a4356cf85b2bc4d140d2de0d3b92bcc9176adc1526a46798b3569c86
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (16 preceding siblings ...)
  2022-01-20 18:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-01-20 18:51 ` TinfoilSubmarine
  2022-01-24 15:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-20 18:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r789060707

Comment:
🤦‍♂️thanks, removed. I really need to stop relying on `git add -A`...

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (17 preceding siblings ...)
  2022-01-20 18:51 ` [PR REVIEW] " TinfoilSubmarine
@ 2022-01-24 15:43 ` TinfoilSubmarine
  2022-01-24 15:44 ` TinfoilSubmarine
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-24 15:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11969 bytes --]

From 3e29ea649832c0bc5c439a6f0ec1237f92574557 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From 276e67d85e0d89349707aad3f46b71385880bc0c Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From fcc74faf7df808542e9ba504f4bd8b258a71551f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b3db1c07c64c
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends redis python3-pytest python3-mock"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
+checksum=dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e
+
+do_check() {
+	redis-server &
+	python3 -m pytest --ignore tests/test_unix_connection.py
+	redis-cli flushall
+	redis-cli shutdown
+}

From 2e6c1ce093dd76c6e6273adf3a511205809f5f05 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.1.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..f2d50a1fdb97 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.2
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=0e8f52d8a14c5994addda13332c67c6cb8604d090be0dc8f459645f6d1fb48cb
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.1.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (18 preceding siblings ...)
  2022-01-24 15:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-01-24 15:44 ` TinfoilSubmarine
  2022-01-25 13:29 ` [PR PATCH] [Updated] synapse: update to 1.50.2 TinfoilSubmarine
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-24 15:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11969 bytes --]

From 3e29ea649832c0bc5c439a6f0ec1237f92574557 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From 276e67d85e0d89349707aad3f46b71385880bc0c Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From fcc74faf7df808542e9ba504f4bd8b258a71551f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b3db1c07c64c
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends redis python3-pytest python3-mock"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
+checksum=dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e
+
+do_check() {
+	redis-server &
+	python3 -m pytest --ignore tests/test_unix_connection.py
+	redis-cli flushall
+	redis-cli shutdown
+}

From b81867fb31402b55bb6cf4d7832d2cc6b96e69e6 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.50.2.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..f2d50a1fdb97 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.50.2
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=0e8f52d8a14c5994addda13332c67c6cb8604d090be0dc8f459645f6d1fb48cb
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.50.2.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (19 preceding siblings ...)
  2022-01-24 15:44 ` TinfoilSubmarine
@ 2022-01-25 13:29 ` TinfoilSubmarine
  2022-01-25 15:18 ` [PR REVIEW] synapse: update to 1.51.0 paper42
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-25 13:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.50.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 11969 bytes --]

From 22e1f53480dcfe65d207166611ca8fb90ec670b4 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From 65383703c675458d68e4857cefe9597d015a733f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From 358435d4af04e0ac4fa1e53cb93576a982e3c479 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..b3db1c07c64c
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends redis python3-pytest python3-mock"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
+checksum=dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e
+
+do_check() {
+	redis-server &
+	python3 -m pytest --ignore tests/test_unix_connection.py
+	redis-cli flushall
+	redis-cli shutdown
+}

From 651d9226ee0afabb64b32d3f9b368e0c1fd27e20 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.51.0.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..81c290f67e0f 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.51.0
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=acb587b9d4a92f15bc5f6e1f5b598ee1e1a7c3a298c923ff73ffd505de779353
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (20 preceding siblings ...)
  2022-01-25 13:29 ` [PR PATCH] [Updated] synapse: update to 1.50.2 TinfoilSubmarine
@ 2022-01-25 15:18 ` paper42
  2022-01-25 18:34 ` TinfoilSubmarine
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-25 15:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r791821062

Comment:
This can unfortunately have unintended consequences - redis-server doesn't get shut down when pytest fails. So don't start redis-server and disable the tests which need it.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (21 preceding siblings ...)
  2022-01-25 15:18 ` [PR REVIEW] synapse: update to 1.51.0 paper42
@ 2022-01-25 18:34 ` TinfoilSubmarine
  2022-01-25 18:38 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-25 18:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

New review comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r792010583

Comment:
Sure thing. I can either `--ignore ...` the tests which need it...
```
make_check_args="--ignore tests/test_basics.py
 --ignore tests/test_bitops.py
 --ignore tests/test_blocking.py
 --ignore tests/test_cancel.py
 --ignore tests/test_connection.py
 --ignore tests/test_connection_charset.py
 --ignore tests/test_hash_ops.py
 --ignore tests/test_hyperloglog.py
 --ignore tests/test_implicit_pipelining.py
 --ignore tests/test_list_ops.py
 --ignore tests/test_multibulk.py
 --ignore tests/test_number_conversions.py
 --ignore tests/test_operations.py
 --ignore tests/test_pipelining.py
 --ignore tests/test_publish.py
 --ignore tests/test_scan.py
 --ignore tests/test_scripting.py
 --ignore tests/test_sets.py
 --ignore tests/test_sort.py
 --ignore tests/test_sortedsets.py
 --ignore tests/test_subscriber.py
 --ignore tests/test_transactions.py
 --ignore tests/test_unix_connection.py
 --ignore tests/test_watch.py"
```
Or I can only run the ones that work without it:
```
make_check_target="tests/test_protocol.py tests/test_sentinel.py"
```
`make_check_target` approach is shorter, but I consider the `--ignore` approach to be more correct, so I'll use that unless you disagree.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Updated] synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (22 preceding siblings ...)
  2022-01-25 18:34 ` TinfoilSubmarine
@ 2022-01-25 18:38 ` TinfoilSubmarine
  2022-01-25 23:29 ` [PR REVIEW] " paper42
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-25 18:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages synapse
https://github.com/void-linux/void-packages/pull/35109

synapse: update to 1.51.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

A patch file from https://github.com/void-linux/void-packages/pull/35109.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-35109.patch --]
[-- Type: text/x-diff, Size: 12706 bytes --]

From 22e1f53480dcfe65d207166611ca8fb90ec670b4 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:42:17 -0500
Subject: [PATCH 1/4] python3-phonenumbers: update to 8.12.41.

---
 srcpkgs/python3-phonenumbers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template
index 332733bb9810..878740201726 100644
--- a/srcpkgs/python3-phonenumbers/template
+++ b/srcpkgs/python3-phonenumbers/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-phonenumbers'
 pkgname=python3-phonenumbers
-version=8.12.39
+version=8.12.41
 revision=1
 wrksrc="phonenumbers-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/daviddrysdale/python-phonenumbers"
 changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md"
 distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz"
-checksum=0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa
+checksum=f477da623a51cba084567d6a67b1882a8aaaf3e7beadad655f8613a8f887ac62

From 65383703c675458d68e4857cefe9597d015a733f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 9 Jan 2022 14:23:46 -0500
Subject: [PATCH 2/4] New package: python3-matrix-common-1.0.0

---
 srcpkgs/python3-matrix-common/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-matrix-common/template

diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template
new file mode 100644
index 000000000000..7ab481c67720
--- /dev/null
+++ b/srcpkgs/python3-matrix-common/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-matrix-common'
+pkgname=python3-matrix-common
+version=1.0.0
+revision=1
+wrksrc="matrix-python-common-${version}"
+build_style=python3-pep517
+make_install_target="matrix_common-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-attrs"
+short_desc="Common code for Synapse, Sydent and Sygnal"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/matrix-python-common"
+distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz"
+checksum=d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd
+make_check=no # requires unpackaged python3 module aiounittest

From 5011ce2504391cced689d1125eb4ff4fe289dff8 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 09:50:52 -0500
Subject: [PATCH 3/4] New package: python3-txredisapi-1.4.7

---
 srcpkgs/python3-txredisapi/template | 40 +++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/python3-txredisapi/template

diff --git a/srcpkgs/python3-txredisapi/template b/srcpkgs/python3-txredisapi/template
new file mode 100644
index 000000000000..0695daad1e5e
--- /dev/null
+++ b/srcpkgs/python3-txredisapi/template
@@ -0,0 +1,40 @@
+# Template file for 'python3-txredisapi'
+pkgname=python3-txredisapi
+version=1.4.7
+revision=1
+wrksrc="txredisapi-${version}"
+build_style=python3-module
+make_check_args="--ignore tests/test_basics.py
+ --ignore tests/test_bitops.py
+ --ignore tests/test_blocking.py
+ --ignore tests/test_cancel.py
+ --ignore tests/test_connection.py
+ --ignore tests/test_connection_charset.py
+ --ignore tests/test_hash_ops.py
+ --ignore tests/test_hyperloglog.py
+ --ignore tests/test_implicit_pipelining.py
+ --ignore tests/test_list_ops.py
+ --ignore tests/test_multibulk.py
+ --ignore tests/test_number_conversions.py
+ --ignore tests/test_operations.py
+ --ignore tests/test_pipelining.py
+ --ignore tests/test_publish.py
+ --ignore tests/test_scan.py
+ --ignore tests/test_scripting.py
+ --ignore tests/test_sets.py
+ --ignore tests/test_sort.py
+ --ignore tests/test_sortedsets.py
+ --ignore tests/test_subscriber.py
+ --ignore tests/test_transactions.py
+ --ignore tests/test_unix_connection.py
+ --ignore tests/test_watch.py"
+hostmakedepends="python3-setuptools"
+depends="python3-Twisted python3-six"
+checkdepends="$depends redis python3-pytest python3-mock"
+short_desc="Non-blocking redis client for python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/IlyaSkriblovsky/txredisapi"
+changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
+distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
+checksum=dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e

From 3494e94725fa087bc3d8fd1254ccdae74e689ebf Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 31 Dec 2021 09:45:03 +0100
Subject: [PATCH 4/4] synapse: update to 1.51.0.

- Switch to python3-pytest for running tests (@paper42)

- remove logging process. By default synapse only logs to stderr when
there is a problem with configuration.  For this we don't need a process
running that won't do anything for 99% of the time.  Logging to runsvdir
should be enough.
- make service configurable. That way one can set desired locale and path
to config file.
- remove patches to sample config.
- create directory for config.
Improvements contributed by David Flatz <david@upcs.at>.
---
 srcpkgs/synapse/files/synapse/log/run         |  1 -
 srcpkgs/synapse/files/synapse/run             |  4 +-
 srcpkgs/synapse/patches/sample_config.patch   | 88 -------------------
 .../synapse/patches/sample_log_config.patch   | 13 ---
 srcpkgs/synapse/template                      | 14 ++-
 5 files changed, 8 insertions(+), 112 deletions(-)
 delete mode 120000 srcpkgs/synapse/files/synapse/log/run
 delete mode 100644 srcpkgs/synapse/patches/sample_config.patch
 delete mode 100644 srcpkgs/synapse/patches/sample_log_config.patch

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
deleted file mode 120000
index 3a5b4a586051..000000000000
--- a/srcpkgs/synapse/files/synapse/log/run
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run
index 1ab3a5a8d54b..0778d6317328 100644
--- a/srcpkgs/synapse/files/synapse/run
+++ b/srcpkgs/synapse/files/synapse/run
@@ -1,4 +1,4 @@
 #!/bin/sh
+[ -r ./conf ] && . ./conf
 cd /var/lib/synapse
-exec 2>&1
-exec chpst -u synapse:synapse synapse_homeserver -c /etc/synapse/homeserver.yaml
+exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml}
diff --git a/srcpkgs/synapse/patches/sample_config.patch b/srcpkgs/synapse/patches/sample_config.patch
deleted file mode 100644
index 15954e0cd782..000000000000
--- a/srcpkgs/synapse/patches/sample_config.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
-index 6696ed5d1..f17661fff 100644
---- a/docs/sample_config.yaml
-+++ b/docs/sample_config.yaml
-@@ -68,11 +68,11 @@ modules:
- # lowercase and may contain an explicit port.
- # Examples: matrix.org, localhost:8080
- #
--server_name: "SERVERNAME"
-+#server_name: "SERVERNAME"
- 
- # When running as a daemon, the file to store the pid in
- #
--pid_file: DATADIR/homeserver.pid
-+#pid_file: /var/lib/synapse/homeserver.pid
- 
- # The absolute URL to the web client which /_matrix/client will redirect
- # to if 'webclient' is configured under the 'listeners' configuration.
-@@ -370,8 +370,8 @@ manhole_settings:
-   # If these are left unset, then hardcoded and non-secret keys are used,
-   # which could allow traffic to be intercepted if sent over a public network.
-   #
--  #ssh_priv_key_path: CONFDIR/id_rsa
--  #ssh_pub_key_path: CONFDIR/id_rsa.pub
-+  #ssh_priv_key_path: /etc/synapse/id_rsa
-+  #ssh_pub_key_path: /etc/synapse/id_rsa.pub
- 
- # Forward extremities can build up in a room due to networking delays between
- # homeservers. Once this happens in a large room, calculation of the state of
-@@ -614,11 +614,11 @@ retention:
- # any intermediate certificates (for instance, if using certbot, use
- # `fullchain.pem` as your certificate, not `cert.pem`).
- #
--#tls_certificate_path: "CONFDIR/SERVERNAME.tls.crt"
-+#tls_certificate_path: "/etc/synapse/SERVERNAME.tls.crt"
- 
- # PEM-encoded private key for TLS
- #
--#tls_private_key_path: "CONFDIR/SERVERNAME.tls.key"
-+#tls_private_key_path: "/etc/synapse/SERVERNAME.tls.key"
- 
- # Whether to verify TLS server certificates for outbound federation requests.
- #
-@@ -808,7 +808,7 @@ caches:
- database:
-   name: sqlite3
-   args:
--    database: DATADIR/homeserver.db
-+    database: /var/lib/synapse/homeserver.db
- 
- 
- ## Logging ##
-@@ -816,7 +816,7 @@ database:
- # A yaml python logging config file as described by
- # https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
- #
--log_config: "CONFDIR/SERVERNAME.log.config"
-+log_config: "/etc/synapse/log.yaml"
- 
- 
- ## Ratelimiting ##
-@@ -942,7 +942,7 @@ log_config: "CONFDIR/SERVERNAME.log.config"
- 
- # Directory where uploaded images and attachments are stored.
- #
--media_store_path: "DATADIR/media_store"
-+media_store_path: "/var/lib/synapse/media_store"
- 
- # Media storage providers allow media to be stored in different
- # locations.
-@@ -1531,7 +1531,7 @@ room_prejoin_state:
- 
- # Path to the signing key to sign messages with
- #
--signing_key_path: "CONFDIR/SERVERNAME.signing.key"
-+signing_key_path: "/etc/synapse/SERVERNAME.signing.key"
- 
- # The keys that the server used to sign messages with but won't use
- # to sign new messages.
-@@ -1710,7 +1710,7 @@ saml2_config:
-   # Instead of putting the config inline as above, you can specify a
-   # separate pysaml2 configuration file:
-   #
--  #config_path: "CONFDIR/sp_conf.py"
-+  #config_path: "/etc/synapse/sp_conf.py"
- 
-   # The lifetime of a SAML session. This defines how long a user has to
-   # complete the authentication process, if allow_unsolicited is unset.
diff --git a/srcpkgs/synapse/patches/sample_log_config.patch b/srcpkgs/synapse/patches/sample_log_config.patch
deleted file mode 100644
index e4196a446456..000000000000
--- a/srcpkgs/synapse/patches/sample_log_config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml
-index 2485ad25e..71465726b 100644
---- a/docs/sample_log_config.yaml
-+++ b/docs/sample_log_config.yaml
-@@ -19,7 +19,7 @@ handlers:
-     file:
-         class: logging.handlers.TimedRotatingFileHandler
-         formatter: precise
--        filename: /var/log/matrix-synapse/homeserver.log
-+        filename: /var/log/synapse/homeserver.log
-         when: midnight
-         backupCount: 3  # Does not include the current log file.
-         encoding: utf8
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index abdb2e314e62..81c290f67e0f 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,8 +1,9 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.49.2
+version=1.51.0
 revision=1
 build_style=python3-module
+make_check_target=tests
 hostmakedepends="python3-setuptools"
 depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-signedjson python3-pynacl python3-service_identity python3-Twisted
@@ -11,27 +12,24 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-phonenumbers python3-prometheus_client python3-attrs python3-netaddr
  python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
  python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
- python3-typing_extensions python3-ijson"
-checkdepends="$depends python3-parameterized python3-mock"
+ python3-typing_extensions python3-ijson python3-matrix-common"
+checkdepends="$depends python3-parameterized python3-pytest"
 short_desc="Matrix reference homeserver"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab
+checksum=acb587b9d4a92f15bc5f6e1f5b598ee1e1a7c3a298c923ff73ffd505de779353
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"
 
 make_dirs="
 	/var/lib/synapse 0700 synapse synapse
+	/etc/synapse 755 synapse synapse
 	/var/log/synapse 0755 synapse synapse"
 
-do_check() {
-	PYTHONPATH="." trial3 ${makejobs} tests
-}
-
 post_install() {
 	vsv synapse
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (23 preceding siblings ...)
  2022-01-25 18:38 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-01-25 23:29 ` paper42
  2022-01-25 23:30 ` paper42
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-25 23:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r792207364

Comment:
Why did you decide to remove the log service?

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR REVIEW] synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (24 preceding siblings ...)
  2022-01-25 23:29 ` [PR REVIEW] " paper42
@ 2022-01-25 23:30 ` paper42
  2022-01-26 13:10 ` TinfoilSubmarine
  2022-01-26 15:57 ` [PR PATCH] [Merged]: " paper42
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-25 23:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#discussion_r792207865

Comment:
It's ugly either way, I will leave it up to you since you are the maintainer :wink: 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (25 preceding siblings ...)
  2022-01-25 23:30 ` paper42
@ 2022-01-26 13:10 ` TinfoilSubmarine
  2022-01-26 15:57 ` [PR PATCH] [Merged]: " paper42
  27 siblings, 0 replies; 29+ messages in thread
From: TinfoilSubmarine @ 2022-01-26 13:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/35109#issuecomment-1022182694

Comment:
Synapse can be configured to log directly to syslog, and by default logs to file, so there really isn't any output to this except if there are configuration issues. @freshprince contributed this and I included his commit note in mine as well.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PR PATCH] [Merged]: synapse: update to 1.51.0.
  2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
                   ` (26 preceding siblings ...)
  2022-01-26 13:10 ` TinfoilSubmarine
@ 2022-01-26 15:57 ` paper42
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-01-26 15:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

There's a merged pull request on the void-packages repository

synapse: update to 1.51.0.
https://github.com/void-linux/void-packages/pull/35109

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Supersedes https://github.com/void-linux/void-packages/pull/34676. I packaged `python3-txredisapi` so that users wanting to setup Redis/workers can easily do so, even though it is not a dependency for the base installation of synapse. 

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2022-01-26 15:57 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 13:45 [PR PATCH] synapse: update to 1.50.0 TinfoilSubmarine
2022-01-18 17:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-20  0:25 ` [PR REVIEW] synapse: update to 1.50.1 paper42
2022-01-20  0:25 ` paper42
2022-01-20  0:25 ` paper42
2022-01-20 14:51 ` TinfoilSubmarine
2022-01-20 15:32 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-20 15:32 ` [PR REVIEW] " TinfoilSubmarine
2022-01-20 17:36 ` paper42
2022-01-20 17:38 ` paper42
2022-01-20 17:50 ` TinfoilSubmarine
2022-01-20 17:58 ` TinfoilSubmarine
2022-01-20 18:19 ` TinfoilSubmarine
2022-01-20 18:40 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-20 18:40 ` [PR REVIEW] " paper42
2022-01-20 18:41 ` TinfoilSubmarine
2022-01-20 18:44 ` paper42
2022-01-20 18:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-20 18:51 ` [PR REVIEW] " TinfoilSubmarine
2022-01-24 15:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-24 15:44 ` TinfoilSubmarine
2022-01-25 13:29 ` [PR PATCH] [Updated] synapse: update to 1.50.2 TinfoilSubmarine
2022-01-25 15:18 ` [PR REVIEW] synapse: update to 1.51.0 paper42
2022-01-25 18:34 ` TinfoilSubmarine
2022-01-25 18:38 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-25 23:29 ` [PR REVIEW] " paper42
2022-01-25 23:30 ` paper42
2022-01-26 13:10 ` TinfoilSubmarine
2022-01-26 15:57 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).