From f5442de7c9f9ed850b7c1283d95f260062a6ce40 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Tue, 4 Apr 2023 14:22:19 +0200 Subject: [PATCH 1/3] Upgrade to v0.12 --- conf/app.src | 4 ++-- conf/systemd.service | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/app.src b/conf/app.src index f2c7c0d..e2c182d 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.11.1 -SOURCE_SUM=caf5df07a1dce5dbaa3133c939a8622893529d2f5dfd6b2a14ec97f7a4ec00f4 +SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.12.0 +SOURCE_SUM=a50fba39dbbfe4de58674e448e7d1149359759f526bd366c3976547d9744953c SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/systemd.service b/conf/systemd.service index c9ab58e..b8a6b41 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStart=__FINALPATH__/bin/dendrite-monolith-server --tls-cert=/etc/yunohost/certs/__DOMAIN__/crt.pem --tls-key=/etc/yunohost/certs/__DOMAIN__/key.pem --config=dendrite.yaml --http-bind-address=:__PORT__ --https-bind-address=:__TLS_PORT__ __REALLY_ENABLE_OPEN_REGISTRATION__ +ExecStart=__FINALPATH__/bin/dendrite --tls-cert=/etc/yunohost/certs/__DOMAIN__/crt.pem --tls-key=/etc/yunohost/certs/__DOMAIN__/key.pem --config=dendrite.yaml --http-bind-address=:__PORT__ --https-bind-address=:__TLS_PORT__ __REALLY_ENABLE_OPEN_REGISTRATION__ StandardOutput=journal StandardError=inherit LimitNOFILE=65535 diff --git a/scripts/install b/scripts/install index c5e3d25..fc0b274 100644 --- a/scripts/install +++ b/scripts/install @@ -146,7 +146,7 @@ pushd "$final_path/build" ynh_use_go export GOPATH="$final_path/build/go" export GOCACHE="$final_path/build/.cache" - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 + CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys > /dev/null 2>&1 popd diff --git a/scripts/upgrade b/scripts/upgrade index 4715f07..022cbf0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -168,7 +168,7 @@ then ynh_use_go export GOPATH="$final_path/build/go" export GOCACHE="$final_path/build/.cache" - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 + CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys > /dev/null 2>&1 popd From 81e2d3d23150ae50142cda5ab2738322477bfc97 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 14 Mar 2023 06:25:21 +0000 Subject: [PATCH 2/3] Upgrade to v0.12.0 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index bda3f27..e36662b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Matrix homeserver of second generation", "fr": "Serveur Matrix de seconde génération" }, - "version": "0.11.1~ynh2", + "version": "0.12.0~ynh1", "url": "https://matrix.org/", "upstream": { "license": "Apache-2.0", From 60a63bf2b29ea45b5c800a6167b7279790eddb08 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 14 Mar 2023 06:25:27 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52b4576..cbe74fa 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Shipped version:** 0.11.1~ynh2 +**Shipped version:** 0.12.0~ynh1 ## Disclaimers / important information :warning: The upstream app is still in beta. Tread carefully. diff --git a/README_fr.md b/README_fr.md index 8bfad16..f2b43c3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Version incluse :** 0.11.1~ynh2 +**Version incluse :** 0.12.0~ynh1 ## Avertissements / informations importantes :warning: The upstream app is still in beta. Tread carefully.